Skip to main content

autonomous_vm_clusters

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

Overview​

Nameautonomous_vm_clusters
TypeResource
Idoci.database.autonomous_vm_clusters

Fields​

The following fields are returned by SELECT queries:

Information about the Autonomous VM cluster.

NameDatatypeDescription
idstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the Autonomous VM cluster.
autonomousDataStoragePercentagenumber (float)The percentage of the data storage used for the Autonomous Databases in an Autonomous VM Cluster.
autonomousDataStorageSizeInTBsnumber (double)The data disk group size allocated for Autonomous Databases, in TBs.
availableAutonomousDataStorageSizeInTBsnumber (double)The data disk group size available for Autonomous Databases, in TBs.
availableContainerDatabasesintegerThe number of Autonomous Container Databases that can be created with the currently available local storage.
availableCpusintegerThe numnber of CPU cores available.
availableDataStorageSizeInTBsnumber (double)Deprecated. Use availableAutonomousDataStorageSizeInTBs for Autonomous Databases' data storage availability in TBs.
compartmentIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the compartment.
computeModelstringThe compute model of the Autonomous VM Cluster. ECPU compute model is the recommended model and OCPU compute model is legacy. See [Compute Models in Autonomous Database on Dedicated Exadata #Infrastructure](https:​//docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. (ECPU, OCPU)
cpuCoreCountPerNodeintegerThe number of CPU cores enabled per VM cluster node.
cpuPercentagenumber (float)The percentage of total number of CPUs used in an Autonomous VM Cluster.
cpusEnabledintegerThe number of enabled CPU cores.
cpusLowestScaledValueinteger (int32)The lowest value to which cpus can be scaled down.
dataStorageSizeInGBsnumber (double)The total data storage allocated in GBs.
dataStorageSizeInTBsnumber (double)The total data storage allocated in TBs
dbNodeStorageSizeInGBsintegerThe local node storage allocated in GBs.
dbServersarrayThe list of [OCIDs](/Content/General/Concepts/identifiers.htm) of the Db servers.
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-friendly name for the Autonomous VM cluster. The name does not need to be unique.
distributionAlgorithmstringThe distribution algorithm used for the Autonomous VM cluster. (RESOURCE_OPTIMIZED, DISTRIBUTION_OPTIMIZED)
exadataInfrastructureIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure.
exadataStorageInTBsLowestScaledValuenumber (double)The lowest value to which exadataStorage(in TBs) can be scaled down.
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"}
isLocalBackupEnabledbooleanIf true, database backup on local Exadata storage is configured for the Autonomous VM cluster. If false, database backup on local Exadata storage is not available in the Autonomous VM cluster.
isMtlsEnabledbooleanEnable mutual TLS(mTLS) authentication for database while provisioning a VMCluster. Default is TLS.
lastMaintenanceRunIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the last maintenance run.
licenseModelstringThe Oracle license model that applies to the Autonomous VM cluster. The default is LICENSE_INCLUDED. (LICENSE_INCLUDED, BRING_YOUR_OWN_LICENSE)
lifecycleDetailsstringAdditional information about the current lifecycle state.
lifecycleStatestringThe current state of the Autonomous VM cluster. (PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED, MAINTENANCE_IN_PROGRESS)
maintenanceWindowobjectThe scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
maxAcdsLowestScaledValueinteger (int32)The lowest value to which maximum number of ACDs can be scaled down.
memoryPerOracleComputeUnitInGBsintegerThe amount of memory (in GBs) to be enabled per each CPU core.
memorySizeInGBsintegerThe memory allocated in GBs.
nextMaintenanceRunIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the next maintenance run.
nodeCountinteger (int32)The number of nodes in the Autonomous VM Cluster.
nonProvisionableAutonomousContainerDatabasesintegerThe number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.
ocpusEnablednumber (float)The number of enabled OCPU cores.
provisionableAutonomousContainerDatabasesintegerDeprecated. Use field totalContainerDatabases.
provisionedAutonomousContainerDatabasesintegerThe number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.
provisionedCpusnumber (float)The number of CPUs provisioned in an Autonomous VM Cluster.
reclaimableCpusintegerCPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous 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.
reservedCpusnumber (float)The number of CPUs reserved in an Autonomous VM Cluster.
scanListenerPortNonTlsintegerThe SCAN Listener Non TLS port number. Default value is 1521.
scanListenerPortTlsintegerThe SCAN Listener TLS port number. Default value is 2484.
sgaPercentagenumber (float)Percentage of ECPU memory allocated for SGA(System Global Area).
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 that the Autonomous VM cluster was created.
timeDatabaseSslCertificateExpiresstring (date-time)The date and time of the Database SSL certificate expiration.
timeOrdsCertificateExpiresstring (date-time)The date and time of the ORDS certificate expiration.
timeZonestringThe time zone to use for the Autonomous VM cluster. For details, see [DB System Time Zones](/Content/Database/References/timezones.htm).
totalAutonomousDataStorageInTBsnumber (float)The total data disk group size for Autonomous Databases, in TBs.
totalContainerDatabasesintegerThe total number of Autonomous Container Databases that can be created.
vmClusterNetworkIdstringThe [OCID](/Content/General/Concepts/identifiers.htm) of the VM cluster network.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectautonomousVmClusterId, regionopc-request-idGets information about the specified Autonomous VM cluster for an Exadata Cloud@Customer system. To get information about an Autonomous VM Cluster in the Oracle cloud, see [GetCloudAutonomousVmCluster](#/en/database/latest/CloudAutonomousVmCluster/GetCloudAutonomousVmCluster).<br />
listselectcompartmentId, regionexadataInfrastructureId, limit, page, sortBy, sortOrder, lifecycleState, displayName, opc-request-idGets a list of Exadata Cloud@Customer Autonomous VM clusters in the specified compartment. To list Autonomous VM Clusters in the Oracle Cloud, see [ListCloudAutonomousVmClusters](#/en/database/latest/CloudAutonomousVmCluster/ListCloudAutonomousVmClusters).<br />
createinsertregion, compartmentId, displayName, exadataInfrastructureId, vmClusterNetworkIdopc-retry-token, opc-request-idCreates an Autonomous VM cluster for Exadata Cloud@Customer. To create an Autonomous VM Cluster in the Oracle cloud, see [CreateCloudAutonomousVmCluster](#/en/database/latest/CloudAutonomousVmCluster/CreateCloudAutonomousVmCluster).<br />
updateupdateautonomousVmClusterId, regionif-match, opc-request-idUpdates the specified Autonomous VM cluster for the Exadata Cloud@Customer system.To update an Autonomous VM Cluster in the Oracle cloud, see [UpdateCloudAutonomousVmCluster](#/en/database/latest/CloudAutonomousVmCluster/UpdateCloudAutonomousVmCluster).<br />
deletedeleteautonomousVmClusterId, regionif-match, opc-request-idDeletes the specified Autonomous VM cluster in an Exadata Cloud@Customer system. To delete an Autonomous VM Cluster in the Oracle cloud, see [DeleteCloudAutonomousVmCluster](#/en/database/latest/CloudAutonomousVmCluster/DeleteCloudAutonomousVmCluster).<br />
change_compartmentexecautonomousVmClusterId, region, compartmentIdopc-retry-token, opc-request-id, if-matchMoves an Autonomous VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer only. For systems in the Oracle cloud, see [ChangeAutonomousVmClusterCompartment](#/en/database/latest/AutonomousVmCluster/ChangeAutonomousVmClusterCompartment).<br />
restart_autonomous_vm_cluster_ordsexecautonomousVmClusterId, regionopc-retry-token, opc-request-id, if-matchRestarts Oracle REST Data Services (ORDS) for Autonomous Exadata VM cluster.<br />
rotate_autonomous_vm_cluster_ords_certsexecautonomousVmClusterId, region, certificateGenerationTypeopc-request-id, opc-retry-token, if-matchRotates the Oracle REST Data Services (ORDS) certificates for Autonomous Exadata VM cluster.<br />
rotate_autonomous_vm_cluster_ssl_certsexecautonomousVmClusterId, region, certificateGenerationTypeopc-request-id, opc-retry-token, if-matchRotates the SSL certificates for Autonomous Exadata VM cluster.<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
autonomousVmClusterIdstringThe autonomous VM cluster [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)
displayNamestringA filter to return only resources that match the entire display name given. The match is not case sensitive.
exadataInfrastructureIdstringIf provided, filters the results for the given Exadata Infrastructure.
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.
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.
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.
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC).

SELECT examples​

Gets information about the specified Autonomous VM cluster for an Exadata Cloud@Customer system. To get information about an Autonomous VM Cluster in the Oracle cloud, see [GetCloudAutonomousVmCluster](#/en/database/latest/CloudAutonomousVmCluster/GetCloudAutonomousVmCluster).<br />

SELECT
id,
autonomousDataStoragePercentage,
autonomousDataStorageSizeInTBs,
availableAutonomousDataStorageSizeInTBs,
availableContainerDatabases,
availableCpus,
availableDataStorageSizeInTBs,
compartmentId,
computeModel,
cpuCoreCountPerNode,
cpuPercentage,
cpusEnabled,
cpusLowestScaledValue,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
displayName,
distributionAlgorithm,
exadataInfrastructureId,
exadataStorageInTBsLowestScaledValue,
freeformTags,
isLocalBackupEnabled,
isMtlsEnabled,
lastMaintenanceRunId,
licenseModel,
lifecycleDetails,
lifecycleState,
maintenanceWindow,
maxAcdsLowestScaledValue,
memoryPerOracleComputeUnitInGBs,
memorySizeInGBs,
nextMaintenanceRunId,
nodeCount,
nonProvisionableAutonomousContainerDatabases,
ocpusEnabled,
provisionableAutonomousContainerDatabases,
provisionedAutonomousContainerDatabases,
provisionedCpus,
reclaimableCpus,
reservedCpus,
scanListenerPortNonTls,
scanListenerPortTls,
sgaPercentage,
systemTags,
timeCreated,
timeDatabaseSslCertificateExpires,
timeOrdsCertificateExpires,
timeZone,
totalAutonomousDataStorageInTBs,
totalContainerDatabases,
vmClusterNetworkId
FROM oci.database.autonomous_vm_clusters
WHERE autonomousVmClusterId = '{{ autonomousVmClusterId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;

INSERT examples​

Creates an Autonomous VM cluster for Exadata Cloud@Customer. To create an Autonomous VM Cluster in the Oracle cloud, see [CreateCloudAutonomousVmCluster](#/en/database/latest/CloudAutonomousVmCluster/CreateCloudAutonomousVmCluster).<br />

INSERT INTO oci.database.autonomous_vm_clusters (
autonomousDataStorageSizeInTBs,
compartmentId,
computeModel,
cpuCoreCountPerNode,
dbServers,
definedTags,
displayName,
distributionAlgorithm,
exadataInfrastructureId,
freeformTags,
isLocalBackupEnabled,
isMtlsEnabled,
licenseModel,
maintenanceWindowDetails,
memoryPerOracleComputeUnitInGBs,
scanListenerPortNonTls,
scanListenerPortTls,
sgaPercentage,
timeZone,
totalContainerDatabases,
vmClusterNetworkId,
region,
opc-retry-token,
opc-request-id
)
SELECT
{{ autonomousDataStorageSizeInTBs }},
'{{ compartmentId }}' /* required */,
'{{ computeModel }}',
{{ cpuCoreCountPerNode }},
'{{ dbServers }}',
'{{ definedTags }}',
'{{ displayName }}' /* required */,
'{{ distributionAlgorithm }}',
'{{ exadataInfrastructureId }}' /* required */,
'{{ freeformTags }}',
{{ isLocalBackupEnabled }},
{{ isMtlsEnabled }},
'{{ licenseModel }}',
'{{ maintenanceWindowDetails }}',
{{ memoryPerOracleComputeUnitInGBs }},
{{ scanListenerPortNonTls }},
{{ scanListenerPortTls }},
{{ sgaPercentage }},
'{{ timeZone }}',
{{ totalContainerDatabases }},
'{{ vmClusterNetworkId }}' /* required */,
'{{ region }}',
'{{ opc-retry-token }}',
'{{ opc-request-id }}'
RETURNING
id,
autonomousDataStoragePercentage,
autonomousDataStorageSizeInTBs,
availableAutonomousDataStorageSizeInTBs,
availableContainerDatabases,
availableCpus,
availableDataStorageSizeInTBs,
compartmentId,
computeModel,
cpuCoreCountPerNode,
cpuPercentage,
cpusEnabled,
cpusLowestScaledValue,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
displayName,
distributionAlgorithm,
exadataInfrastructureId,
exadataStorageInTBsLowestScaledValue,
freeformTags,
isLocalBackupEnabled,
isMtlsEnabled,
lastMaintenanceRunId,
licenseModel,
lifecycleDetails,
lifecycleState,
maintenanceWindow,
maxAcdsLowestScaledValue,
memoryPerOracleComputeUnitInGBs,
memorySizeInGBs,
nextMaintenanceRunId,
nodeCount,
nonProvisionableAutonomousContainerDatabases,
ocpusEnabled,
provisionableAutonomousContainerDatabases,
provisionedAutonomousContainerDatabases,
provisionedCpus,
reclaimableCpus,
reservedCpus,
scanListenerPortNonTls,
scanListenerPortTls,
sgaPercentage,
systemTags,
timeCreated,
timeDatabaseSslCertificateExpires,
timeOrdsCertificateExpires,
timeZone,
totalAutonomousDataStorageInTBs,
totalContainerDatabases,
vmClusterNetworkId
;

UPDATE examples​

Updates the specified Autonomous VM cluster for the Exadata Cloud@Customer system.To update an Autonomous VM Cluster in the Oracle cloud, see [UpdateCloudAutonomousVmCluster](#/en/database/latest/CloudAutonomousVmCluster/UpdateCloudAutonomousVmCluster).<br />

UPDATE oci.database.autonomous_vm_clusters
SET
autonomousDataStorageSizeInTBs = {{ autonomousDataStorageSizeInTBs }},
cpuCoreCountPerNode = {{ cpuCoreCountPerNode }},
definedTags = '{{ definedTags }}',
distributionAlgorithm = '{{ distributionAlgorithm }}',
freeformTags = '{{ freeformTags }}',
isMtlsEnabled = {{ isMtlsEnabled }},
licenseModel = '{{ licenseModel }}',
maintenanceWindowDetails = '{{ maintenanceWindowDetails }}',
scanListenerPortNonTls = {{ scanListenerPortNonTls }},
scanListenerPortTls = {{ scanListenerPortTls }},
timeZone = '{{ timeZone }}',
totalContainerDatabases = {{ totalContainerDatabases }}
WHERE
autonomousVmClusterId = '{{ autonomousVmClusterId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match}}'
AND opc-request-id = '{{ opc-request-id}}'
RETURNING
id,
autonomousDataStoragePercentage,
autonomousDataStorageSizeInTBs,
availableAutonomousDataStorageSizeInTBs,
availableContainerDatabases,
availableCpus,
availableDataStorageSizeInTBs,
compartmentId,
computeModel,
cpuCoreCountPerNode,
cpuPercentage,
cpusEnabled,
cpusLowestScaledValue,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
displayName,
distributionAlgorithm,
exadataInfrastructureId,
exadataStorageInTBsLowestScaledValue,
freeformTags,
isLocalBackupEnabled,
isMtlsEnabled,
lastMaintenanceRunId,
licenseModel,
lifecycleDetails,
lifecycleState,
maintenanceWindow,
maxAcdsLowestScaledValue,
memoryPerOracleComputeUnitInGBs,
memorySizeInGBs,
nextMaintenanceRunId,
nodeCount,
nonProvisionableAutonomousContainerDatabases,
ocpusEnabled,
provisionableAutonomousContainerDatabases,
provisionedAutonomousContainerDatabases,
provisionedCpus,
reclaimableCpus,
reservedCpus,
scanListenerPortNonTls,
scanListenerPortTls,
sgaPercentage,
systemTags,
timeCreated,
timeDatabaseSslCertificateExpires,
timeOrdsCertificateExpires,
timeZone,
totalAutonomousDataStorageInTBs,
totalContainerDatabases,
vmClusterNetworkId;

DELETE examples​

Deletes the specified Autonomous VM cluster in an Exadata Cloud@Customer system. To delete an Autonomous VM Cluster in the Oracle cloud, see [DeleteCloudAutonomousVmCluster](#/en/database/latest/CloudAutonomousVmCluster/DeleteCloudAutonomousVmCluster).<br />

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

Lifecycle Methods​

Moves an Autonomous VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer only. For systems in the Oracle cloud, see [ChangeAutonomousVmClusterCompartment](#/en/database/latest/AutonomousVmCluster/ChangeAutonomousVmClusterCompartment).<br />

EXEC oci.database.autonomous_vm_clusters.change_compartment
@autonomousVmClusterId='{{ autonomousVmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"compartmentId": "{{ compartmentId }}"
}'
;