DbmResource¶
- 
class oci.database_management.models.DbmResource(**kwargs)¶
- Bases: - object- The base Exadata resource. - Attributes - LIFECYCLE_STATE_ACTIVE- A constant which can be used with the lifecycle_state property of a DbmResource. - LIFECYCLE_STATE_CREATING- A constant which can be used with the lifecycle_state property of a DbmResource. - LIFECYCLE_STATE_DELETED- A constant which can be used with the lifecycle_state property of a DbmResource. - LIFECYCLE_STATE_DELETING- A constant which can be used with the lifecycle_state property of a DbmResource. - LIFECYCLE_STATE_FAILED- A constant which can be used with the lifecycle_state property of a DbmResource. - LIFECYCLE_STATE_INACTIVE- A constant which can be used with the lifecycle_state property of a DbmResource. - LIFECYCLE_STATE_UPDATING- A constant which can be used with the lifecycle_state property of a DbmResource. - RESOURCE_TYPE_DATABASE_SUMMARY- A constant which can be used with the resource_type property of a DbmResource. - RESOURCE_TYPE_DATABASE_SYSTEM_SUMMARY- A constant which can be used with the resource_type property of a DbmResource. - RESOURCE_TYPE_INFRASTRUCTURE- A constant which can be used with the resource_type property of a DbmResource. - RESOURCE_TYPE_INFRASTRUCTURE_SUMMARY- A constant which can be used with the resource_type property of a DbmResource. - RESOURCE_TYPE_STORAGE_CONNECTOR- A constant which can be used with the resource_type property of a DbmResource. - RESOURCE_TYPE_STORAGE_CONNECTOR_SUMMARY- A constant which can be used with the resource_type property of a DbmResource. - RESOURCE_TYPE_STORAGE_GRID- A constant which can be used with the resource_type property of a DbmResource. - RESOURCE_TYPE_STORAGE_GRID_SUMMARY- A constant which can be used with the resource_type property of a DbmResource. - RESOURCE_TYPE_STORAGE_SERVER- A constant which can be used with the resource_type property of a DbmResource. - RESOURCE_TYPE_STORAGE_SERVER_SUMMARY- A constant which can be used with the resource_type property of a DbmResource. - additional_details- Gets the additional_details of this DbmResource. - display_name- [Required] Gets the display_name of this DbmResource. - id- [Required] Gets the id of this DbmResource. - internal_id- Gets the internal_id of this DbmResource. - lifecycle_details- Gets the lifecycle_details of this DbmResource. - lifecycle_state- Gets the lifecycle_state of this DbmResource. - resource_type- [Required] Gets the resource_type of this DbmResource. - status- Gets the status of this DbmResource. - time_created- Gets the time_created of this DbmResource. - time_updated- Gets the time_updated of this DbmResource. - version- Gets the version of this DbmResource. - Methods - __init__(**kwargs)- Initializes a new DbmResource object with values from keyword arguments. - get_subtype(object_dictionary)- Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. - 
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
- A constant which can be used with the lifecycle_state property of a DbmResource. This constant has a value of “ACTIVE” 
 - 
LIFECYCLE_STATE_CREATING= 'CREATING'¶
- A constant which can be used with the lifecycle_state property of a DbmResource. This constant has a value of “CREATING” 
 - 
LIFECYCLE_STATE_DELETED= 'DELETED'¶
- A constant which can be used with the lifecycle_state property of a DbmResource. This constant has a value of “DELETED” 
 - 
LIFECYCLE_STATE_DELETING= 'DELETING'¶
- A constant which can be used with the lifecycle_state property of a DbmResource. This constant has a value of “DELETING” 
 - 
LIFECYCLE_STATE_FAILED= 'FAILED'¶
- A constant which can be used with the lifecycle_state property of a DbmResource. This constant has a value of “FAILED” 
 - 
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶
- A constant which can be used with the lifecycle_state property of a DbmResource. This constant has a value of “INACTIVE” 
 - 
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶
- A constant which can be used with the lifecycle_state property of a DbmResource. This constant has a value of “UPDATING” 
 - 
RESOURCE_TYPE_DATABASE_SUMMARY= 'DATABASE_SUMMARY'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “DATABASE_SUMMARY” 
 - 
RESOURCE_TYPE_DATABASE_SYSTEM_SUMMARY= 'DATABASE_SYSTEM_SUMMARY'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “DATABASE_SYSTEM_SUMMARY” 
 - 
RESOURCE_TYPE_INFRASTRUCTURE= 'INFRASTRUCTURE'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “INFRASTRUCTURE” 
 - 
RESOURCE_TYPE_INFRASTRUCTURE_SUMMARY= 'INFRASTRUCTURE_SUMMARY'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “INFRASTRUCTURE_SUMMARY” 
 - 
RESOURCE_TYPE_STORAGE_CONNECTOR= 'STORAGE_CONNECTOR'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “STORAGE_CONNECTOR” 
 - 
RESOURCE_TYPE_STORAGE_CONNECTOR_SUMMARY= 'STORAGE_CONNECTOR_SUMMARY'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “STORAGE_CONNECTOR_SUMMARY” 
 - 
RESOURCE_TYPE_STORAGE_GRID= 'STORAGE_GRID'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “STORAGE_GRID” 
 - 
RESOURCE_TYPE_STORAGE_GRID_SUMMARY= 'STORAGE_GRID_SUMMARY'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “STORAGE_GRID_SUMMARY” 
 - 
RESOURCE_TYPE_STORAGE_SERVER= 'STORAGE_SERVER'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “STORAGE_SERVER” 
 - 
RESOURCE_TYPE_STORAGE_SERVER_SUMMARY= 'STORAGE_SERVER_SUMMARY'¶
- A constant which can be used with the resource_type property of a DbmResource. This constant has a value of “STORAGE_SERVER_SUMMARY” 
 - 
__init__(**kwargs)¶
- Initializes a new DbmResource object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: - ExternalExadataStorageConnector
- ExternalExadataStorageGridSummary
- ExternalExadataStorageServer
- ExternalExadataInfrastructure
- ExternalExadataStorageGrid
- ExternalExadataInfrastructureSummary
- ExternalExadataDatabaseSystemSummary
- ExternalExadataStorageConnectorSummary
- ExternalExadataStorageServerSummary
 - The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - id (str) – The value to assign to the id property of this DbmResource.
- display_name (str) – The value to assign to the display_name property of this DbmResource.
- version (str) – The value to assign to the version property of this DbmResource.
- internal_id (str) – The value to assign to the internal_id property of this DbmResource.
- status (str) – The value to assign to the status property of this DbmResource.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbmResource. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this DbmResource.
- time_updated (datetime) – The value to assign to the time_updated property of this DbmResource.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this DbmResource.
- additional_details (dict(str, str)) – The value to assign to the additional_details property of this DbmResource.
- resource_type (str) – The value to assign to the resource_type property of this DbmResource. Allowed values for this property are: “INFRASTRUCTURE_SUMMARY”, “INFRASTRUCTURE”, “STORAGE_SERVER_SUMMARY”, “STORAGE_SERVER”, “STORAGE_GRID_SUMMARY”, “STORAGE_GRID”, “STORAGE_CONNECTOR_SUMMARY”, “STORAGE_CONNECTOR”, “DATABASE_SYSTEM_SUMMARY”, “DATABASE_SUMMARY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
 
 - 
additional_details¶
- Gets the additional_details of this DbmResource. The additional details of the resource defined in {“key”: “value”} format. Example: {“bar-key”: “value”} - Returns: - The additional_details of this DbmResource. - Return type: - dict(str, str) 
 - 
display_name¶
- [Required] Gets the display_name of this DbmResource. The name of the Exadata resource. English letters, numbers, “-”, “_” and “.” only. - Returns: - The display_name of this DbmResource. - Return type: - str 
 - 
static get_subtype(object_dictionary)¶
- Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. 
 - 
id¶
- [Required] Gets the id of this DbmResource. The OCID of the Exadata resource. - Returns: - The id of this DbmResource. - Return type: - str 
 - 
internal_id¶
- Gets the internal_id of this DbmResource. The internal ID of the Exadata resource. - Returns: - The internal_id of this DbmResource. - Return type: - str 
 - 
lifecycle_details¶
- Gets the lifecycle_details of this DbmResource. The details of the lifecycle state of the Exadata resource. - Returns: - The lifecycle_details of this DbmResource. - Return type: - str 
 - 
lifecycle_state¶
- Gets the lifecycle_state of this DbmResource. The current lifecycle state of the database resource. - Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The lifecycle_state of this DbmResource. - Return type: - str 
 - 
resource_type¶
- [Required] Gets the resource_type of this DbmResource. The type of Exadata resource. - Allowed values for this property are: “INFRASTRUCTURE_SUMMARY”, “INFRASTRUCTURE”, “STORAGE_SERVER_SUMMARY”, “STORAGE_SERVER”, “STORAGE_GRID_SUMMARY”, “STORAGE_GRID”, “STORAGE_CONNECTOR_SUMMARY”, “STORAGE_CONNECTOR”, “DATABASE_SYSTEM_SUMMARY”, “DATABASE_SUMMARY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The resource_type of this DbmResource. - Return type: - str 
 - 
status¶
- Gets the status of this DbmResource. The status of the Exadata resource. - Returns: - The status of this DbmResource. - Return type: - str 
 - 
time_created¶
- Gets the time_created of this DbmResource. The timestamp of the creation of the Exadata resource. - Returns: - The time_created of this DbmResource. - Return type: - datetime 
 - 
time_updated¶
- Gets the time_updated of this DbmResource. The timestamp of the last update of the Exadata resource. - Returns: - The time_updated of this DbmResource. - Return type: - datetime 
 - 
version¶
- Gets the version of this DbmResource. The version of the Exadata resource. - Returns: - The version of this DbmResource. - Return type: - str 
 
-