AutonomousContainerDatabase

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

Bases: object

AutonomousContainerDatabase model.

Attributes

INFRASTRUCTURE_TYPE_CLOUD A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabase.
INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_BACKUP_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_PROVISIONING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_RESTARTING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_RESTORE_FAILED A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_RESTORING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_TERMINATING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_UNAVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a AutonomousContainerDatabase.
PATCH_MODEL_RELEASE_UPDATES A constant which can be used with the patch_model property of a AutonomousContainerDatabase.
PATCH_MODEL_RELEASE_UPDATE_REVISIONS A constant which can be used with the patch_model property of a AutonomousContainerDatabase.
ROLE_DISABLED_STANDBY A constant which can be used with the role property of a AutonomousContainerDatabase.
ROLE_PRIMARY A constant which can be used with the role property of a AutonomousContainerDatabase.
ROLE_STANDBY A constant which can be used with the role property of a AutonomousContainerDatabase.
SERVICE_LEVEL_AGREEMENT_TYPE_AUTONOMOUS_DATAGUARD A constant which can be used with the service_level_agreement_type property of a AutonomousContainerDatabase.
SERVICE_LEVEL_AGREEMENT_TYPE_MISSION_CRITICAL A constant which can be used with the service_level_agreement_type property of a AutonomousContainerDatabase.
SERVICE_LEVEL_AGREEMENT_TYPE_STANDARD A constant which can be used with the service_level_agreement_type property of a AutonomousContainerDatabase.
autonomous_exadata_infrastructure_id Gets the autonomous_exadata_infrastructure_id of this AutonomousContainerDatabase.
autonomous_vm_cluster_id Gets the autonomous_vm_cluster_id of this AutonomousContainerDatabase.
availability_domain Gets the availability_domain of this AutonomousContainerDatabase.
backup_config Gets the backup_config of this AutonomousContainerDatabase.
compartment_id [Required] Gets the compartment_id of this AutonomousContainerDatabase.
db_unique_name Gets the db_unique_name of this AutonomousContainerDatabase.
db_version Gets the db_version of this AutonomousContainerDatabase.
defined_tags Gets the defined_tags of this AutonomousContainerDatabase.
display_name [Required] Gets the display_name of this AutonomousContainerDatabase.
freeform_tags Gets the freeform_tags of this AutonomousContainerDatabase.
id [Required] Gets the id of this AutonomousContainerDatabase.
infrastructure_type Gets the infrastructure_type of this AutonomousContainerDatabase.
key_store_id Gets the key_store_id of this AutonomousContainerDatabase.
key_store_wallet_name Gets the key_store_wallet_name of this AutonomousContainerDatabase.
kms_key_id Gets the kms_key_id of this AutonomousContainerDatabase.
last_maintenance_run_id Gets the last_maintenance_run_id of this AutonomousContainerDatabase.
lifecycle_details Gets the lifecycle_details of this AutonomousContainerDatabase.
lifecycle_state [Required] Gets the lifecycle_state of this AutonomousContainerDatabase.
maintenance_window Gets the maintenance_window of this AutonomousContainerDatabase.
next_maintenance_run_id Gets the next_maintenance_run_id of this AutonomousContainerDatabase.
patch_id Gets the patch_id of this AutonomousContainerDatabase.
patch_model [Required] Gets the patch_model of this AutonomousContainerDatabase.
role Gets the role of this AutonomousContainerDatabase.
service_level_agreement_type [Required] Gets the service_level_agreement_type of this AutonomousContainerDatabase.
standby_maintenance_buffer_in_days Gets the standby_maintenance_buffer_in_days of this AutonomousContainerDatabase.
time_created Gets the time_created of this AutonomousContainerDatabase.
vault_id Gets the vault_id of this AutonomousContainerDatabase.

Methods

__init__(**kwargs) Initializes a new AutonomousContainerDatabase object with values from keyword arguments.
INFRASTRUCTURE_TYPE_CLOUD = 'CLOUD'

A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabase. This constant has a value of “CLOUD”

INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER = 'CLOUD_AT_CUSTOMER'

A constant which can be used with the infrastructure_type property of a AutonomousContainerDatabase. This constant has a value of “CLOUD_AT_CUSTOMER”

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_ROLE_CHANGE_IN_PROGRESS = 'ROLE_CHANGE_IN_PROGRESS'

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

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_UNAVAILABLE = 'UNAVAILABLE'

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

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”

ROLE_DISABLED_STANDBY = 'DISABLED_STANDBY'

A constant which can be used with the role property of a AutonomousContainerDatabase. This constant has a value of “DISABLED_STANDBY”

ROLE_PRIMARY = 'PRIMARY'

A constant which can be used with the role property of a AutonomousContainerDatabase. This constant has a value of “PRIMARY”

ROLE_STANDBY = 'STANDBY'

A constant which can be used with the role property of a AutonomousContainerDatabase. This constant has a value of “STANDBY”

SERVICE_LEVEL_AGREEMENT_TYPE_AUTONOMOUS_DATAGUARD = 'AUTONOMOUS_DATAGUARD'

A constant which can be used with the service_level_agreement_type property of a AutonomousContainerDatabase. This constant has a value of “AUTONOMOUS_DATAGUARD”

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.
  • db_unique_name (str) – The value to assign to the db_unique_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”, “AUTONOMOUS_DATAGUARD”, ‘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.
  • autonomous_vm_cluster_id (str) – The value to assign to the autonomous_vm_cluster_id property of this AutonomousContainerDatabase.
  • infrastructure_type (str) – The value to assign to the infrastructure_type property of this AutonomousContainerDatabase. Allowed values for this property are: “CLOUD”, “CLOUD_AT_CUSTOMER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • kms_key_id (str) – The value to assign to the kms_key_id property of this AutonomousContainerDatabase.
  • vault_id (str) – The value to assign to the vault_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”, “ROLE_CHANGE_IN_PROGRESS”, “UNAVAILABLE”, ‘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’.
  • patch_id (str) – The value to assign to the patch_id property of this AutonomousContainerDatabase.
  • 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.
  • maintenance_window (oci.database.models.MaintenanceWindow) – The value to assign to the maintenance_window property of this AutonomousContainerDatabase.
  • standby_maintenance_buffer_in_days (int) – The value to assign to the standby_maintenance_buffer_in_days 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.
  • role (str) – The value to assign to the role property of this AutonomousContainerDatabase. Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • availability_domain (str) – The value to assign to the availability_domain property of this AutonomousContainerDatabase.
  • db_version (str) – The value to assign to the db_version property of this AutonomousContainerDatabase.
  • backup_config (oci.database.models.AutonomousContainerDatabaseBackupConfig) – The value to assign to the backup_config property of this AutonomousContainerDatabase.
  • key_store_id (str) – The value to assign to the key_store_id property of this AutonomousContainerDatabase.
  • key_store_wallet_name (str) – The value to assign to the key_store_wallet_name property of this AutonomousContainerDatabase.
autonomous_exadata_infrastructure_id

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
autonomous_vm_cluster_id

Gets the autonomous_vm_cluster_id of this AutonomousContainerDatabase. The OCID of the Autonomous VM Cluster.

Returns:The autonomous_vm_cluster_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:oci.database.models.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
db_unique_name

Gets the db_unique_name of this AutonomousContainerDatabase. The DB_UNIQUE_NAME of the Oracle Database being backed up.

Returns:The db_unique_name of this AutonomousContainerDatabase.
Return type:str
db_version

Gets the db_version of this AutonomousContainerDatabase. Oracle Database version of the Autonomous Container Database.

Returns:The db_version 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
infrastructure_type

Gets the infrastructure_type of this AutonomousContainerDatabase. The infrastructure type this resource belongs to.

Allowed values for this property are: “CLOUD”, “CLOUD_AT_CUSTOMER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The infrastructure_type of this AutonomousContainerDatabase.
Return type:str
key_store_id

Gets the key_store_id of this AutonomousContainerDatabase. The OCID of the key store.

Returns:The key_store_id of this AutonomousContainerDatabase.
Return type:str
key_store_wallet_name

Gets the key_store_wallet_name of this AutonomousContainerDatabase. The wallet name for Oracle Key Vault.

Returns:The key_store_wallet_name of this AutonomousContainerDatabase.
Return type:str
kms_key_id

Gets the kms_key_id of this AutonomousContainerDatabase. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

Returns:The kms_key_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 lifecycle state.

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”, “ROLE_CHANGE_IN_PROGRESS”, “UNAVAILABLE”, ‘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
maintenance_window

Gets the maintenance_window of this AutonomousContainerDatabase.

Returns:The maintenance_window of this AutonomousContainerDatabase.
Return type:oci.database.models.MaintenanceWindow
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_id

Gets the patch_id of this AutonomousContainerDatabase. The OCID of the last patch applied on the system.

Returns:The patch_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
role

Gets the role of this AutonomousContainerDatabase. The role of the Autonomous Data Guard-enabled Autonomous Container Database.

Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The role 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”, “AUTONOMOUS_DATAGUARD”, ‘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
standby_maintenance_buffer_in_days

Gets the standby_maintenance_buffer_in_days of this AutonomousContainerDatabase. The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.

Returns:The standby_maintenance_buffer_in_days of this AutonomousContainerDatabase.
Return type:int
time_created

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

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

Gets the vault_id of this AutonomousContainerDatabase. The OCID of the Oracle Cloud Infrastructure vault.

Returns:The vault_id of this AutonomousContainerDatabase.
Return type:str