- [Resource: CloudVmCluster](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#CloudVmCluster)
  - [JSON representation](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#CloudVmCluster.SCHEMA_REPRESENTATION)
- [CloudVmClusterProperties](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#CloudVmClusterProperties)
  - [JSON representation](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#CloudVmClusterProperties.SCHEMA_REPRESENTATION)
- [LicenseType](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#LicenseType)
- [DiskRedundancy](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#DiskRedundancy)
- [DataCollectionOptions](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#DataCollectionOptions)
  - [JSON representation](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#DataCollectionOptions.SCHEMA_REPRESENTATION)
- [State](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#State)
- [StorageManagementType](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#StorageManagementType)
- [VmFileSystemStorageType](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#VmFileSystemStorageType)
- [VmBackupStorageType](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#VmBackupStorageType)
- [Methods](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters.md.txt#METHODS_SUMMARY)

## Resource: CloudVmCluster

Details of the Cloud VM Cluster resource. <https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudVmCluster/>

| JSON representation |
|---|
| ``` { "name": string, "exadataInfrastructure": string, "displayName": string, "properties": { object (`CloudVmClusterProperties`) }, "labels": { string: string, ... }, "createTime": string, "cidr": string, "backupSubnetCidr": string, "network": string, "gcpOracleZone": string, "odbNetwork": string, "odbSubnet": string, "backupOdbSubnet": string, "identityConnector": { object (`IdentityConnector`) }, "exascaleDbStorageVault": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloudVmCluster} |
| `exadataInfrastructure` | `string` Required. Immutable. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure} |
| `displayName` | `string` Optional. Immutable. User friendly name for this resource. |
| `properties` | ``object (`CloudVmClusterProperties`)`` Optional. Immutable. Various properties of the VM Cluster. |
| `labels` | `map (key: string, value: string)` Optional. Labels or tags associated with the VM Cluster. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `createTime` | ``string (`Timestamp` format)`` Output only. The date and time that the VM cluster was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `cidr` | `string` Optional. Immutable. Network settings. CIDR to use for cluster IP allocation. |
| `backupSubnetCidr` | `string` Optional. Immutable. CIDR range of the backup subnet. |
| `network` | `string` Optional. Immutable. The name of the VPC network. Format: projects/{project}/global/networks/{network} |
| `gcpOracleZone` | `string` Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcpOracleZone of the CloudExadataInfrastructure. Example: us-east4-b-r2. |
| `odbNetwork` | `string` Optional. Immutable. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odbNetwork} It is optional but if specified, this should match the parent ODBNetwork of the odbSubnet and backupOdbSubnet. |
| `odbSubnet` | `string` Optional. Immutable. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odbNetwork}/odbSubnets/{odbSubnet} |
| `backupOdbSubnet` | `string` Optional. Immutable. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odbNetwork}/odbSubnets/{odbSubnet} |
| `identityConnector` | ``object (`IdentityConnector`)`` Output only. The identity connector details which will allow OCI to securely access the resources in the customer project. |
| `exascaleDbStorageVault` | `string` Optional. Immutable. The name of ExascaleDbStorageVault associated with the VM Cluster. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascaleDbStorageVault} |

## CloudVmClusterProperties

Various properties and settings associated with Exadata VM cluster.

| JSON representation |
|---|
| ``` { "ocid": string, "licenseType": enum (`LicenseType`), "giVersion": string, "timeZone": { object (`TimeZone`) }, "sshPublicKeys": [ string ], "nodeCount": integer, "shape": string, "ocpuCount": number, "memorySizeGb": integer, "dbNodeStorageSizeGb": integer, "storageSizeGb": integer, "dataStorageSizeTb": number, "diskRedundancy": enum (`DiskRedundancy`), "sparseDiskgroupEnabled": boolean, "localBackupEnabled": boolean, "hostnamePrefix": string, "diagnosticsDataCollectionOptions": { object (`DataCollectionOptions`) }, "state": enum (`State`), "scanListenerPortTcp": integer, "scanListenerPortTcpSsl": integer, "domain": string, "scanDns": string, "hostname": string, "cpuCoreCount": integer, "systemVersion": string, "scanIpIds": [ string ], "scanDnsRecordId": string, "ociUrl": string, "dbServerOcids": [ string ], "compartmentId": string, "dnsListenerIp": string, "clusterName": string, "computeModel": enum (`ComputeModel`), "storageManagementType": enum (`StorageManagementType`), "vmFileSystemStorageType": enum (`VmFileSystemStorageType`), "vmBackupStorageType": enum (`VmBackupStorageType`) } ``` |

| Fields ||
|---|---|
| `ocid` | `string` Output only. Oracle Cloud Infrastructure ID of VM Cluster. |
| `licenseType` | ``enum (`LicenseType`)`` Required. License type of VM Cluster. |
| `giVersion` | `string` Optional. Grid Infrastructure Version. |
| `timeZone` | ``object (`TimeZone`)`` Optional. Time zone of VM Cluster to set. Defaults to UTC if not specified. |
| `sshPublicKeys[]` | `string` Optional. SSH public keys to be stored with cluster. |
| `nodeCount` | `integer` Optional. Number of database servers. |
| `shape` | `string` Output only. Shape of VM Cluster. |
| `ocpuCount` | `number` Optional. OCPU count per VM. Minimum is 0.1. |
| `memorySizeGb` | `integer` Optional. Memory allocated in GBs. |
| `dbNodeStorageSizeGb` | `integer` Optional. Local storage per VM. |
| `storageSizeGb` | `integer` Output only. The storage allocation for the disk group, in gigabytes (GB). |
| `dataStorageSizeTb` | `number` Optional. The data disk group size to be allocated in TBs. |
| `diskRedundancy` | ``enum (`DiskRedundancy`)`` Optional. The type of redundancy. |
| `sparseDiskgroupEnabled` | `boolean` Optional. Use exadata sparse snapshots. |
| `localBackupEnabled` | `boolean` Optional. Use local backup. |
| `hostnamePrefix` | `string` Optional. Prefix for VM cluster host names. |
| `diagnosticsDataCollectionOptions` | ``object (`DataCollectionOptions`)`` Optional. Data collection options for diagnostics. |
| `state` | ``enum (`State`)`` Output only. State of the cluster. |
| `scanListenerPortTcp` | `integer` Optional. SCAN listener port - TCP |
| `scanListenerPortTcpSsl` | `integer` Optional. SCAN listener port - TLS |
| `domain` | `string` Output only. Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com |
| `scanDns` | `string` Output only. SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com |
| `hostname` | `string` Output only. host name without domain. format: "-" with some suffix. ex: sp2-yi0xq where "sp2" is the hostnamePrefix. |
| `cpuCoreCount` | `integer` Required. Number of enabled CPU cores. |
| `systemVersion` | `string` Optional. Operating system version of the image. |
| `scanIpIds[]` | `string` Output only. OCIDs of scan IPs. |
| `scanDnsRecordId` | `string` Output only. OCID of scan DNS record. |
| `ociUrl` | `string` Output only. Deep link to the OCI console to view this resource. |
| `dbServerOcids[]` | `string` Optional. OCID of database servers. |
| `compartmentId` | `string` Output only. Compartment ID of cluster. |
| `dnsListenerIp` | `string` Output only. DNS listener IP. |
| `clusterName` | `string` Optional. OCI Cluster name. |
| `computeModel` | ``enum (`ComputeModel`)`` Output only. The compute model of the VM Cluster. |
| `storageManagementType` | ``enum (`StorageManagementType`)`` Output only. The storage management type of the VM Cluster. |
| `vmFileSystemStorageType` | ``enum (`VmFileSystemStorageType`)`` Optional. Specifies whether VM file system storage / VM images are stored on local DB server storage or Exascale storage. |
| `vmBackupStorageType` | ``enum (`VmBackupStorageType`)`` Optional. Specifies whether VM backups are stored on local DB server storage or Exascale storage. |

## LicenseType

Different licenses supported.

| Enums ||
|---|---|
| `LICENSE_TYPE_UNSPECIFIED` | Unspecified |
| `LICENSE_INCLUDED` | License included part of offer |
| `BRING_YOUR_OWN_LICENSE` | Bring your own license |

## DiskRedundancy

Types of disk redundancy provided by Oracle.

| Enums ||
|---|---|
| `DISK_REDUNDANCY_UNSPECIFIED` | Unspecified. |
| `HIGH` | High - 3 way mirror. |
| `NORMAL` | Normal - 2 way mirror. |

## DataCollectionOptions

Data collection options for diagnostics.

| JSON representation |
|---|
| ``` { "diagnosticsEventsEnabled": boolean, "healthMonitoringEnabled": boolean, "incidentLogsEnabled": boolean } ``` |

| Fields ||
|---|---|
| `diagnosticsEventsEnabled` | `boolean` Optional. Indicates whether diagnostic collection is enabled for the VM cluster |
| `healthMonitoringEnabled` | `boolean` Optional. Indicates whether health monitoring is enabled for the VM cluster |
| `incidentLogsEnabled` | `boolean` Optional. Indicates whether incident logs and trace collection are enabled for the VM cluster |

## State

The various lifecycle states of the VM cluster.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Default unspecified value. |
| `PROVISIONING` | Indicates that the resource is in provisioning state. |
| `AVAILABLE` | Indicates that the resource is in available state. |
| `UPDATING` | Indicates that the resource is in updating state. |
| `TERMINATING` | Indicates that the resource is in terminating state. |
| `TERMINATED` | Indicates that the resource is in terminated state. |
| `FAILED` | Indicates that the resource is in failed state. |
| `MAINTENANCE_IN_PROGRESS` | Indicates that the resource is in maintenance in progress state. |

## StorageManagementType

The type of storage management for the Cloud VM Cluster.

| Enums ||
|---|---|
| `STORAGE_MANAGEMENT_TYPE_UNSPECIFIED` | Unspecified storage management type. |
| `ASM` | Automatic Storage Management. |
| `EXASCALE` | Exascale storage management. |

## VmFileSystemStorageType

Storage types for VM File System.

| Enums ||
|---|---|
| `VM_FILE_SYSTEM_STORAGE_TYPE_UNSPECIFIED` | Unspecified storage type. |
| `VM_FILE_SYSTEM_STORAGE_TYPE_LOCAL` | Local DB server storage. |
| `VM_FILE_SYSTEM_STORAGE_TYPE_EXASCALE` | Exascale storage. |

## VmBackupStorageType

Storage types for VM Backup.

| Enums ||
|---|---|
| `VM_BACKUP_STORAGE_TYPE_UNSPECIFIED` | Unspecified storage type. |
| `VM_BACKUP_STORAGE_TYPE_LOCAL` | Local DB server storage. |
| `VM_BACKUP_STORAGE_TYPE_EXASCALE` | Exascale storage. |

| ## Methods ||
|---|---|
| ### `create` | Creates a new VM Cluster in a given project and location. |
| ### `delete` | Deletes a single VM Cluster. |
| ### `get` | Gets details of a single VM Cluster. |
| ### `list` | Lists the VM Clusters in a given project and location. |
| ### `patch` | Updates the parameters of a single Vm Cluster. |