AutonomousContainerDatabase

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

Bases: object

AutonomousContainerDatabase model.

LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "AVAILABLE"

LIFECYCLE_STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "BACKUP_IN_PROGRESS"

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "FAILED"

LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "MAINTENANCE_IN_PROGRESS"

LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "PROVISIONING"

LIFECYCLE_STATE_RESTARTING = 'RESTARTING'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "RESTARTING"

LIFECYCLE_STATE_RESTORE_FAILED = 'RESTORE_FAILED'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "RESTORE_FAILED"

LIFECYCLE_STATE_RESTORING = 'RESTORING'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "RESTORING"

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "TERMINATED"

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "TERMINATING"

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase. This constant has a value of "UPDATING"

PATCH_MODEL_RELEASE_UPDATES = 'RELEASE_UPDATES'

A constant which can be used with the patch_model property of a AutonomousContainerDatabase. This constant has a value of "RELEASE_UPDATES"

PATCH_MODEL_RELEASE_UPDATE_REVISIONS = 'RELEASE_UPDATE_REVISIONS'

A constant which can be used with the patch_model property of a AutonomousContainerDatabase. This constant has a value of "RELEASE_UPDATE_REVISIONS"

SERVICE_LEVEL_AGREEMENT_TYPE_MISSION_CRITICAL = 'MISSION_CRITICAL'

A constant which can be used with the service_level_agreement_type property of a AutonomousContainerDatabase. This constant has a value of "MISSION_CRITICAL"

SERVICE_LEVEL_AGREEMENT_TYPE_STANDARD = 'STANDARD'

A constant which can be used with the service_level_agreement_type property of a AutonomousContainerDatabase. This constant has a value of "STANDARD"

__init__(**kwargs)

Initializes a new AutonomousContainerDatabase 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 AutonomousContainerDatabase.
  • compartment_id (str) -- The value to assign to the compartment_id property of this AutonomousContainerDatabase.
  • display_name (str) -- The value to assign to the display_name property of this AutonomousContainerDatabase.
  • service_level_agreement_type (str) -- The value to assign to the service_level_agreement_type property of this AutonomousContainerDatabase. Allowed values for this property are: "STANDARD", "MISSION_CRITICAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • autonomous_exadata_infrastructure_id (str) -- The value to assign to the autonomous_exadata_infrastructure_id property of this AutonomousContainerDatabase.
  • lifecycle_state (str) -- The value to assign to the lifecycle_state property of this AutonomousContainerDatabase. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "BACKUP_IN_PROGRESS", "RESTORING", "RESTORE_FAILED", "RESTARTING", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • lifecycle_details (str) -- The value to assign to the lifecycle_details property of this AutonomousContainerDatabase.
  • time_created (datetime) -- The value to assign to the time_created property of this AutonomousContainerDatabase.
  • patch_model (str) -- The value to assign to the patch_model property of this AutonomousContainerDatabase. Allowed values for this property are: "RELEASE_UPDATES", "RELEASE_UPDATE_REVISIONS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • last_maintenance_run_id (str) -- The value to assign to the last_maintenance_run_id property of this AutonomousContainerDatabase.
  • next_maintenance_run_id (str) -- The value to assign to the next_maintenance_run_id property of this AutonomousContainerDatabase.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this AutonomousContainerDatabase.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this AutonomousContainerDatabase.
  • availability_domain (str) -- The value to assign to the availability_domain property of this AutonomousContainerDatabase.
  • backup_config (AutonomousContainerDatabaseBackupConfig) -- The value to assign to the backup_config property of this AutonomousContainerDatabase.
autonomous_exadata_infrastructure_id

[Required] Gets the autonomous_exadata_infrastructure_id of this AutonomousContainerDatabase. The OCID of the Autonomous Exadata Infrastructure.

Returns:The autonomous_exadata_infrastructure_id of this AutonomousContainerDatabase.
Return type:str
availability_domain

Gets the availability_domain of this AutonomousContainerDatabase. The availability domain of the Autonomous Container Database.

Returns:The availability_domain of this AutonomousContainerDatabase.
Return type:str
backup_config

Gets the backup_config of this AutonomousContainerDatabase.

Returns:The backup_config of this AutonomousContainerDatabase.
Return type:AutonomousContainerDatabaseBackupConfig
compartment_id

[Required] Gets the compartment_id of this AutonomousContainerDatabase. The OCID of the compartment.

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

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

[Required] Gets the display_name of this AutonomousContainerDatabase. The user-provided name for the Autonomous Container Database.

Returns:The display_name of this AutonomousContainerDatabase.
Return type:str
freeform_tags

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

[Required] Gets the id of this AutonomousContainerDatabase. The OCID of the Autonomous Container Database.

Returns:The id of this AutonomousContainerDatabase.
Return type:str
last_maintenance_run_id

Gets the last_maintenance_run_id of this AutonomousContainerDatabase. The OCID of the last maintenance run.

Returns:The last_maintenance_run_id of this AutonomousContainerDatabase.
Return type:str
lifecycle_details

Gets the lifecycle_details of this AutonomousContainerDatabase. Additional information about the current lifecycleState.

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

[Required] Gets the lifecycle_state of this AutonomousContainerDatabase. The current state of the Autonomous Container Database.

Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "BACKUP_IN_PROGRESS", "RESTORING", "RESTORE_FAILED", "RESTARTING", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The lifecycle_state of this AutonomousContainerDatabase.
Return type:str
next_maintenance_run_id

Gets the next_maintenance_run_id of this AutonomousContainerDatabase. The OCID of the next maintenance run.

Returns:The next_maintenance_run_id of this AutonomousContainerDatabase.
Return type:str
patch_model

[Required] Gets the patch_model of this AutonomousContainerDatabase. Database Patch model preference.

Allowed values for this property are: "RELEASE_UPDATES", "RELEASE_UPDATE_REVISIONS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The patch_model of this AutonomousContainerDatabase.
Return type:str
service_level_agreement_type

[Required] Gets the service_level_agreement_type of this AutonomousContainerDatabase. The service level agreement type of the container database. The default is STANDARD.

Allowed values for this property are: "STANDARD", "MISSION_CRITICAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The service_level_agreement_type of this AutonomousContainerDatabase.
Return type:str
time_created

Gets the time_created of this AutonomousContainerDatabase. The date and time the Autonomous was created.

Returns:The time_created of this AutonomousContainerDatabase.
Return type:datetime