---
title: "PATCH /v1/projects/{projectsId}/locations/{locationsId}/cloudVmClusters/{cloudVmClustersId}"
method: PATCH
path: "/v1/projects/{projectsId}/locations/{locationsId}/cloudVmClusters/{cloudVmClustersId}"
tags: ["projects"]
---

# PATCH /v1/projects/{projectsId}/locations/{locationsId}/cloudVmClusters/{cloudVmClustersId}

`PATCH /v1/projects/{projectsId}/locations/{locationsId}/cloudVmClusters/{cloudVmClustersId}`

## Request

- Base URL: `https://oracledatabase.googleapis.com`
- URL: `https://oracledatabase.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/cloudVmClusters/{cloudVmClustersId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Updates the parameters of a single Vm Cluster.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `cloudVmClustersId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `requestId` string
- `updateMask` string, google-fieldmask

## Request body

- CloudVmCluster: Details of the Cloud VM Cluster resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudVmCluster/
  - `backupOdbSubnet` string: Optional. Immutable. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
  - `backupSubnetCidr` string: Optional. Immutable. CIDR range of the backup subnet.
  - `cidr` string: Optional. Immutable. Network settings. CIDR to use for cluster IP allocation.
  - `createTime` string, google-datetime: Output only. The date and time that the VM cluster was created.
  - `displayName` string: Optional. Immutable. User friendly name for this resource.
  - `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}
  - `exascaleDbStorageVault` string: Optional. Immutable. The name of ExascaleDbStorageVault associated with the VM Cluster. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}
  - `gcpOracleZone` string: Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2.
  - `identityConnector` IdentityConnector: The identity connector details which will allow OCI to securely access the resources in the customer project.
    - `connectionState` 'CONNECTION_STATE_UNSPECIFIED' | 'CONNECTED' | 'PARTIALLY_CONNECTED' | 'DISCONNECTED' | 'UNKNOWN': Output only. The connection state of the identity connector.
    - `identityConnectorId` string: Output only. The unique partner identifier for the Identity Connector, used to establish secure cross-cloud access between Google Cloud and OCI. This corresponds directly to the ID of the OracleDbGcpIdentityConnector resource in Oracle Cloud Infrastructure (OCI).
    - `lifecycleStateDetails` string: Output only. Additional information about the current lifecycle state.
    - `serviceAgentEmail` string: Output only. A google managed service account on which customers can grant roles to access resources in the customer project. Example: `p176944527254-55-75119d87fd8f@gcp-sa-oci.iam.gserviceaccount.com`
    - `workloadIdentityPool` string: Output only. The resource name of the Workload Identity Pool configured for identity federation with OCI. This exact pool name can be used to configure VPC Service Controls (VPC-SC) egress rules. Format: `projects/{project}/locations/global/workloadIdentityPools/{workload_identity_pool}`
  - `identityConnectorDisabled` boolean: Optional. Input only. Immutable. If set to true, disables the automatic provisioning of the Workload Identity Connector during creation. If set to false or omitted, the Workload Identity Connector will be automatically provisioned by default. Note: Provisioning the Workload Identity Connector is a prerequisite for enabling Google Cloud CMEK.
  - `labels` object: Optional. Labels or tags associated with the VM Cluster.
  - `name` string: Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
  - `network` string: Optional. Immutable. The name of the VPC network. Format: projects/{project}/global/networks/{network}
  - `odbDnsZone` string: Optional. Immutable. The name of the OdbDnsZone for using custom domain name for the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
  - `odbNetwork` string: Optional. Immutable. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet.
  - `odbSubnet` string: Optional. Immutable. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
  - `properties` CloudVmClusterProperties: Various properties and settings associated with Exadata VM cluster.
    - `clusterName` string: Optional. OCI Cluster name.
    - `compartmentId` string: Output only. Compartment ID of cluster.
    - `computeModel` 'COMPUTE_MODEL_UNSPECIFIED' | 'COMPUTE_MODEL_ECPU' | 'COMPUTE_MODEL_OCPU': Output only. The compute model of the VM Cluster.
    - `cpuCoreCount` integer: Required. Number of enabled CPU cores.
    - `dataStorageSizeTb` number, double: Optional. The data disk group size to be allocated in TBs.
    - `dbNodeStorageSizeGb` integer: Optional. Local storage per VM.
    - `dbServerOcids` string[]: Optional. OCID of database servers.
    - `diagnosticsDataCollectionOptions` DataCollectionOptions: Data collection options for diagnostics.
      - `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
    - `diskRedundancy` 'DISK_REDUNDANCY_UNSPECIFIED' | 'HIGH' | 'NORMAL': Optional. The type of redundancy.
    - `dnsListenerIp` string: Output only. DNS listener IP.
    - `domain` string: Output only. Parent DNS domain where SCAN DNS and hosts names are qualified. ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
    - `giVersion` string: Optional. Grid Infrastructure Version.
    - `hostname` string: Output only. host name without domain. format: "-" with some suffix. ex: sp2-yi0xq where "sp2" is the hostname_prefix.
    - `hostnamePrefix` string: Optional. Prefix for VM cluster host names.
    - `licenseType` 'LICENSE_TYPE_UNSPECIFIED' | 'LICENSE_INCLUDED' | 'BRING_YOUR_OWN_LICENSE': Required. License type of VM Cluster.
    - `localBackupEnabled` boolean: Optional. Use local backup.
    - `memorySizeGb` integer: Optional. Memory allocated in GBs.
    - `nodeCount` integer: Optional. Number of database servers.
    - `ociUrl` string: Output only. Deep link to the OCI console to view this resource.
    - `ocid` string: Output only. Oracle Cloud Infrastructure ID of VM Cluster.
    - `ocpuCount` number, float: Optional. OCPU count per VM. Minimum is 0.1.
    - `scanDns` string: Output only. SCAN DNS name. ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
    - `scanDnsRecordId` string: Output only. OCID of scan DNS record.
    - `scanIpIds` string[]: Output only. OCIDs of scan IPs.
    - `scanListenerPortTcp` integer: Optional. SCAN listener port - TCP
    - `scanListenerPortTcpSsl` integer: Optional. SCAN listener port - TLS
    - `shape` string: Output only. Shape of VM Cluster.
    - `sparseDiskgroupEnabled` boolean: Optional. Use exadata sparse snapshots.
    - `sshPublicKeys` string[]: Optional. SSH public keys to be stored with cluster.
    - `state` 'STATE_UNSPECIFIED' | 'PROVISIONING' | 'AVAILABLE' | 'UPDATING' | 'TERMINATING' | 'TERMINATED' | 'FAILED' | 'MAINTENANCE_IN_PROGRESS': Output only. State of the cluster.
    - `storageManagementType` 'STORAGE_MANAGEMENT_TYPE_UNSPECIFIED' | 'ASM' | 'EXASCALE': Output only. The storage management type of the VM Cluster.
    - `storageSizeGb` integer: Output only. The storage allocation for the disk group, in gigabytes (GB).
    - `systemVersion` string: Optional. Operating system version of the image.
    - `timeZone` TimeZone: Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).
      - `id` string: IANA Time Zone Database time zone. For example "America/New_York".
      - `version` string: Optional. IANA Time Zone Database version number. For example "2019a".
    - `vmBackupStorageType` 'VM_BACKUP_STORAGE_TYPE_UNSPECIFIED' | 'VM_BACKUP_STORAGE_TYPE_LOCAL' | 'VM_BACKUP_STORAGE_TYPE_EXASCALE': Optional. Specifies whether VM backups are stored on local DB server storage or Exascale storage.
    - `vmFileSystemStorageType` 'VM_FILE_SYSTEM_STORAGE_TYPE_UNSPECIFIED' | 'VM_FILE_SYSTEM_STORAGE_TYPE_LOCAL' | 'VM_FILE_SYSTEM_STORAGE_TYPE_EXASCALE': Optional. Specifies whether VM file system storage / VM images are stored on local DB server storage or Exascale storage.

## Response `200`

Successful response

- Operation: This resource represents a long-running operation that is the result of a network API call.
  - `done` boolean: If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
  - `error` Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
    - `code` integer: The status code, which should be an enum value of google.rpc.Code.
    - `details` object[]: A list of messages that carry the error details. There is a common set of message types for APIs to use.
    - `message` string: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
  - `metadata` object: Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
  - `name` string: The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
  - `response` object: The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

---

[API](https://skmtc.dev/google/apis/oracledatabase.md) - [All operations](https://skmtc.dev/google/apis/oracledatabase/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/oracledatabase/revisions/215e9c1e9c3f?raw)
