PluggableDatabaseSnapshot¶
-
class
oci.database.models.
PluggableDatabaseSnapshot
(**kwargs)¶ Bases:
object
Details of the Pluggable Database Snapshot.
Attributes
LIFECYCLE_STATE_AVAILABLE
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. LIFECYCLE_STATE_TERMINATED
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. LIFECYCLE_STATE_TERMINATING
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. cluster_id
Gets the cluster_id of this PluggableDatabaseSnapshot. compartment_id
Gets the compartment_id of this PluggableDatabaseSnapshot. defined_tags
Gets the defined_tags of this PluggableDatabaseSnapshot. freeform_tags
Gets the freeform_tags of this PluggableDatabaseSnapshot. id
[Required] Gets the id of this PluggableDatabaseSnapshot. lifecycle_details
Gets the lifecycle_details of this PluggableDatabaseSnapshot. lifecycle_state
Gets the lifecycle_state of this PluggableDatabaseSnapshot. name
[Required] Gets the name of this PluggableDatabaseSnapshot. pluggable_database_id
[Required] Gets the pluggable_database_id of this PluggableDatabaseSnapshot. system_tags
Gets the system_tags of this PluggableDatabaseSnapshot. time_created
Gets the time_created of this PluggableDatabaseSnapshot. Methods
__init__
(**kwargs)Initializes a new PluggableDatabaseSnapshot object with values from keyword arguments. -
LIFECYCLE_STATE_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. This constant has a value of “AVAILABLE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_TERMINATED
= 'TERMINATED'¶ A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. This constant has a value of “TERMINATED”
-
LIFECYCLE_STATE_TERMINATING
= 'TERMINATING'¶ A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot. This constant has a value of “TERMINATING”
-
__init__
(**kwargs)¶ Initializes a new PluggableDatabaseSnapshot 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 PluggableDatabaseSnapshot.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this PluggableDatabaseSnapshot. Allowed values for this property are: “CREATING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- name (str) – The value to assign to the name property of this PluggableDatabaseSnapshot.
- pluggable_database_id (str) – The value to assign to the pluggable_database_id property of this PluggableDatabaseSnapshot.
- time_created (datetime) – The value to assign to the time_created property of this PluggableDatabaseSnapshot.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this PluggableDatabaseSnapshot.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PluggableDatabaseSnapshot.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PluggableDatabaseSnapshot.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this PluggableDatabaseSnapshot.
- compartment_id (str) – The value to assign to the compartment_id property of this PluggableDatabaseSnapshot.
- cluster_id (str) – The value to assign to the cluster_id property of this PluggableDatabaseSnapshot.
-
cluster_id
¶ Gets the cluster_id of this PluggableDatabaseSnapshot. The OCID of the VM cluster.
Returns: The cluster_id of this PluggableDatabaseSnapshot. Return type: str
-
compartment_id
¶ Gets the compartment_id of this PluggableDatabaseSnapshot. The OCID of the compartment.
Returns: The compartment_id of this PluggableDatabaseSnapshot. Return type: str
Gets the defined_tags of this PluggableDatabaseSnapshot. 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 PluggableDatabaseSnapshot. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this PluggableDatabaseSnapshot. 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 PluggableDatabaseSnapshot. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this PluggableDatabaseSnapshot. The OCID of the Exadata Pluggable Database Snapshot.
Returns: The id of this PluggableDatabaseSnapshot. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this PluggableDatabaseSnapshot. Additional information about the current lifecycle state of the Exadata Pluggable Database Snapshot.
Returns: The lifecycle_details of this PluggableDatabaseSnapshot. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this PluggableDatabaseSnapshot. The current state of the Exadata Pluggable Database Snapshot.
Allowed values for this property are: “CREATING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this PluggableDatabaseSnapshot. Return type: str
-
name
¶ [Required] Gets the name of this PluggableDatabaseSnapshot. The user-friendly name for the Database Snapshot. The name should be unique.
Returns: The name of this PluggableDatabaseSnapshot. Return type: str
-
pluggable_database_id
¶ [Required] Gets the pluggable_database_id of this PluggableDatabaseSnapshot. The OCID of the Exadata Pluggable Database.
Returns: The pluggable_database_id of this PluggableDatabaseSnapshot. Return type: str
Gets the system_tags of this PluggableDatabaseSnapshot. 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 PluggableDatabaseSnapshot. Return type: dict(str, dict(str, object))
-
time_created
¶ Gets the time_created of this PluggableDatabaseSnapshot. The date and time that the Exadata Pluggable Database Snapshot was created, as expressed in RFC 3339 format. For example: 2023-06-27T21:10:29Z
Returns: The time_created of this PluggableDatabaseSnapshot. Return type: datetime
-