Skip to main content

autonomous_databases

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

Overview​

Nameautonomous_databases
TypeResource
Idoci.database.autonomous_databases

Fields​

The following fields are returned by SELECT queries:

Get the details of the specified Autonomous AI Database.

NameDatatypeDescription
idstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database.
accessTypesarrayList of access types for an Autonomous AI Database.
actualUsedDataStorageSizeInTBsnumber (double)The current amount of storage in use for user and system data, in terabytes (TB).
allocatedStorageSizeInTBsnumber (double)The amount of storage currently allocated for the database tables and billed for, rounded up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs value. You can compare this value to the actualUsedDataStorageSizeInTBs value to determine if a manual shrink operation is appropriate for your allocated storage. Note: Auto-scaling does not automatically decrease allocated storage when data is deleted from the database.
apexDetailsobjectOracle APEX AI Application Development is a low-code development platform that enables you to build scalable, secure enterprise apps, with world-class features. Autonomous AI Database with the APEX workload type is optimized to support APEX development.
arePrimaryWhitelistedIpsUsedbooleanThis field will be null if the Autonomous AI Database is not Data Guard enabled or Access Control is disabled. It's value would be TRUE if Autonomous AI Database is Data Guard enabled and Access Control is enabled and if the Autonomous AI Database uses primary IP access control list (ACL) for standby. It's value would be FALSE if Autonomous AI Database is Data Guard enabled and Access Control is enabled and if the Autonomous AI Database uses different IP access control list (ACL) for standby compared to primary.
autoRefreshFrequencyInSecondsintegerThe frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the timeOfAutoRefreshStart parameter.
autoRefreshPointLagInSecondsintegerThe time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
autonomousContainerDatabaseIdstringThe Autonomous Container Database [OCID](/Content/General/Concepts/identifiers.htm). Used only by Autonomous AI Database on Dedicated Exadata Infrastructure.
autonomousMaintenanceScheduleTypestringThe maintenance schedule type of the Autonomous AI Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle (EARLY, REGULAR)
availabilityDomainstringThe availability domain where the Autonomous AI Database Serverless instance is located.
availableUpgradeVersionsarrayList of Oracle AI Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
backupConfigobjectAutonomous AI Database configuration details for storing [manual backups](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](/Content/Object/Concepts/objectstorageoverview.htm) service.
byolComputeCountLimitnumber (float)The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered as License Included and billed.
characterSetstringThe character set for the Autonomous AI Database. The default is AL32UTF8. Allowed values are: AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
cloneTableSpaceListarrayA list of the source Autonomous AI Database's table space number(s) used to create this partial clone from the backup.
cloneTypestringThe Autonomous AI Database clone type. (FULL, METADATA, PARTIAL)
clusterPlacementGroupIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database.
compartmentIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the compartment.
computeCountnumber (float)The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous AI Database Serverless instance or an Autonomous AI Database on Dedicated Exadata Infrastructure. The 'ECPU' compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the computeModel parameter. When using cpuCoreCount parameter, it is an error to specify computeCount to a non-null value. Providing computeModel and computeCount is the preferred method for both OCPU and ECPU. (x-default-description: Null used when unspecified.)
computeModelstringThe compute model of the Base Database, Exadata Infrastructure, VM Cluster and Autonomous AI Database. (ECPU, OCPU) (x-default-description: Null used when unspecified.)
connectionStringsobjectConnection strings to connect to an Oracle Autonomous AI Database. Example output for connection strings. See [DatabaseConnectionStringProfile](#/en/database/latest/datatypes/DatabaseConnectionStringProfile) for additional details: "connectionStrings": { "allConnectionStrings": { "HIGH": "adb.region.oraclecloud.com:1522/unique_id_databasename_high.adwc.oraclecloud.com", "LOW": "adb.region.oraclecloud.com:1522/unique_id_databasename_low.adwc.oraclecloud.com", "MEDIUM": "adb.region.oraclecloud.com:1522/unique_id_databasename_medium.adwc.oraclecloud.com" }, "profiles": [ { "displayName": "databasename_high", "value": "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_high.adwc.oraclecloud.com))(security=(ssl_server_cert_dn="CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US")))", "consumerGroup": "HIGH", "protocol": "TCPS", "tlsAuthentication": "MUTUAL", "hostFormat": "FQDN", "sessionMode": "DIRECT", "syntaxFormat": "LONG" }, { "displayName": "databasename_low", "value": "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_low.adwc.oraclecloud.com))(security=(ssl_server_cert_dn="CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US")))", "consumerGroup": "LOW", "protocol": "TCPS", "tlsAuthentication": "MUTUAL", "hostFormat": "FQDN", "sessionMode": "DIRECT", "syntaxFormat": "LONG" }, { "displayName": "databasename_medium", "value": "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_medium.adwc.oraclecloud.com))(security=(ssl_server_cert_dn="CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US")))", "consumerGroup": "MEDIUM", "protocol": "TCPS", "tlsAuthentication": "MUTUAL", "hostFormat": "FQDN", "sessionMode": "DIRECT", "syntaxFormat": "LONG" } ], "dedicated": null, "high": "adb.region.oraclecloud.com:1522/unique_id_databasename_high.adwc.oraclecloud.com", "low": "adb.region.oraclecloud.com:1522/unique_id_databasename_low.adwc.oraclecloud.com", "medium": "adb.region.oraclecloud.com:1522/unique_id_databasename_medium.adwc.oraclecloud.com" }
connectionUrlsobjectThe URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on [dedicated Exadata infrastructure](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html). Example: {"sqlDevWebUrl": "https:​//<hostname>/ords...", "apexUrl", "https:​//<hostname>/ords..."}
cpuCoreCountintegerThe number of CPU cores to be made available to the database. When the ECPU is selected, the value for cpuCoreCount is 0. For Autonomous AI Database on Dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbde/) for shape details. Note: This parameter cannot be used with the ocpuCount parameter.
customerContactsarrayCustomer Contacts.
dataSafeStatusstringStatus of the Data Safe registration for this Autonomous AI Database. (REGISTERING, REGISTERED, DEREGISTERING, NOT_REGISTERED, FAILED)
dataStorageSizeInGBsintegerThe quantity of data in the database, in gigabytes. For Autonomous AI Transaction Processing databases using ECPUs on Serverless Infrastructure, this value is always populated. In all the other cases, this value will be null and dataStorageSizeInTBs will be populated instead.
dataStorageSizeInTBsintegerThe quantity of data in the database, in terabytes. The following points apply to Autonomous AI Databases on Serverless Infrastructure: - This is an integer field whose value remains null when the data size is in GBs and cannot be converted to TBs (by dividing the GB value by 1024) without rounding error. - To get the exact value of data storage size without rounding error, please see dataStorageSizeInGBs of Autonomous AI Database.
databaseEditionstringThe Oracle AI Database Edition that applies to the Autonomous AI Databases. (STANDARD_EDITION, ENTERPRISE_EDITION)
databaseManagementStatusstringStatus of Database Management for this Autonomous AI Database. (ENABLING, ENABLED, DISABLING, NOT_ENABLED, FAILED_ENABLING, FAILED_DISABLING)
dataguardRegionTypestringDeprecated. The Autonomous Data Guard region type of the Autonomous AI Database. For Autonomous AI Database Serverless, Autonomous Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. The standby regions in Autonomous Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Autonomous Data Guard association, and cannot be performed when the database using the primary role is operating in a remote Autonomous Data Guard standby region. (PRIMARY_DG_REGION, REMOTE_STANDBY_DG_REGION)
dbNamestringThe database name.
dbToolsDetailsarrayThe list of database tools details. This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier. (x-default-description: null)
dbVersionstringA valid Oracle AI Database version for Autonomous AI Database. When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai. When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected. For new databases, it is recommended to use either 19c or 26ai. Note Starting December 2026, 23ai will not be supported as a valid value for this parameter.
dbWorkloadstringThe Autonomous AI Database workload type. The following values are valid: - OLTP - indicates an Autonomous AI Transaction Processing database - DW - indicates an Autonomous AI Lakehouse database - AJD - indicates an Autonomous AI JSON Database - APEX - indicates an Autonomous AI Database with the Oracle APEX AI Application Development workload type. - LH - indicates an Oracle Autonomous AI Lakehouse database Note Starting December 2026, DW will not be supported as a valid value for this parameter. When creating an Autonomous AI Database, if this parameter is not specified, the default value is OLTP. This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. (OLTP, DW, AJD, APEX, LH)
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).
disasterRecoveryRegionTypestringDeprecated. The disaster recovery (DR) region type of the Autonomous AI Database. For Autonomous AI Database Serverless instances, DR associations have designated primary and standby regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region. (PRIMARY, REMOTE)
displayNamestringThe user-friendly name for the Autonomous AI Database. The name does not have to be unique.
encryptionKeyobjectDetails of the Autonomous AI Database encryption key.
encryptionKeyHistoryEntryarrayKey History Entry.
failedDataRecoveryInSecondsintegerIndicates the number of seconds of data loss for a Data Guard failover.
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"}
inMemoryAreaInGBsintegerThe area assigned to In-Memory tables in Autonomous AI Database.
inMemoryPercentageintegerThe percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous AI Database. This property is applicable only to Autonomous AI Databases on the Exadata Cloud@Customer platform.
infrastructureTypestringThe infrastructure type this resource belongs to. (CLOUD, CLOUD_AT_CUSTOMER)
isAccessControlEnabledbooleanIndicates if the database-level access control is enabled. If disabled, database access is defined by the network security rules. If enabled, database access is restricted to the IP addresses defined by the rules specified with the whitelistedIps property. While specifying whitelistedIps rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone. This property is applicable only to Autonomous AI Databases on the Exadata Cloud@Customer platform. For Autonomous AI Database Serverless instances, whitelistedIps is used.
isAutoScalingEnabledbooleanIndicates if auto scaling is enabled for the Autonomous AI Database CPU core count. The default value is TRUE.
isAutoScalingForStorageEnabledbooleanIndicates if auto scaling is enabled for the Autonomous AI Database storage. The default value is FALSE.
isBackupRetentionLockedbooleanIndicates if the Autonomous AI Database is backup retention locked.
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.
isDedicatedbooleanTrue if the database uses [dedicated Exadata infrastructure](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html).
isDevTierbooleanAutonomous AI Database for Developers are fixed-shape Autonomous AI Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.
isFreeTierbooleanIndicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous AI Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled. This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isLocalDataGuardEnabled
isLocalDataGuardEnabledbooleanIndicates 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.
isMtlsConnectionRequiredbooleanSpecifies if the Autonomous AI Database requires mTLS connections. This may not be updated in parallel with any of the following: licenseModel, databaseEdition, cpuCoreCount, computeCount, dataStorageSizeInTBs, whitelistedIps, openMode, permissionLevel, db-workload, privateEndpointLabel, nsgIds, customerContacts, dbVersion, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. Service Change: The default value of the isMTLSConnectionRequired attribute will change from true to false on July 1, 2023 in the following APIs: - CreateAutonomousDatabase - GetAutonomousDatabase - UpdateAutonomousDatabase Details: Prior to the July 1, 2023 change, the isMTLSConnectionRequired attribute default value was true. This applies to Autonomous AI Database Serverless. Does this impact me? If you use or maintain custom scripts or Terraform scripts referencing the CreateAutonomousDatabase, GetAutonomousDatabase, or UpdateAutonomousDatabase APIs, you want to check, and possibly modify, the scripts for the changed default value of the attribute. Should you choose not to leave your scripts unchanged, the API calls containing this attribute will continue to work, but the default value will switch from true to false. How do I make this change? Using either OCI SDKs or command line tools, update your custom scripts to explicitly set the isMTLSConnectionRequired attribute to true.
isPreviewbooleanIndicates if the Autonomous AI Database version is a preview version.
isReconnectCloneEnabledbooleanIndicates if the refreshable clone can be reconnected to its source database.
isRefreshableClonebooleanIndicates if the Autonomous AI Database is a refreshable clone. This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
isRemoteDataGuardEnabledbooleanIndicates whether the Autonomous AI Database has Cross Region Data Guard enabled. Not applicable to Autonomous AI Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
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.
kmsKeyLifecycleDetailsstringKMS key lifecycle details.
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.
licenseModelstringThe Oracle license model that applies to the Oracle Autonomous AI Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle services in the cloud. License Included allows you to subscribe to new Oracle AI Database software licenses and the Oracle AI Database service. Note that when provisioning an [Autonomous AI Database on dedicated Exadata infrastructure](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html), this attribute must be null. It is already set at the Autonomous Exadata Infrastructure level. When provisioning an [Autonomous AI Database Serverless] (https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a value is not specified, the system defaults the value to BRING_YOUR_OWN_LICENSE. Bring your own license (BYOL) also allows you to select the DB edition using the optional parameter. This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier. (LICENSE_INCLUDED, BRING_YOUR_OWN_LICENSE)
lifecycleDetailsstringInformation about the current lifecycle state.
lifecycleStatestringThe current state of the Autonomous AI Database. (PROVISIONING, AVAILABLE, STOPPING, STOPPED, STARTING, TERMINATING, TERMINATED, UNAVAILABLE, RESTORE_IN_PROGRESS, RESTORE_FAILED, BACKUP_IN_PROGRESS, SCALE_IN_PROGRESS, AVAILABLE_NEEDS_ATTENTION, UPDATING, MAINTENANCE_IN_PROGRESS, RESTARTING, RECREATING, ROLE_CHANGE_IN_PROGRESS, UPGRADING, INACCESSIBLE, STANDBY, TRANSPORTING)
localAdgAutoFailoverMaxDataLossLimitintegerParameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
localDisasterRecoveryTypestringIndicates the local disaster recovery (DR) type of the Autonomous AI Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. (x-obmcs-enumref: #/definitions/DisasterRecoveryConfiguration/disasterRecoveryType)
localStandbyDbobjectAutonomous Data Guard standby database details.
longTermBackupScheduleobjectDetails for the long-term backup schedule.
maintenanceTargetComponentstringThe component chosen for maintenance.
memoryPerOracleComputeUnitInGBsintegerThe amount of memory (in GBs) to be enabled per OCPU or ECPU.
ncharacterSetstringThe national character set for the Autonomous AI Database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
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)
nextLongTermBackupTimeStampstring (date-time)The date and time when the next long-term backup would be created.
nsgIdsarrayThe list of [OCIDs](/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](/Content/Network/Concepts/securityrules.htm).
ocpuCountnumber (float)The number of OCPU cores to be made available to the database. The following points apply: - For Autonomous AI Databases on Dedicated Exadata Infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous AI Database Serverless instances.) - To provision cores, enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to Autonomous AI Databases on both serverless and dedicated Exadata infrastructure. - For Autonomous AI Database Serverless instances, this parameter is not used. For Autonomous AI Databases on Dedicated Exadata Infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbde/index.html) for shape details. Note: This parameter cannot be used with the cpuCoreCount parameter.
openModestringIndicates the Autonomous AI Database mode. The database can be opened in READ_ONLY or READ_WRITE mode. This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier. (READ_ONLY, READ_WRITE) (x-default-description: null)
operationsInsightsStatusstringStatus of Operations Insights for this Autonomous AI Database. (ENABLING, ENABLED, DISABLING, NOT_ENABLED, FAILED_ENABLING, FAILED_DISABLING)
peerDbIdsarrayThe list of [OCIDs](https:​//docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for Autonomous AI Database Serverless instances, standby databases located in the same region as the source primary database do not have OCIDs.
permissionLevelstringThe Autonomous AI Database permission level. Restricted mode allows access only by admin users. This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier. (RESTRICTED, UNRESTRICTED) (x-default-description: null)
privateEndpointstringThe private endpoint for the resource.
privateEndpointIpstringThe private endpoint Ip address for the resource.
privateEndpointLabelstringThe resource's private endpoint label. - Setting the endpoint label to a non-empty string creates a private endpoint database. - Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database. - Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled. This setting cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.
provisionableCpusarrayAn array of CPU values that an Autonomous AI Database can be scaled to.
publicConnectionUrlsobjectThe URLs for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN. Note that these URLs are provided by the console only for databases on [dedicated Exadata infrastructure](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html). Example: {"sqlDevWebUrl": "https:​//<hostname>/ords...", "apexUrl", "https:​//<hostname>/ords..."}
publicEndpointstringThe public endpoint for the private endpoint enabled resource.
refreshableModestringThe refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous AI Database. (AUTOMATIC, MANUAL)
refreshableStatusstringThe refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous AI Database. (REFRESHING, NOT_REFRESHING) (x-default-description: This property is only valid for refreshable clones and is null for for databases that are not refreshable clones.)
remoteDisasterRecoveryConfigurationobjectConfigurations of a Disaster Recovery.
resourcePoolLeaderIdstringThe unique identifier for leader Autonomous AI Database OCID [OCID](/Content/General/Concepts/identifiers.htm).
resourcePoolSummaryobjectThe configuration details for resource pool
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)
scheduledOperationsarrayThe list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime. This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
securityAttributesobjectSecurity Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm). Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}
serviceConsoleUrlstringThe URL of the Service Console for the Autonomous AI Database.
sourceIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the source Autonomous AI Database that was cloned to create the current Autonomous AI Database.
sqlWebDeveloperUrlstringThe SQL Web Developer URL for the Oracle Autonomous AI Database. The sqlWebDeveloperUrl is only returned if isSqlWebDeveloperEnabled boolean is set to TRUE.
standbyDbobjectAutonomous Data Guard standby database details.
standbyWhitelistedIpsarrayThe client IP access control list (ACL). This feature is available for [Autonomous AI Database Serverless] (https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous AI Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous AI Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips. For Autonomous AI Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if it’s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"] For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry. This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
subnetIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with. Subnet Restrictions: - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28. - For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20. - For Autonomous AI Database, setting this will disable public secure access to the database. These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.
subscriptionIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with.
supportedRegionsToCloneToarrayThe list of regions that support the creation of an Autonomous AI Database clone or an Autonomous Data Guard standby 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 AI Database was created.
timeDataGuardRoleChangedstring (date-time)The date and time the Autonomous Data Guard role was switched for the Autonomous AI Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region.
timeDeletionOfFreeAutonomousDatabasestring (date-time)The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
timeDisasterRecoveryRoleChangedstring (date-time)The date and time the Disaster Recovery role was switched for the standby Autonomous AI Database.
timeLocalDataGuardEnabledstring (date-time)The date and time that Autonomous Data Guard was enabled for an Autonomous AI Database where the standby was provisioned in the same region as the primary database.
timeMaintenanceBeginstring (date-time)The date and time when maintenance will begin.
timeMaintenanceEndstring (date-time)The date and time when maintenance will end.
timeOfAutoRefreshStartstring (date-time)The the date and time that auto-refreshing will begin for an Autonomous AI Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds parameter.
timeOfJoiningResourcePoolstring (date-time)The time the member joined the resource pool.
timeOfLastFailoverstring (date-time)The timestamp of the last failover operation.
timeOfLastRefreshstring (date-time)The date and time when last refresh happened.
timeOfLastRefreshPointstring (date-time)The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
timeOfLastSwitchoverstring (date-time)The timestamp of the last switchover operation for the Autonomous AI Database.
timeOfNextRefreshstring (date-time)The date and time of next refresh.
timeReclamationOfFreeAutonomousDatabasestring (date-time)The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
timeUndeletedstring (date-time)The date and time the Autonomous AI Database was most recently undeleted.
timeUntilReconnectCloneEnabledstring (date-time)The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
usedDataStorageSizeInGBsintegerThe storage space consumed by Autonomous AI Database in GBs.
usedDataStorageSizeInTBsintegerThe amount of storage that has been used for Autonomous AI Databases in dedicated infrastructure, in terabytes.
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.
whitelistedIpsarrayThe client IP access control list (ACL). This feature is available for [Autonomous AI Database Serverless] (https:​//docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous AI Database instance. If arePrimaryWhitelistedIpsUsed is 'TRUE' then Autonomous AI Database uses this primary's IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips. For Autonomous AI Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if it’s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"] For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry. This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectautonomousDatabaseId, regionopc-request-idGets the details of the specified Autonomous AI Database.<br />
listselectcompartmentId, regionautonomousContainerDatabaseId, limit, page, sortBy, sortOrder, infrastructureType, lifecycleState, lifecycleStateNotEqualTo, dbWorkload, dbVersion, isFreeTier, displayName, opc-request-id, isRefreshableClone, isDataGuardEnabled, isResourcePoolLeader, resourcePoolLeaderIdGets a list of Autonomous AI Databases based on the query parameters specified.<br />
createinsertregion, compartmentIdopc-retry-token, opc-request-idCreates a new Autonomous AI Database.<br />
updateupdateautonomousDatabaseId, regionif-match, opc-request-idUpdates one or more attributes of the specified Autonomous AI Database. See the UpdateAutonomousDatabaseDetails resource for a full list of attributes that can be updated.<br />
deletedeleteautonomousDatabaseId, regionif-match, opc-request-id, mustDeleteAssociatedLongTermBackupsDeletes the specified Autonomous AI Database.<br />
resource_pool_shapesexecregionif-match, opc-retry-token, limit, page, opc-request-idLists available resource pools shapes.
change_compartmentexecautonomousDatabaseId, region, compartmentIdopc-retry-token, opc-request-id, if-matchMove the Autonomous AI Database and its dependent resources to the specified compartment.<br />For more information about moving Autonomous AI Databases, see<br />[Moving Database Resources to a Different Compartment](/Content/Database/Concepts/databaseoverview.htm#moveRes).<br />
change_disaster_recovery_configurationexecautonomousDatabaseId, regionif-match, opc-request-idThis operation updates the cross-region disaster recovery (DR) details of the standby Autonomous AI Database Serverless database, and must be run on the standby side.
change_autonomous_database_subscriptionexecautonomousDatabaseId, regionopc-retry-token, opc-request-id, if-matchAssociate an Autonomous AI Database with a different subscription.<br />
configure_autonomous_database_vault_keyexecautonomousDatabaseId, regionif-match, opc-request-id, opc-retry-tokenConfigures the Autonomous AI Database Vault service [key](/Content/KeyManagement/Concepts/keyoverview.htm#concepts).<br />
configure_saas_admin_userexecautonomousDatabaseId, regionif-match, opc-request-idThis operation updates SaaS administrative user configuration of the Autonomous AI Database.
deregister_autonomous_database_data_safeexecautonomousDatabaseId, region, pdbAdminPasswordopc-request-idAsynchronously deregisters this Autonomous AI Database with Data Safe.<br />
disable_autonomous_database_managementexecautonomousDatabaseId, regionopc-request-idDisables Database Management for the Autonomous AI Database resource.<br />
disable_autonomous_database_operations_insightsexecautonomousDatabaseId, regionopc-request-idDisables Operations Insights for the Autonomous AI Database resource.<br />
enable_autonomous_database_managementexecautonomousDatabaseId, regionopc-request-idEnables Database Management for Autonomous AI Database.<br />
enable_autonomous_database_operations_insightsexecautonomousDatabaseId, regionopc-request-idEnables the specified Autonomous AI Database with Operations Insights.<br />
fail_over_autonomous_databaseexecautonomousDatabaseId, regionif-match, opc-retry-token, opc-request-id, peerDbIdInitiates a failover of the specified Autonomous AI Database to the associated peer database. Applicable only to databases with Disaster Recovery enabled.<br />This API should be called in the remote region where the peer database resides.<br />Below parameter is optional:<br /> - peerDbId<br /> Use this parameter to specify the database OCID of the Disaster Recovery peer, which is located in a different (remote) region from the current peer database.<br /> If this parameter is not provided, the failover will happen in the same region.<br />
generate_autonomous_database_walletexecautonomousDatabaseId, region, passwordopc-request-id, opc-retry-tokenCreates and downloads a wallet for the specified Autonomous AI Database.<br />
saas_admin_user_statusexecautonomousDatabaseId, regionopc-request-idThis operation gets SaaS administrative user status of the Autonomous AI Database.
import_transportable_tablespaceexecautonomousDatabaseId, region, ttsBundleUrlif-match, opc-retry-token, opc-request-idImports transportable tablespace for the specified Autonomous AI Database.<br />
autonomous_database_manual_refreshexecautonomousDatabaseId, regionif-match, opc-retry-token, opc-request-idInitiates a data refresh for an Autonomous AI Database refreshable clone. Data is refreshed from the source database to the point of a specified timestamp.<br />
register_autonomous_database_data_safeexecautonomousDatabaseId, region, pdbAdminPasswordopc-request-idAsynchronously registers this Autonomous AI Database with Data Safe.<br />
restart_autonomous_databaseexecautonomousDatabaseId, regionif-match, isOnlineRestartRestarts the specified Autonomous AI Database.<br />
restore_autonomous_databaseexecautonomousDatabaseId, regionif-matchRestores an Autonomous AI Database based on the provided request parameters.<br />
rotate_autonomous_database_encryption_keyexecautonomousDatabaseId, regionif-match, opc-retry-token, opc-request-idRotate existing AutonomousDatabase [Vault service](/iaas/Content/KeyManagement/Concepts/keyoverview.htm) key.
shrink_autonomous_databaseexecautonomousDatabaseId, regionif-matchThis operation shrinks the current allocated storage down to the current actual used data storage (actualUsedDataStorageSizeInTBs). The if the base storage value for the database (dataStorageSizeInTBs) is larger than the actualUsedDataStorageSizeInTBs value, you are billed for the base storage value.<br />
start_autonomous_databaseexecautonomousDatabaseId, regionif-matchStarts the specified Autonomous AI Database.<br />
stop_autonomous_databaseexecautonomousDatabaseId, regionif-match, opc-request-idStops the specified Autonomous AI Database.<br />
switchover_autonomous_databaseexecautonomousDatabaseId, regionif-match, opc-retry-token, opc-request-id, peerDbIdInitiates a switchover of the specified Autonomous AI Database to the associated peer database. Applicable only to databases with Disaster Recovery enabled.<br />This API should be called in the remote region where the peer database resides.<br />Below parameter is optional:<br /> - peerDbId<br /> Use this parameter to specify the database OCID of the Disaster Recovery peer, which is located in a different (remote) region from the current peer database.<br /> If this parameter is not provided, the switchover will happen in the same region.<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
autonomousDatabaseIdstringThe 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)
autonomousContainerDatabaseIdstringThe Autonomous Container Database [OCID](/Content/General/Concepts/identifiers.htm).
dbVersionstringA filter to return only Autonomous AI Database resources that match the specified dbVersion.
dbWorkloadstringA filter to return only Autonomous AI Database resources that match the specified workload type.
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.
isDataGuardEnabledbooleanA filter to return only resources that have Data Guard enabled.
isFreeTierbooleanFilter on the value of the resource's 'isFreeTier' property. A value of true returns only Always Free resources. A value of false excludes Always Free resources from the returned results. Omitting this parameter returns both Always Free and paid resources.
isOnlineRestartbooleanIf provided, an online restart will be triggered.
isRefreshableClonebooleanFilter on the value of the resource's 'isRefreshableClone' property. A value of true returns only refreshable clones. A value of false excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones.
isResourcePoolLeaderbooleanFilter if the resource is the resource pool leader. A value of true returns only resource pool leader.
lifecycleStatestringA filter to return only resources that match the given lifecycle state exactly.
lifecycleStateNotEqualTostringA filter to return only resources that not match the given lifecycle state.
limitintegerThe maximum number of items to return per page.
mustDeleteAssociatedLongTermBackupsbooleanIf set to true, terminating the Autonomous AI Database also deletes its associated long-term backups if the retention lock is not enabled.
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.
peerDbIdstringThe database OCID(/Content/General/Concepts/identifiers.htm) of the Disaster Recovery peer (source Primary) database, which is located in a different (remote) region from the current peer database.
resourcePoolLeaderIdstringThe database [OCID](/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous AI Database.
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 the details of the specified Autonomous AI Database.<br />

SELECT
id,
accessTypes,
actualUsedDataStorageSizeInTBs,
allocatedStorageSizeInTBs,
apexDetails,
arePrimaryWhitelistedIpsUsed,
autoRefreshFrequencyInSeconds,
autoRefreshPointLagInSeconds,
autonomousContainerDatabaseId,
autonomousMaintenanceScheduleType,
availabilityDomain,
availableUpgradeVersions,
backupConfig,
byolComputeCountLimit,
characterSet,
cloneTableSpaceList,
cloneType,
clusterPlacementGroupId,
compartmentId,
computeCount,
computeModel,
connectionStrings,
connectionUrls,
cpuCoreCount,
customerContacts,
dataSafeStatus,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
databaseEdition,
databaseManagementStatus,
dataguardRegionType,
dbName,
dbToolsDetails,
dbVersion,
dbWorkload,
definedTags,
disasterRecoveryRegionType,
displayName,
encryptionKey,
encryptionKeyHistoryEntry,
failedDataRecoveryInSeconds,
freeformTags,
inMemoryAreaInGBs,
inMemoryPercentage,
infrastructureType,
isAccessControlEnabled,
isAutoScalingEnabled,
isAutoScalingForStorageEnabled,
isBackupRetentionLocked,
isDataGuardEnabled,
isDedicated,
isDevTier,
isFreeTier,
isLocalDataGuardEnabled,
isMtlsConnectionRequired,
isPreview,
isReconnectCloneEnabled,
isRefreshableClone,
isRemoteDataGuardEnabled,
keyHistoryEntry,
keyStoreId,
keyStoreWalletName,
kmsKeyId,
kmsKeyLifecycleDetails,
kmsKeyVersionId,
licenseModel,
lifecycleDetails,
lifecycleState,
localAdgAutoFailoverMaxDataLossLimit,
localDisasterRecoveryType,
localStandbyDb,
longTermBackupSchedule,
maintenanceTargetComponent,
memoryPerOracleComputeUnitInGBs,
ncharacterSet,
netServicesArchitecture,
nextLongTermBackupTimeStamp,
nsgIds,
ocpuCount,
openMode,
operationsInsightsStatus,
peerDbIds,
permissionLevel,
privateEndpoint,
privateEndpointIp,
privateEndpointLabel,
provisionableCpus,
publicConnectionUrls,
publicEndpoint,
refreshableMode,
refreshableStatus,
remoteDisasterRecoveryConfiguration,
resourcePoolLeaderId,
resourcePoolSummary,
role,
scheduledOperations,
securityAttributes,
serviceConsoleUrl,
sourceId,
sqlWebDeveloperUrl,
standbyDb,
standbyWhitelistedIps,
subnetId,
subscriptionId,
supportedRegionsToCloneTo,
systemTags,
timeCreated,
timeDataGuardRoleChanged,
timeDeletionOfFreeAutonomousDatabase,
timeDisasterRecoveryRoleChanged,
timeLocalDataGuardEnabled,
timeMaintenanceBegin,
timeMaintenanceEnd,
timeOfAutoRefreshStart,
timeOfJoiningResourcePool,
timeOfLastFailover,
timeOfLastRefresh,
timeOfLastRefreshPoint,
timeOfLastSwitchover,
timeOfNextRefresh,
timeReclamationOfFreeAutonomousDatabase,
timeUndeleted,
timeUntilReconnectCloneEnabled,
usedDataStorageSizeInGBs,
usedDataStorageSizeInTBs,
vaultId,
whitelistedIps
FROM oci.database.autonomous_databases
WHERE autonomousDatabaseId = '{{ autonomousDatabaseId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;

INSERT examples​

Creates a new Autonomous AI Database.<br />

INSERT INTO oci.database.autonomous_databases (
adminPassword,
arePrimaryWhitelistedIpsUsed,
autonomousContainerDatabaseId,
autonomousMaintenanceScheduleType,
byolComputeCountLimit,
characterSet,
compartmentId,
computeCount,
computeModel,
cpuCoreCount,
customerContacts,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
databaseEdition,
dbName,
dbToolsDetails,
dbVersion,
dbWorkload,
definedTags,
displayName,
encryptionKey,
freeformTags,
inMemoryPercentage,
isAccessControlEnabled,
isAutoScalingEnabled,
isAutoScalingForStorageEnabled,
isBackupRetentionLocked,
isDataGuardEnabled,
isDedicated,
isDevTier,
isFreeTier,
isLocalDataGuardEnabled,
isMtlsConnectionRequired,
isPreviewVersionWithServiceTermsAccepted,
kmsKeyId,
licenseModel,
ncharacterSet,
nsgIds,
ocpuCount,
privateEndpointIp,
privateEndpointLabel,
resourcePoolLeaderId,
resourcePoolSummary,
scheduledOperations,
secretId,
secretVersionNumber,
securityAttributes,
source,
standbyWhitelistedIps,
subnetId,
subscriptionId,
transportableTablespace,
vaultId,
whitelistedIps,
region,
opc-retry-token,
opc-request-id
)
SELECT
'{{ adminPassword }}',
{{ arePrimaryWhitelistedIpsUsed }},
'{{ autonomousContainerDatabaseId }}',
'{{ autonomousMaintenanceScheduleType }}',
{{ byolComputeCountLimit }},
'{{ characterSet }}',
'{{ compartmentId }}' /* required */,
{{ computeCount }},
'{{ computeModel }}',
{{ cpuCoreCount }},
'{{ customerContacts }}',
{{ dataStorageSizeInGBs }},
{{ dataStorageSizeInTBs }},
'{{ databaseEdition }}',
'{{ dbName }}',
'{{ dbToolsDetails }}',
'{{ dbVersion }}',
'{{ dbWorkload }}',
'{{ definedTags }}',
'{{ displayName }}',
'{{ encryptionKey }}',
'{{ freeformTags }}',
{{ inMemoryPercentage }},
{{ isAccessControlEnabled }},
{{ isAutoScalingEnabled }},
{{ isAutoScalingForStorageEnabled }},
{{ isBackupRetentionLocked }},
{{ isDataGuardEnabled }},
{{ isDedicated }},
{{ isDevTier }},
{{ isFreeTier }},
{{ isLocalDataGuardEnabled }},
{{ isMtlsConnectionRequired }},
{{ isPreviewVersionWithServiceTermsAccepted }},
'{{ kmsKeyId }}',
'{{ licenseModel }}',
'{{ ncharacterSet }}',
'{{ nsgIds }}',
{{ ocpuCount }},
'{{ privateEndpointIp }}',
'{{ privateEndpointLabel }}',
'{{ resourcePoolLeaderId }}',
'{{ resourcePoolSummary }}',
'{{ scheduledOperations }}',
'{{ secretId }}',
{{ secretVersionNumber }},
'{{ securityAttributes }}',
'{{ source }}',
'{{ standbyWhitelistedIps }}',
'{{ subnetId }}',
'{{ subscriptionId }}',
'{{ transportableTablespace }}',
'{{ vaultId }}',
'{{ whitelistedIps }}',
'{{ region }}',
'{{ opc-retry-token }}',
'{{ opc-request-id }}'
RETURNING
id,
accessTypes,
actualUsedDataStorageSizeInTBs,
allocatedStorageSizeInTBs,
apexDetails,
arePrimaryWhitelistedIpsUsed,
autoRefreshFrequencyInSeconds,
autoRefreshPointLagInSeconds,
autonomousContainerDatabaseId,
autonomousMaintenanceScheduleType,
availabilityDomain,
availableUpgradeVersions,
backupConfig,
byolComputeCountLimit,
characterSet,
cloneTableSpaceList,
cloneType,
clusterPlacementGroupId,
compartmentId,
computeCount,
computeModel,
connectionStrings,
connectionUrls,
cpuCoreCount,
customerContacts,
dataSafeStatus,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
databaseEdition,
databaseManagementStatus,
dataguardRegionType,
dbName,
dbToolsDetails,
dbVersion,
dbWorkload,
definedTags,
disasterRecoveryRegionType,
displayName,
encryptionKey,
encryptionKeyHistoryEntry,
failedDataRecoveryInSeconds,
freeformTags,
inMemoryAreaInGBs,
inMemoryPercentage,
infrastructureType,
isAccessControlEnabled,
isAutoScalingEnabled,
isAutoScalingForStorageEnabled,
isBackupRetentionLocked,
isDataGuardEnabled,
isDedicated,
isDevTier,
isFreeTier,
isLocalDataGuardEnabled,
isMtlsConnectionRequired,
isPreview,
isReconnectCloneEnabled,
isRefreshableClone,
isRemoteDataGuardEnabled,
keyHistoryEntry,
keyStoreId,
keyStoreWalletName,
kmsKeyId,
kmsKeyLifecycleDetails,
kmsKeyVersionId,
licenseModel,
lifecycleDetails,
lifecycleState,
localAdgAutoFailoverMaxDataLossLimit,
localDisasterRecoveryType,
localStandbyDb,
longTermBackupSchedule,
maintenanceTargetComponent,
memoryPerOracleComputeUnitInGBs,
ncharacterSet,
netServicesArchitecture,
nextLongTermBackupTimeStamp,
nsgIds,
ocpuCount,
openMode,
operationsInsightsStatus,
peerDbIds,
permissionLevel,
privateEndpoint,
privateEndpointIp,
privateEndpointLabel,
provisionableCpus,
publicConnectionUrls,
publicEndpoint,
refreshableMode,
refreshableStatus,
remoteDisasterRecoveryConfiguration,
resourcePoolLeaderId,
resourcePoolSummary,
role,
scheduledOperations,
securityAttributes,
serviceConsoleUrl,
sourceId,
sqlWebDeveloperUrl,
standbyDb,
standbyWhitelistedIps,
subnetId,
subscriptionId,
supportedRegionsToCloneTo,
systemTags,
timeCreated,
timeDataGuardRoleChanged,
timeDeletionOfFreeAutonomousDatabase,
timeDisasterRecoveryRoleChanged,
timeLocalDataGuardEnabled,
timeMaintenanceBegin,
timeMaintenanceEnd,
timeOfAutoRefreshStart,
timeOfJoiningResourcePool,
timeOfLastFailover,
timeOfLastRefresh,
timeOfLastRefreshPoint,
timeOfLastSwitchover,
timeOfNextRefresh,
timeReclamationOfFreeAutonomousDatabase,
timeUndeleted,
timeUntilReconnectCloneEnabled,
usedDataStorageSizeInGBs,
usedDataStorageSizeInTBs,
vaultId,
whitelistedIps
;

UPDATE examples​

Updates one or more attributes of the specified Autonomous AI Database. See the UpdateAutonomousDatabaseDetails resource for a full list of attributes that can be updated.<br />

UPDATE oci.database.autonomous_databases
SET
adminPassword = '{{ adminPassword }}',
arePrimaryWhitelistedIpsUsed = {{ arePrimaryWhitelistedIpsUsed }},
autoRefreshFrequencyInSeconds = {{ autoRefreshFrequencyInSeconds }},
autoRefreshPointLagInSeconds = {{ autoRefreshPointLagInSeconds }},
autonomousMaintenanceScheduleType = '{{ autonomousMaintenanceScheduleType }}',
backupRetentionPeriodInDays = {{ backupRetentionPeriodInDays }},
byolComputeCountLimit = {{ byolComputeCountLimit }},
computeCount = {{ computeCount }},
computeModel = '{{ computeModel }}',
cpuCoreCount = {{ cpuCoreCount }},
customerContacts = '{{ customerContacts }}',
dataStorageSizeInGBs = {{ dataStorageSizeInGBs }},
dataStorageSizeInTBs = {{ dataStorageSizeInTBs }},
databaseEdition = '{{ databaseEdition }}',
dbName = '{{ dbName }}',
dbToolsDetails = '{{ dbToolsDetails }}',
dbVersion = '{{ dbVersion }}',
dbWorkload = '{{ dbWorkload }}',
definedTags = '{{ definedTags }}',
displayName = '{{ displayName }}',
encryptionKey = '{{ encryptionKey }}',
freeformTags = '{{ freeformTags }}',
inMemoryPercentage = {{ inMemoryPercentage }},
isAccessControlEnabled = {{ isAccessControlEnabled }},
isAutoScalingEnabled = {{ isAutoScalingEnabled }},
isAutoScalingForStorageEnabled = {{ isAutoScalingForStorageEnabled }},
isBackupRetentionLocked = {{ isBackupRetentionLocked }},
isDataGuardEnabled = {{ isDataGuardEnabled }},
isDevTier = {{ isDevTier }},
isDisconnectPeer = {{ isDisconnectPeer }},
isFreeTier = {{ isFreeTier }},
isLocalDataGuardEnabled = {{ isLocalDataGuardEnabled }},
isMtlsConnectionRequired = {{ isMtlsConnectionRequired }},
isRefreshableClone = {{ isRefreshableClone }},
isSqlWebDeveloperEnabled = {{ isSqlWebDeveloperEnabled }},
licenseModel = '{{ licenseModel }}',
localAdgAutoFailoverMaxDataLossLimit = {{ localAdgAutoFailoverMaxDataLossLimit }},
longTermBackupSchedule = '{{ longTermBackupSchedule }}',
nsgIds = '{{ nsgIds }}',
ocpuCount = {{ ocpuCount }},
openMode = '{{ openMode }}',
peerDbId = '{{ peerDbId }}',
permissionLevel = '{{ permissionLevel }}',
privateEndpointIp = '{{ privateEndpointIp }}',
privateEndpointLabel = '{{ privateEndpointLabel }}',
refreshableMode = '{{ refreshableMode }}',
resourcePoolLeaderId = '{{ resourcePoolLeaderId }}',
resourcePoolSummary = '{{ resourcePoolSummary }}',
scheduledOperations = '{{ scheduledOperations }}',
secretId = '{{ secretId }}',
secretVersionNumber = {{ secretVersionNumber }},
securityAttributes = '{{ securityAttributes }}',
standbyWhitelistedIps = '{{ standbyWhitelistedIps }}',
subnetId = '{{ subnetId }}',
timeOfAutoRefreshStart = '{{ timeOfAutoRefreshStart }}',
whitelistedIps = '{{ whitelistedIps }}'
WHERE
autonomousDatabaseId = '{{ autonomousDatabaseId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match}}'
AND opc-request-id = '{{ opc-request-id}}'
RETURNING
id,
accessTypes,
actualUsedDataStorageSizeInTBs,
allocatedStorageSizeInTBs,
apexDetails,
arePrimaryWhitelistedIpsUsed,
autoRefreshFrequencyInSeconds,
autoRefreshPointLagInSeconds,
autonomousContainerDatabaseId,
autonomousMaintenanceScheduleType,
availabilityDomain,
availableUpgradeVersions,
backupConfig,
byolComputeCountLimit,
characterSet,
cloneTableSpaceList,
cloneType,
clusterPlacementGroupId,
compartmentId,
computeCount,
computeModel,
connectionStrings,
connectionUrls,
cpuCoreCount,
customerContacts,
dataSafeStatus,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
databaseEdition,
databaseManagementStatus,
dataguardRegionType,
dbName,
dbToolsDetails,
dbVersion,
dbWorkload,
definedTags,
disasterRecoveryRegionType,
displayName,
encryptionKey,
encryptionKeyHistoryEntry,
failedDataRecoveryInSeconds,
freeformTags,
inMemoryAreaInGBs,
inMemoryPercentage,
infrastructureType,
isAccessControlEnabled,
isAutoScalingEnabled,
isAutoScalingForStorageEnabled,
isBackupRetentionLocked,
isDataGuardEnabled,
isDedicated,
isDevTier,
isFreeTier,
isLocalDataGuardEnabled,
isMtlsConnectionRequired,
isPreview,
isReconnectCloneEnabled,
isRefreshableClone,
isRemoteDataGuardEnabled,
keyHistoryEntry,
keyStoreId,
keyStoreWalletName,
kmsKeyId,
kmsKeyLifecycleDetails,
kmsKeyVersionId,
licenseModel,
lifecycleDetails,
lifecycleState,
localAdgAutoFailoverMaxDataLossLimit,
localDisasterRecoveryType,
localStandbyDb,
longTermBackupSchedule,
maintenanceTargetComponent,
memoryPerOracleComputeUnitInGBs,
ncharacterSet,
netServicesArchitecture,
nextLongTermBackupTimeStamp,
nsgIds,
ocpuCount,
openMode,
operationsInsightsStatus,
peerDbIds,
permissionLevel,
privateEndpoint,
privateEndpointIp,
privateEndpointLabel,
provisionableCpus,
publicConnectionUrls,
publicEndpoint,
refreshableMode,
refreshableStatus,
remoteDisasterRecoveryConfiguration,
resourcePoolLeaderId,
resourcePoolSummary,
role,
scheduledOperations,
securityAttributes,
serviceConsoleUrl,
sourceId,
sqlWebDeveloperUrl,
standbyDb,
standbyWhitelistedIps,
subnetId,
subscriptionId,
supportedRegionsToCloneTo,
systemTags,
timeCreated,
timeDataGuardRoleChanged,
timeDeletionOfFreeAutonomousDatabase,
timeDisasterRecoveryRoleChanged,
timeLocalDataGuardEnabled,
timeMaintenanceBegin,
timeMaintenanceEnd,
timeOfAutoRefreshStart,
timeOfJoiningResourcePool,
timeOfLastFailover,
timeOfLastRefresh,
timeOfLastRefreshPoint,
timeOfLastSwitchover,
timeOfNextRefresh,
timeReclamationOfFreeAutonomousDatabase,
timeUndeleted,
timeUntilReconnectCloneEnabled,
usedDataStorageSizeInGBs,
usedDataStorageSizeInTBs,
vaultId,
whitelistedIps;

DELETE examples​

Deletes the specified Autonomous AI Database.<br />

DELETE FROM oci.database.autonomous_databases
WHERE autonomousDatabaseId = '{{ autonomousDatabaseId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match }}'
AND opc-request-id = '{{ opc-request-id }}'
AND mustDeleteAssociatedLongTermBackups = '{{ mustDeleteAssociatedLongTermBackups }}'
;

Lifecycle Methods​

Lists available resource pools shapes.

EXEC oci.database.autonomous_databases.resource_pool_shapes
@region='{{ region }}' --required,
@if-match='{{ if-match }}',
@opc-retry-token='{{ opc-retry-token }}',
@limit='{{ limit }}',
@page='{{ page }}',
@opc-request-id='{{ opc-request-id }}'
;