Skip to main content

exadb_vm_clusters

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

Overview

Nameexadb_vm_clusters
TypeResource
Idgoogle.oracledatabase.exadb_vm_clusters

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The name of the ExadbVmCluster resource in the following format: projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster}
backupOdbSubnetstringRequired. Immutable. The name of the backup OdbSubnet associated with the ExadbVmCluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
createTimestring (google-datetime)Output only. The date and time that the ExadbVmCluster was created.
displayNamestringRequired. Immutable. The display name for the ExadbVmCluster. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.
entitlementIdstringOutput only. The ID of the subscription entitlement associated with the ExadbVmCluster.
gcpOracleZonestringOutput only. Immutable. The GCP Oracle zone where Oracle ExadbVmCluster is hosted. Example: us-east4-b-r2. During creation, the system will pick the zone assigned to the ExascaleDbStorageVault.
labelsobjectOptional. The labels or tags associated with the ExadbVmCluster.
odbNetworkstringOptional. Immutable. The name of the OdbNetwork associated with the ExadbVmCluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
odbSubnetstringRequired. Immutable. The name of the OdbSubnet associated with the ExadbVmCluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
propertiesobjectRequired. The properties of the ExadbVmCluster. (id: ExadbVmClusterProperties)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, exadbVmClustersIdGets details of a single Exadb (Exascale) VM Cluster.
listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists all the Exadb (Exascale) VM Clusters for the given project and location.
createinsertprojectsId, locationsIdexadbVmClusterId, requestIdCreates a new Exadb (Exascale) VM Cluster resource.
patchupdateprojectsId, locationsId, exadbVmClustersIdupdateMask, requestIdUpdates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count.
deletedeleteprojectsId, locationsId, exadbVmClustersIdrequestIdDeletes a single Exadb (Exascale) VM Cluster.

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
exadbVmClustersIdstring
locationsIdstring
projectsIdstring
exadbVmClusterIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

Gets details of a single Exadb (Exascale) VM Cluster.

SELECT
name,
backupOdbSubnet,
createTime,
displayName,
entitlementId,
gcpOracleZone,
labels,
odbNetwork,
odbSubnet,
properties
FROM google.oracledatabase.exadb_vm_clusters
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND exadbVmClustersId = '{{ exadbVmClustersId }}' -- required
;

INSERT examples

Creates a new Exadb (Exascale) VM Cluster resource.

INSERT INTO google.oracledatabase.exadb_vm_clusters (
data__name,
data__properties,
data__labels,
data__odbNetwork,
data__odbSubnet,
data__backupOdbSubnet,
data__displayName,
projectsId,
locationsId,
exadbVmClusterId,
requestId
)
SELECT
'{{ name }}',
'{{ properties }}',
'{{ labels }}',
'{{ odbNetwork }}',
'{{ odbSubnet }}',
'{{ backupOdbSubnet }}',
'{{ displayName }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ exadbVmClusterId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm cluster, only pass the node count.

UPDATE google.oracledatabase.exadb_vm_clusters
SET
data__name = '{{ name }}',
data__properties = '{{ properties }}',
data__labels = '{{ labels }}',
data__odbNetwork = '{{ odbNetwork }}',
data__odbSubnet = '{{ odbSubnet }}',
data__backupOdbSubnet = '{{ backupOdbSubnet }}',
data__displayName = '{{ displayName }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND exadbVmClustersId = '{{ exadbVmClustersId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes a single Exadb (Exascale) VM Cluster.

DELETE FROM google.oracledatabase.exadb_vm_clusters
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND exadbVmClustersId = '{{ exadbVmClustersId }}' --required
AND requestId = '{{ requestId }}'
;