Skip to main content

autonomous_container_databases

Creates, updates, deletes, gets or lists an autonomous_container_databases resource.

Overview​

Nameautonomous_container_databases
TypeResource
Idoci.database.autonomous_container_databases

Fields​

The following fields are returned by SELECT queries:

The Autonomous Container Database.

NameDatatypeDescription
idstringThe OCID of the Autonomous Container Database.
associatedBackupConfigurationDetailsarrayA backup config object holds information about preferred backup destinations only. This object holds information about the associated backup destinations, such as secondary backup destinations created for local backups or remote replicated backups.
autonomousExadataInfrastructureIdstringNo longer used. For Autonomous AI Database on dedicated Exadata infrastructure, the container database is created within a specified cloudAutonomousVmCluster.
autonomousVmClusterIdstringThe OCID of the Autonomous VM Cluster.
availabilityDomainstringThe availability domain of the Autonomous Container Database.
availableCpusnumber (float)Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database.
backupConfigobjectBackup options for the Autonomous Container Database.
backupDestinationPropertiesListarrayThis list describes the backup destination properties associated with the Autonomous Container Database (ACD) 's preferred backup destination. The object at a given index is associated with the destination present at the same index in the backup destination details list of the ACD Backup Configuration.
cloudAutonomousVmClusterIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster.
compartmentIdstringThe OCID of the compartment.
computeModelstringThe compute model of the Autonomous Container Database. For Autonomous AI Database on Dedicated Exadata Infrastructure, the CPU type (ECPUs or OCPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. ECPU compute model is the recommended model and OCPU compute model is legacy. See [Compute Models in Autonomous AI Database on Dedicated Exadata Infrastructure](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. (ECPU, OCPU)
customerContactsarrayCustomer Contacts. Setting this to an empty list removes all customer contacts.
dataguardobjectThe properties that define Autonomous Container Databases Dataguard.
dataguardGroupMembersarrayArray of Dg associations.
dbNamestringThe Database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, starting with an alphabetic character, followed by 1 to 7 alphanumeric characters.
dbSplitThresholdintegerThe CPU value beyond which an Autonomous AI Database will be opened across multiple nodes. The default value of this attribute is 16 for OCPUs and 64 for ECPUs.
dbUniqueNamestringDeprecated. The DB_UNIQUE_NAME value is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail.
dbVersionstringOracle AI Database version of the Autonomous Container Database.
definedTagsobjectDefined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).
displayNamestringThe user-provided name for the Autonomous Container Database.
distributionAffinitystringDetermines whether an Autonomous AI Database must be opened across the maximum number of nodes or the least number of nodes. By default, Minimum nodes is selected. (MINIMUM_DISTRIBUTION, MAXIMUM_DISTRIBUTION)
dstFileVersionstringDST Time-Zone File version of the Autonomous Container Database.
freeformTagsobjectFree-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](/Content/General/Concepts/resourcetags.htm). Example: {"Department": "Finance"}
infrastructureTypestringThe infrastructure type this resource belongs to. (CLOUD, CLOUD_AT_CUSTOMER)
isDataGuardEnabledbooleanDeprecated. Indicates whether the Autonomous AI Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous AI Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
isDstFileUpdateEnabledbooleanIndicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
isMultipleStandbybooleanIndicates if it is multiple standby Autonomous Dataguard
keyHistoryEntryarrayKey History Entry.
keyStoreIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the key store of Oracle Vault.
keyStoreWalletNamestringThe wallet name for Oracle Key Vault.
kmsKeyIdstringThe OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyVersionIdstringThe OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances.
largestProvisionableAutonomousDatabaseInCpusnumber (float)The largest Autonomous AI Database (CPU) that can be created in a new Autonomous Container Database.
lastMaintenanceRunIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the last maintenance run.
lifecycleDetailsstringAdditional information about the current lifecycle state.
lifecycleStatestringThe current state of the Autonomous Container Database. (PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED, BACKUP_IN_PROGRESS, RESTORING, RESTORE_FAILED, RESTARTING, MAINTENANCE_IN_PROGRESS, ROLE_CHANGE_IN_PROGRESS, ENABLING_AUTONOMOUS_DATA_GUARD, UNAVAILABLE)
listOneOffPatchesarrayList of One-Off patches that has been successfully applied to Autonomous Container Database
maintenanceWindowobjectThe scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
memoryPerOracleComputeUnitInGBsintegerThe amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster.
netServicesArchitecturestringEnabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users. (DEDICATED, SHARED, DRCP) (default: DEDICATED)
nextMaintenanceRunIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the next maintenance run.
okvEndPointGroupNamestringThe OKV End Point Group name for the Autonomous Container Database.
patchIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the last patch applied on the system.
patchModelstringDatabase patch model preference. (RELEASE_UPDATES, RELEASE_UPDATE_REVISIONS)
provisionableCpusarrayAn array of CPU values that can be used to successfully provision a single Autonomous AI Database.
provisionedCpusnumber (float)The number of CPUs provisioned in an Autonomous Container Database.
reclaimableCpusnumber (float)CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous AI Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
recoveryApplianceDetailsobjectInformation about the recovery appliance configuration associated with the Autonomous Container Database.
reservedCpusnumber (float)The number of CPUs reserved in an Autonomous Container Database.
rolestringThe Data Guard role of the Autonomous Container Database or Autonomous AI Database, if Autonomous Data Guard is enabled. (PRIMARY, STANDBY, DISABLED_STANDBY, BACKUP_COPY, SNAPSHOT_STANDBY)
serviceLevelAgreementTypestringThe service level agreement type of the container database. The default is STANDARD. (STANDARD, MISSION_CRITICAL, AUTONOMOUS_DATAGUARD)
standbyMaintenanceBufferInDaysintegerThe 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.
systemTagsobjectSystem tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).
timeCreatedstring (date-time)The date and time the Autonomous Container Database was created.
timeOfLastBackupstring (date-time)The timestamp of last successful backup. Here NULL value represents either there are no successful backups or backups are not configured for this Autonomous Container Database.
timeSnapshotStandbyRevertstring (date-time)The date and time the Autonomous Container Database will be reverted to Standby from Snapshot Standby.
totalCpusintegerThe number of CPUs allocated to the Autonomous VM cluster.
vaultIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and secretId are required for Customer Managed Keys.
versionPreferencestringThe next maintenance version preference. (NEXT_RELEASE_UPDATE, LATEST_RELEASE_UPDATE) (default: NEXT_RELEASE_UPDATE)
vmFailoverReservationintegerThe percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, 25%, 50%, 75%, and 100%, with 50% being the default option.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectautonomousContainerDatabaseId, regionGets information about the specified Autonomous Container Database.
listselectcompartmentId, regionautonomousExadataInfrastructureId, autonomousVmClusterId, infrastructureType, limit, page, sortBy, sortOrder, lifecycleState, availabilityDomain, displayName, serviceLevelAgreementType, cloudAutonomousVmClusterIdGets a list of the Autonomous Container Databases in the specified compartment.<br />
createinsertregion, displayName, patchModelopc-retry-tokenCreates an Autonomous Container Database in the specified Autonomous Exadata Infrastructure.<br />
updateupdateautonomousContainerDatabaseId, regionif-matchUpdates the properties of an Autonomous Container Database, such as display name, maintenance preference, backup retention, and tags.
terminatedeleteautonomousContainerDatabaseId, regionif-matchTerminates an Autonomous Container Database, which permanently deletes the container database and any databases within the container database. The database data is local to the Autonomous Exadata Infrastructure and will be lost when the container database is terminated. Oracle recommends that you back up any data in the Autonomous Container Database prior to terminating it.
add_standby_autonomous_container_databaseexecautonomousContainerDatabaseId, regionopc-request-id, opc-retry-token, if-matchAdd a standby Autonomous Container Database. For more information about Autonomous Data Guard,see<br />[Protect Critical Databases from Failures and Disasters Using Autonomous Data Guard](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbau/GUID-C57B9A6E-7471-4CDC-8F10-B8386538E31C).<br />
change_compartmentexecautonomousContainerDatabaseId, region, compartmentIdopc-retry-token, opc-request-id, if-matchMove the Autonomous Container Database and its dependent resources to the specified compartment.<br />For more information about moving Autonomous Container Databases, see<br />[Moving Database Resources to a Different Compartment](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/raqyy/#articletitle.html).<br />
change_dataguard_roleexecautonomousContainerDatabaseId, region, role, autonomousContainerDatabaseDataguardAssociationIdopc-request-id, opc-retry-token, if-matchDeprecated. Use the [ConvertStandbyAutonomousContainerDatabase](#/en/database/latest/AutonomousContainerDatabase/ConvertStandbyAutonomousContainerDatabase) operation to switch the Autonomous Container Database (ACD) role between Standby and Snapshot Standby.<br />For more information about changing ACD Role, see<br />[Convert Physical Standby to Snapshot Standby](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-D3B503F1-0032-4B0D-9F00-ACAE8151AB80) and [Convert Snapshot Standby to Physical Standby](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-E8D7E0EE-8244-467D-B33A-1BC6F969A0A4).<br />
edit_autonomous_container_database_dataguardexecautonomousContainerDatabaseId, regionopc-request-id, opc-retry-token, if-matchModify Autonomous Container Database Data Guard settings such as protection mode, automatic failover, and fast start failover lag limit. For more information, see<br />[Update Autonomous Container Database Dataguard](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-3A936EC7-7A49-4FD2-9F39-8DB6B22011CE).<br />
failover_autonomous_container_database_dataguardexecautonomousContainerDatabaseId, regionif-match, opc-request-idPerforms failover to a standby Autonomous Container Database (ACD) identified by the autonomousContainerDatabaseId parameter. This standby ACD will become the new primary ACD when the failover completes successfully. For more information, see<br />[Fail Over to the Standby in an Autonomous Data Guard Configuration](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-C8FFA343-223C-4F41-9656-AEC356AD90A0). <br />
reinstate_autonomous_container_database_dataguardexecautonomousContainerDatabaseId, regionif-match, opc-request-idReinstates a disabled standby Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter to an active standby ACD. For more information, see<br />[Reinstate the Disabled Standby in an Autonomous Data Guard Configuration](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-B5C6A90D-72E3-4F32-988D-8AECC0A2D947).<br />
restart_autonomous_container_databaseexecautonomousContainerDatabaseId, regionif-match, opc-request-idRolling restarts the specified Autonomous Container Database.<br />
rotate_autonomous_container_database_encryption_keyexecautonomousContainerDatabaseId, regionif-match, opc-retry-token, opc-request-idCreates a new version of an existing [Vault service](/iaas/Content/KeyManagement/Concepts/keyoverview.htm) key.
convert_standby_autonomous_container_databaseexecautonomousContainerDatabaseId, region, roleopc-request-id, opc-retry-token, if-matchConvert the standby Autonomous Container Database (ACD) between physical standby and snapshot standby ACD. For more information about converting standby ACDs, see<br />[Convert Physical Standby to Snapshot Standby](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-D3B503F1-0032-4B0D-9F00-ACAE8151AB80) and [Convert Snapshot Standby to Physical Standby](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-E8D7E0EE-8244-467D-B33A-1BC6F969A0A4).<br />
switchover_autonomous_container_database_dataguardexecautonomousContainerDatabaseId, regionif-match, opc-request-idSwitchover an Autonomous Container Database (ACD), identified by the autonomousContainerDatabaseId parameter, to an active standby ACD. This standby ACD will become the new primary ACD when the switchover completes successfully. For more information, see<br />[Switch Roles in an Autonomous Data Guard Configuration](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbcl/index.html#ADBCL-GUID-A2AB31F6-D52D-493C-9BA7-D87A0F17078F). <br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
autonomousContainerDatabaseIdstringThe Autonomous Container Database [OCID](/Content/General/Concepts/identifiers.htm).
compartmentIdstringThe compartment [OCID](/Content/General/Concepts/identifiers.htm).
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
autonomousExadataInfrastructureIdstringThe Autonomous Exadata Infrastructure [OCID](/Content/General/Concepts/identifiers.htm).
autonomousVmClusterIdstringThe Autonomous VM Cluster [OCID](/Content/General/Concepts/identifiers.htm).
availabilityDomainstringA filter to return only resources that match the given availability domain exactly.
cloudAutonomousVmClusterIdstringThe cloud Autonomous VM Cluster [OCID](/Content/General/Concepts/identifiers.htm).
displayNamestringA filter to return only resources that match the entire display name given. The match is not case sensitive.
if-matchstringFor optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
infrastructureTypestringA filter to return only resources that match the given Infrastructure Type.
lifecycleStatestringA filter to return only resources that match the given lifecycle state exactly.
limitintegerThe maximum number of items to return per page.
opc-request-idstringUnique identifier for the request.
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
pagestringThe pagination token to continue listing from.
serviceLevelAgreementTypestringA filter to return only resources that match the given service-level agreement type exactly.
sortBystringThe field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. Note: If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC).

SELECT examples​

Gets information about the specified Autonomous Container Database.

SELECT
id,
associatedBackupConfigurationDetails,
autonomousExadataInfrastructureId,
autonomousVmClusterId,
availabilityDomain,
availableCpus,
backupConfig,
backupDestinationPropertiesList,
cloudAutonomousVmClusterId,
compartmentId,
computeModel,
customerContacts,
dataguard,
dataguardGroupMembers,
dbName,
dbSplitThreshold,
dbUniqueName,
dbVersion,
definedTags,
displayName,
distributionAffinity,
dstFileVersion,
freeformTags,
infrastructureType,
isDataGuardEnabled,
isDstFileUpdateEnabled,
isMultipleStandby,
keyHistoryEntry,
keyStoreId,
keyStoreWalletName,
kmsKeyId,
kmsKeyVersionId,
largestProvisionableAutonomousDatabaseInCpus,
lastMaintenanceRunId,
lifecycleDetails,
lifecycleState,
listOneOffPatches,
maintenanceWindow,
memoryPerOracleComputeUnitInGBs,
netServicesArchitecture,
nextMaintenanceRunId,
okvEndPointGroupName,
patchId,
patchModel,
provisionableCpus,
provisionedCpus,
reclaimableCpus,
recoveryApplianceDetails,
reservedCpus,
role,
serviceLevelAgreementType,
standbyMaintenanceBufferInDays,
systemTags,
timeCreated,
timeOfLastBackup,
timeSnapshotStandbyRevert,
totalCpus,
vaultId,
versionPreference,
vmFailoverReservation
FROM oci.database.autonomous_container_databases
WHERE autonomousContainerDatabaseId = '{{ autonomousContainerDatabaseId }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples​

Creates an Autonomous Container Database in the specified Autonomous Exadata Infrastructure.<br />

INSERT INTO oci.database.autonomous_container_databases (
autonomousExadataInfrastructureId,
autonomousVmClusterId,
backupConfig,
cloudAutonomousVmClusterId,
compartmentId,
customerContacts,
databaseSoftwareImageId,
dbName,
dbSplitThreshold,
dbUniqueName,
dbVersion,
definedTags,
displayName,
distributionAffinity,
fastStartFailOverLagLimitInSeconds,
freeformTags,
isAutomaticFailoverEnabled,
isDstFileUpdateEnabled,
keyStoreId,
kmsKeyId,
kmsKeyVersionId,
maintenanceWindowDetails,
netServicesArchitecture,
okvEndPointGroupName,
patchModel,
peerAutonomousContainerDatabaseBackupConfig,
peerAutonomousContainerDatabaseCompartmentId,
peerAutonomousContainerDatabaseDisplayName,
peerAutonomousExadataInfrastructureId,
peerAutonomousVmClusterId,
peerCloudAutonomousVmClusterId,
peerDbUniqueName,
protectionMode,
serviceLevelAgreementType,
source,
standbyMaintenanceBufferInDays,
vaultId,
versionPreference,
vmFailoverReservation,
region,
opc-retry-token
)
SELECT
'{{ autonomousExadataInfrastructureId }}',
'{{ autonomousVmClusterId }}',
'{{ backupConfig }}',
'{{ cloudAutonomousVmClusterId }}',
'{{ compartmentId }}',
'{{ customerContacts }}',
'{{ databaseSoftwareImageId }}',
'{{ dbName }}',
{{ dbSplitThreshold }},
'{{ dbUniqueName }}',
'{{ dbVersion }}',
'{{ definedTags }}',
'{{ displayName }}' /* required */,
'{{ distributionAffinity }}',
{{ fastStartFailOverLagLimitInSeconds }},
'{{ freeformTags }}',
{{ isAutomaticFailoverEnabled }},
{{ isDstFileUpdateEnabled }},
'{{ keyStoreId }}',
'{{ kmsKeyId }}',
'{{ kmsKeyVersionId }}',
'{{ maintenanceWindowDetails }}',
'{{ netServicesArchitecture }}',
'{{ okvEndPointGroupName }}',
'{{ patchModel }}' /* required */,
'{{ peerAutonomousContainerDatabaseBackupConfig }}',
'{{ peerAutonomousContainerDatabaseCompartmentId }}',
'{{ peerAutonomousContainerDatabaseDisplayName }}',
'{{ peerAutonomousExadataInfrastructureId }}',
'{{ peerAutonomousVmClusterId }}',
'{{ peerCloudAutonomousVmClusterId }}',
'{{ peerDbUniqueName }}',
'{{ protectionMode }}',
'{{ serviceLevelAgreementType }}',
'{{ source }}',
{{ standbyMaintenanceBufferInDays }},
'{{ vaultId }}',
'{{ versionPreference }}',
{{ vmFailoverReservation }},
'{{ region }}',
'{{ opc-retry-token }}'
RETURNING
id,
associatedBackupConfigurationDetails,
autonomousExadataInfrastructureId,
autonomousVmClusterId,
availabilityDomain,
availableCpus,
backupConfig,
backupDestinationPropertiesList,
cloudAutonomousVmClusterId,
compartmentId,
computeModel,
customerContacts,
dataguard,
dataguardGroupMembers,
dbName,
dbSplitThreshold,
dbUniqueName,
dbVersion,
definedTags,
displayName,
distributionAffinity,
dstFileVersion,
freeformTags,
infrastructureType,
isDataGuardEnabled,
isDstFileUpdateEnabled,
isMultipleStandby,
keyHistoryEntry,
keyStoreId,
keyStoreWalletName,
kmsKeyId,
kmsKeyVersionId,
largestProvisionableAutonomousDatabaseInCpus,
lastMaintenanceRunId,
lifecycleDetails,
lifecycleState,
listOneOffPatches,
maintenanceWindow,
memoryPerOracleComputeUnitInGBs,
netServicesArchitecture,
nextMaintenanceRunId,
okvEndPointGroupName,
patchId,
patchModel,
provisionableCpus,
provisionedCpus,
reclaimableCpus,
recoveryApplianceDetails,
reservedCpus,
role,
serviceLevelAgreementType,
standbyMaintenanceBufferInDays,
systemTags,
timeCreated,
timeOfLastBackup,
timeSnapshotStandbyRevert,
totalCpus,
vaultId,
versionPreference,
vmFailoverReservation
;

UPDATE examples​

Updates the properties of an Autonomous Container Database, such as display name, maintenance preference, backup retention, and tags.

UPDATE oci.database.autonomous_container_databases
SET
backupConfig = '{{ backupConfig }}',
customerContacts = '{{ customerContacts }}',
dbSplitThreshold = {{ dbSplitThreshold }},
definedTags = '{{ definedTags }}',
displayName = '{{ displayName }}',
distributionAffinity = '{{ distributionAffinity }}',
freeformTags = '{{ freeformTags }}',
isDstFileUpdateEnabled = {{ isDstFileUpdateEnabled }},
maintenanceWindowDetails = '{{ maintenanceWindowDetails }}',
netServicesArchitecture = '{{ netServicesArchitecture }}',
okvEndPointGroupName = '{{ okvEndPointGroupName }}',
patchModel = '{{ patchModel }}',
standbyMaintenanceBufferInDays = {{ standbyMaintenanceBufferInDays }},
versionPreference = '{{ versionPreference }}',
vmFailoverReservation = {{ vmFailoverReservation }}
WHERE
autonomousContainerDatabaseId = '{{ autonomousContainerDatabaseId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match}}'
RETURNING
id,
associatedBackupConfigurationDetails,
autonomousExadataInfrastructureId,
autonomousVmClusterId,
availabilityDomain,
availableCpus,
backupConfig,
backupDestinationPropertiesList,
cloudAutonomousVmClusterId,
compartmentId,
computeModel,
customerContacts,
dataguard,
dataguardGroupMembers,
dbName,
dbSplitThreshold,
dbUniqueName,
dbVersion,
definedTags,
displayName,
distributionAffinity,
dstFileVersion,
freeformTags,
infrastructureType,
isDataGuardEnabled,
isDstFileUpdateEnabled,
isMultipleStandby,
keyHistoryEntry,
keyStoreId,
keyStoreWalletName,
kmsKeyId,
kmsKeyVersionId,
largestProvisionableAutonomousDatabaseInCpus,
lastMaintenanceRunId,
lifecycleDetails,
lifecycleState,
listOneOffPatches,
maintenanceWindow,
memoryPerOracleComputeUnitInGBs,
netServicesArchitecture,
nextMaintenanceRunId,
okvEndPointGroupName,
patchId,
patchModel,
provisionableCpus,
provisionedCpus,
reclaimableCpus,
recoveryApplianceDetails,
reservedCpus,
role,
serviceLevelAgreementType,
standbyMaintenanceBufferInDays,
systemTags,
timeCreated,
timeOfLastBackup,
timeSnapshotStandbyRevert,
totalCpus,
vaultId,
versionPreference,
vmFailoverReservation;

DELETE examples​

Terminates an Autonomous Container Database, which permanently deletes the container database and any databases within the container database. The database data is local to the Autonomous Exadata Infrastructure and will be lost when the container database is terminated. Oracle recommends that you back up any data in the Autonomous Container Database prior to terminating it.

DELETE FROM oci.database.autonomous_container_databases
WHERE autonomousContainerDatabaseId = '{{ autonomousContainerDatabaseId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match }}'
;

Lifecycle Methods​

Add a standby Autonomous Container Database. For more information about Autonomous Data Guard,see<br />[Protect Critical Databases from Failures and Disasters Using Autonomous Data Guard](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbau/GUID-C57B9A6E-7471-4CDC-8F10-B8386538E31C).<br />

EXEC oci.database.autonomous_container_databases.add_standby_autonomous_container_database
@autonomousContainerDatabaseId='{{ autonomousContainerDatabaseId }}' --required,
@region='{{ region }}' --required,
@opc-request-id='{{ opc-request-id }}',
@opc-retry-token='{{ opc-retry-token }}',
@if-match='{{ if-match }}'
@@json=
'{
"fastStartFailOverLagLimitInSeconds": {{ fastStartFailOverLagLimitInSeconds }},
"isAutomaticFailoverEnabled": {{ isAutomaticFailoverEnabled }},
"peerAutonomousContainerDatabaseBackupConfig": "{{ peerAutonomousContainerDatabaseBackupConfig }}",
"peerAutonomousContainerDatabaseCompartmentId": "{{ peerAutonomousContainerDatabaseCompartmentId }}",
"peerAutonomousContainerDatabaseDisplayName": "{{ peerAutonomousContainerDatabaseDisplayName }}",
"peerAutonomousVmClusterId": "{{ peerAutonomousVmClusterId }}",
"peerCloudAutonomousVmClusterId": "{{ peerCloudAutonomousVmClusterId }}",
"peerDbUniqueName": "{{ peerDbUniqueName }}",
"protectionMode": "{{ protectionMode }}",
"standbyMaintenanceBufferInDays": {{ standbyMaintenanceBufferInDays }}
}'
;