DatabaseSnapshotSummary¶
-
class
oci.database.models.DatabaseSnapshotSummary(**kwargs)¶ Bases:
objectDetails of the Exadata Database Snapshot.
Methods
__init__(**kwargs)Initializes a new DatabaseSnapshotSummary object with values from keyword arguments. Attributes
cluster_idGets the cluster_id of this DatabaseSnapshotSummary. compartment_idGets the compartment_id of this DatabaseSnapshotSummary. database_id[Required] Gets the database_id of this DatabaseSnapshotSummary. defined_tagsGets the defined_tags of this DatabaseSnapshotSummary. freeform_tagsGets the freeform_tags of this DatabaseSnapshotSummary. id[Required] Gets the id of this DatabaseSnapshotSummary. lifecycle_detailsGets the lifecycle_details of this DatabaseSnapshotSummary. lifecycle_stateGets the lifecycle_state of this DatabaseSnapshotSummary. name[Required] Gets the name of this DatabaseSnapshotSummary. system_tagsGets the system_tags of this DatabaseSnapshotSummary. time_createdGets the time_created of this DatabaseSnapshotSummary. -
__init__(**kwargs)¶ Initializes a new DatabaseSnapshotSummary object with values from keyword arguments. 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 DatabaseSnapshotSummary.
- database_id (str) – The value to assign to the database_id property of this DatabaseSnapshotSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DatabaseSnapshotSummary.
- name (str) – The value to assign to the name property of this DatabaseSnapshotSummary.
- time_created (datetime) – The value to assign to the time_created property of this DatabaseSnapshotSummary.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this DatabaseSnapshotSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DatabaseSnapshotSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DatabaseSnapshotSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DatabaseSnapshotSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this DatabaseSnapshotSummary.
- cluster_id (str) – The value to assign to the cluster_id property of this DatabaseSnapshotSummary.
-
cluster_id¶ Gets the cluster_id of this DatabaseSnapshotSummary. The OCID of the VM cluster.
Returns: The cluster_id of this DatabaseSnapshotSummary. Return type: str
-
compartment_id¶ Gets the compartment_id of this DatabaseSnapshotSummary. The OCID of the compartment.
Returns: The compartment_id of this DatabaseSnapshotSummary. Return type: str
-
database_id¶ [Required] Gets the database_id of this DatabaseSnapshotSummary. The OCID of the Exadata Database.
Returns: The database_id of this DatabaseSnapshotSummary. Return type: str
Gets the defined_tags of this DatabaseSnapshotSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Returns: The defined_tags of this DatabaseSnapshotSummary. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this DatabaseSnapshotSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this DatabaseSnapshotSummary. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this DatabaseSnapshotSummary. The OCID of the Exadata Database Snapshot.
Returns: The id of this DatabaseSnapshotSummary. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this DatabaseSnapshotSummary. Additional information about the current lifecycle state of the Exadata Database Snapshot.
Returns: The lifecycle_details of this DatabaseSnapshotSummary. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this DatabaseSnapshotSummary. The current state of the Exadata Database Snapshot.
Returns: The lifecycle_state of this DatabaseSnapshotSummary. Return type: str
-
name¶ [Required] Gets the name of this DatabaseSnapshotSummary. The user-friendly name for the Database Snapshot. The name should be unique.
Returns: The name of this DatabaseSnapshotSummary. Return type: str
Gets the system_tags of this DatabaseSnapshotSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Returns: The system_tags of this DatabaseSnapshotSummary. Return type: dict(str, dict(str, object))
-
time_created¶ Gets the time_created of this DatabaseSnapshotSummary. The date and time that the Exadata Database Snapshot was created, as expressed in RFC 3339 format. For example: 2023-06-27T21:10:29Z
Returns: The time_created of this DatabaseSnapshotSummary. Return type: datetime
-