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

# PATCH /v1/projects/{projectsId}/locations/{locationsId}/cloudExadataInfrastructures/{cloudExadataInfrastructuresId}

`PATCH /v1/projects/{projectsId}/locations/{locationsId}/cloudExadataInfrastructures/{cloudExadataInfrastructuresId}`

## Request

- Base URL: `https://oracledatabase.googleapis.com`
- URL: `https://oracledatabase.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/cloudExadataInfrastructures/{cloudExadataInfrastructuresId}`
- 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 Exadata Infrastructure.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `cloudExadataInfrastructuresId` 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

- CloudExadataInfrastructure: Represents CloudExadataInfrastructure resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/
  - `createTime` string, google-datetime: Output only. The date and time that the Exadata Infrastructure was created.
  - `displayName` string: Optional. Immutable. User friendly name for this resource.
  - `entitlementId` string: Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
  - `gcpOracleZone` string: Optional. Immutable. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
  - `labels` object: Optional. Labels or tags associated with the resource.
  - `name` string: Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
  - `properties` CloudExadataInfrastructureProperties: Various properties of Exadata Infrastructure.
    - `activatedStorageCount` integer: Output only. The requested number of additional storage servers activated for the Exadata Infrastructure.
    - `additionalStorageCount` integer: Output only. The requested number of additional storage servers for the Exadata Infrastructure.
    - `availableStorageSizeGb` integer: Output only. The available storage can be allocated to the Exadata Infrastructure resource, in gigabytes (GB).
    - `computeCount` integer: Optional. The number of compute servers for the Exadata Infrastructure.
    - `computeModel` 'COMPUTE_MODEL_UNSPECIFIED' | 'COMPUTE_MODEL_ECPU' | 'COMPUTE_MODEL_OCPU': Output only. The compute model of the Exadata Infrastructure.
    - `cpuCount` integer: Output only. The number of enabled CPU cores.
    - `customerContacts` CustomerContact[]: Optional. The list of customer contacts.
      - `email` string: Required. The email address used by Oracle to send notifications regarding databases and infrastructure.
    - `dataStorageSizeTb` number, double: Output only. Size, in terabytes, of the DATA disk group.
    - `databaseServerType` string: Optional. The database server type of the Exadata Infrastructure.
    - `dbNodeStorageSizeGb` integer: Output only. The local node storage allocated in GBs.
    - `dbServerVersion` string: Output only. The software version of the database servers (dom0) in the Exadata Infrastructure.
    - `exascaleConfig` ExascaleConfig: Details of the Exascale configuration for the Exadata Infrastructure.
      - `availableStorageSizeGb` integer: Output only. Available storage size for Exascale in GBs.
      - `availableVmStorageSizeGb` integer: Output only. Available storage size for VM storage on Exascale in GBs.
      - `totalStorageSizeGb` integer: Output only. Total storage size needed for Exascale in GBs.
      - `totalVmStorageSizeGb` integer: Output only. Storage size needed for VM storage on Exascale in GBs.
    - `maintenanceWindow` MaintenanceWindow: Maintenance window as defined by Oracle. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindow
      - `customActionTimeoutMins` integer: Optional. Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive).
      - `daysOfWeek` string[]: Optional. Days during the week when maintenance should be performed.
      - `hoursOfDay` integer[]: Optional. The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are: 0 - represents time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time slot 20:00 - 23:59 UTC
      - `isCustomActionTimeoutEnabled` boolean: Optional. If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations.
      - `leadTimeWeek` integer: Optional. Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4.
      - `months` string[]: Optional. Months during the year when maintenance should be performed.
      - `patchingMode` 'PATCHING_MODE_UNSPECIFIED' | 'ROLLING' | 'NON_ROLLING': Optional. Cloud CloudExadataInfrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
      - `preference` 'MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED' | 'CUSTOM_PREFERENCE' | 'NO_PREFERENCE': Optional. The maintenance window scheduling preference.
      - `weeksOfMonth` integer[]: Optional. Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week.
    - `maxCpuCount` integer: Output only. The total number of CPU cores available.
    - `maxDataStorageTb` number, double: Output only. The total available DATA disk group size.
    - `maxDbNodeStorageSizeGb` integer: Output only. The total local node storage available in GBs.
    - `maxMemoryGb` integer: Output only. The total memory available in GBs.
    - `memorySizeGb` integer: Output only. The memory allocated in GBs.
    - `monthlyDbServerVersion` string: Output only. The monthly software version of the database servers (dom0) in the Exadata Infrastructure. Example: 20.1.15
    - `monthlyStorageServerVersion` string: Output only. The monthly software version of the storage servers (cells) in the Exadata Infrastructure. Example: 20.1.15
    - `nextMaintenanceRunId` string: Output only. The OCID of the next maintenance run.
    - `nextMaintenanceRunTime` string, google-datetime: Output only. The time when the next maintenance run will occur.
    - `nextSecurityMaintenanceRunTime` string, google-datetime: Output only. The time when the next security maintenance run will occur.
    - `ociUrl` string: Output only. Deep link to the OCI console to view this resource.
    - `ocid` string: Output only. OCID of created infra. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
    - `shape` string: Required. The shape of the Exadata Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
    - `state` 'STATE_UNSPECIFIED' | 'PROVISIONING' | 'AVAILABLE' | 'UPDATING' | 'TERMINATING' | 'TERMINATED' | 'FAILED' | 'MAINTENANCE_IN_PROGRESS': Output only. The current lifecycle state of the Exadata Infrastructure.
    - `storageCount` integer: Optional. The number of Cloud Exadata storage servers for the Exadata Infrastructure.
    - `storageServerType` string: Optional. The storage server type of the Exadata Infrastructure.
    - `storageServerVersion` string: Output only. The software version of the storage servers (cells) in the Exadata Infrastructure.
    - `totalStorageSizeGb` integer: Optional. The total storage allocated to the Exadata Infrastructure resource, in gigabytes (GB).

## 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)
