DbnodeSnapshot

class oci.database.models.DbnodeSnapshot(**kwargs)

Bases: object

Details of the Database Node Snapshot.

Attributes

LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a DbnodeSnapshot.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a DbnodeSnapshot.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DbnodeSnapshot.
LIFECYCLE_STATE_MOUNTED A constant which can be used with the lifecycle_state property of a DbnodeSnapshot.
LIFECYCLE_STATE_MOUNTING A constant which can be used with the lifecycle_state property of a DbnodeSnapshot.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a DbnodeSnapshot.
LIFECYCLE_STATE_TERMINATING A constant which can be used with the lifecycle_state property of a DbnodeSnapshot.
LIFECYCLE_STATE_UNMOUNTING A constant which can be used with the lifecycle_state property of a DbnodeSnapshot.
cluster_id Gets the cluster_id of this DbnodeSnapshot.
compartment_id Gets the compartment_id of this DbnodeSnapshot.
defined_tags Gets the defined_tags of this DbnodeSnapshot.
freeform_tags Gets the freeform_tags of this DbnodeSnapshot.
id [Required] Gets the id of this DbnodeSnapshot.
lifecycle_details Gets the lifecycle_details of this DbnodeSnapshot.
lifecycle_state Gets the lifecycle_state of this DbnodeSnapshot.
mount_points Gets the mount_points of this DbnodeSnapshot.
name [Required] Gets the name of this DbnodeSnapshot.
source_dbnode_id [Required] Gets the source_dbnode_id of this DbnodeSnapshot.
system_tags Gets the system_tags of this DbnodeSnapshot.
time_created Gets the time_created of this DbnodeSnapshot.
volumes Gets the volumes of this DbnodeSnapshot.

Methods

__init__(**kwargs) Initializes a new DbnodeSnapshot object with values from keyword arguments.
LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_state property of a DbnodeSnapshot. This constant has a value of “AVAILABLE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a DbnodeSnapshot. This constant has a value of “CREATING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DbnodeSnapshot. This constant has a value of “FAILED”

LIFECYCLE_STATE_MOUNTED = 'MOUNTED'

A constant which can be used with the lifecycle_state property of a DbnodeSnapshot. This constant has a value of “MOUNTED”

LIFECYCLE_STATE_MOUNTING = 'MOUNTING'

A constant which can be used with the lifecycle_state property of a DbnodeSnapshot. This constant has a value of “MOUNTING”

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

A constant which can be used with the lifecycle_state property of a DbnodeSnapshot. This constant has a value of “TERMINATED”

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

A constant which can be used with the lifecycle_state property of a DbnodeSnapshot. This constant has a value of “TERMINATING”

LIFECYCLE_STATE_UNMOUNTING = 'UNMOUNTING'

A constant which can be used with the lifecycle_state property of a DbnodeSnapshot. This constant has a value of “UNMOUNTING”

__init__(**kwargs)

Initializes a new DbnodeSnapshot 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 DbnodeSnapshot.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbnodeSnapshot. Allowed values for this property are: “CREATING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”, “FAILED”, “MOUNTED”, “MOUNTING”, “UNMOUNTING”, ‘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 DbnodeSnapshot.
  • source_dbnode_id (str) – The value to assign to the source_dbnode_id property of this DbnodeSnapshot.
  • time_created (datetime) – The value to assign to the time_created property of this DbnodeSnapshot.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this DbnodeSnapshot.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DbnodeSnapshot.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DbnodeSnapshot.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DbnodeSnapshot.
  • compartment_id (str) – The value to assign to the compartment_id property of this DbnodeSnapshot.
  • cluster_id (str) – The value to assign to the cluster_id property of this DbnodeSnapshot.
  • mount_points (list[oci.database.models.MountPointDetails]) – The value to assign to the mount_points property of this DbnodeSnapshot.
  • volumes (list[oci.database.models.VolumeDetails]) – The value to assign to the volumes property of this DbnodeSnapshot.
cluster_id

Gets the cluster_id of this DbnodeSnapshot. The OCID of the VM cluster.

Returns:The cluster_id of this DbnodeSnapshot.
Return type:str
compartment_id

Gets the compartment_id of this DbnodeSnapshot. The OCID of the compartment.

Returns:The compartment_id of this DbnodeSnapshot.
Return type:str
defined_tags

Gets the defined_tags of this DbnodeSnapshot. 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 DbnodeSnapshot.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this DbnodeSnapshot. 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 DbnodeSnapshot.
Return type:dict(str, str)
id

[Required] Gets the id of this DbnodeSnapshot. The OCID of the Exadata Database Node Snapshot.

Returns:The id of this DbnodeSnapshot.
Return type:str
lifecycle_details

Gets the lifecycle_details of this DbnodeSnapshot. Additional information about the current lifecycle state of the Exadata Database Node Snapshot.

Returns:The lifecycle_details of this DbnodeSnapshot.
Return type:str
lifecycle_state

Gets the lifecycle_state of this DbnodeSnapshot. The current state of the Exadata Database Node Snapshot.

Allowed values for this property are: “CREATING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”, “FAILED”, “MOUNTED”, “MOUNTING”, “UNMOUNTING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this DbnodeSnapshot.
Return type:str
mount_points

Gets the mount_points of this DbnodeSnapshot. Details of the mount points

Returns:The mount_points of this DbnodeSnapshot.
Return type:list[oci.database.models.MountPointDetails]
name

[Required] Gets the name of this DbnodeSnapshot. The user-friendly name for the Database Node Snapshot. The name should be unique.

Returns:The name of this DbnodeSnapshot.
Return type:str
source_dbnode_id

[Required] Gets the source_dbnode_id of this DbnodeSnapshot. The OCID of the Exadata Database Node.

Returns:The source_dbnode_id of this DbnodeSnapshot.
Return type:str
system_tags

Gets the system_tags of this DbnodeSnapshot. 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 DbnodeSnapshot.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this DbnodeSnapshot. The date and time that the Exadata Database Node Snapshot was created.

Returns:The time_created of this DbnodeSnapshot.
Return type:datetime
volumes

Gets the volumes of this DbnodeSnapshot. Details of the volumes

Returns:The volumes of this DbnodeSnapshot.
Return type:list[oci.database.models.VolumeDetails]