---
title: "Updates a resourcePool."
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/resourcePools/{resourcePoolName}"
tags: ["ResourcePools"]
---

# Updates a resourcePool.

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/resourcePools/{resourcePoolName}`

API to update certain properties of the resourcePool resource.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `resourcePoolName` string, required

## Query parameters

- `api-version` string, required

## Request body

- ResourcePatch — Object containing updates for patch operations.
  - `tags` object — Resource tags.

## Response `200`

Arm resource update successful.

- ResourcePool — Define the resourcePool.
  - `properties` ResourcePoolProperties, required — Describes the properties of a Resource Pool.
    - `uuid` string — Gets or sets a unique identifier for this resource.
    - `vCenterId` string — Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
    - `moRefId` string — Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
    - `inventoryItemId` string — Gets or sets the inventory Item ID for the resource pool.
    - `moName` string — Gets or sets the vCenter Managed Object name for the resource pool.
    - `cpuSharesLevel` string — Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers.
    - `cpuReservationMHz` integer — Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.
    - `cpuLimitMHz` integer — Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources.
    - `memSharesLevel` string — Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers.
    - `memReservationMB` integer — Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.
    - `memLimitMB` integer — Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources.
    - `memOverallUsageGB` integer — Gets the used physical memory on the pool in GB.
    - `memCapacityGB` integer — Gets the total amount of physical memory on the pool in GB.
    - `cpuOverallUsageMHz` integer — Gets the used CPU usage across all cores on the pool in MHz.
    - `cpuCapacityMHz` integer — Gets the max CPU usage across all cores on the pool in MHz.
    - `customResourceName` string — Gets the name of the corresponding resource in Kubernetes.
    - `datastoreIds` string[] — Gets the datastore ARM ids.
    - `networkIds` string[] — Gets the network ARM ids.
    - `statuses` ResourceStatus[] — The resource status information.
      - `type` string — The type of the condition.
      - `status` string — Status of the condition.
      - `reason` string — The reason for the condition's status.
      - `message` string — A human readable message indicating details about the status.
      - `severity` string — Severity with which to treat failures of this type of condition.
      - `lastUpdatedAt` string, date-time — The last update time for this condition.
    - `provisioningState` 'Succeeded' | 'Failed' | 'Canceled' | 'Provisioning' | 'Updating' | 'Deleting' | 'Accepted' | 'Created' — The current deployment state of resource.
  - `location` string, required — Gets or sets the location.
  - `extendedLocation` ExtendedLocation — The extended location.
    - `type` string — The extended location type.
    - `name` string — The extended location name.
  - `systemData` SystemData — unresolved $ref
  - `tags` object — Gets or sets the Resource tags.
  - `name` string — Gets or sets the name.
  - `id` string — Gets or sets the Id.
  - `type` string — Gets or sets the type of the resource.
  - `kind` string — Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.dev/azure/apis/connectedvmware-microsoft-connectedvmwarevsphere.md) · [All operations](https://skmtc.dev/azure/apis/connectedvmware-microsoft-connectedvmwarevsphere/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/connectedvmware-microsoft-connectedvmwarevsphere/revisions/81d67c5b52dd/schema)
