PluggableDatabaseSnapshot¶
- class oci.database.models.PluggableDatabaseSnapshot(**kwargs)¶
Bases:
objectDetails of the Pluggable Database Snapshot.
Attributes:
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot.
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot.
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot.
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot.
A constant which can be used with the lifecycle_state property of a PluggableDatabaseSnapshot.
Gets the cluster_id of this PluggableDatabaseSnapshot.
Gets the compartment_id of this PluggableDatabaseSnapshot.
Gets the defined_tags of this PluggableDatabaseSnapshot.
Gets the freeform_tags of this PluggableDatabaseSnapshot.
[Required] Gets the id of this PluggableDatabaseSnapshot.
Gets the lifecycle_details of this PluggableDatabaseSnapshot.
Gets the lifecycle_state of this PluggableDatabaseSnapshot.
[Required] Gets the name of this PluggableDatabaseSnapshot.
[Required] Gets the pluggable_database_id of this PluggableDatabaseSnapshot.
Gets the system_tags of this PluggableDatabaseSnapshot.
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.
- property 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
- property compartment_id¶
Gets the compartment_id of this PluggableDatabaseSnapshot. The OCID of the compartment.
- Returns
The compartment_id of this PluggableDatabaseSnapshot.
- Return type
str
- property defined_tags¶
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))
- property freeform_tags¶
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)
- property 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
- property 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
- property 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
- property 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
- property 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
- property system_tags¶
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))
- property 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