---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}"
tags: ["StandbyVirtualMachinePools"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}`

Update a StandbyVirtualMachinePoolResource

## Path parameters

- `standbyVirtualMachinePoolName` string, required

## Parameters

- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## Request body

- StandbyVirtualMachinePoolResourceUpdate — The type used for update operations of the StandbyVirtualMachinePoolResource.
  - `tags` object — Resource tags.
  - `properties` StandbyVirtualMachinePoolResourceUpdateProperties — The updatable properties of the StandbyVirtualMachinePoolResource.
    - `elasticityProfile` StandbyVirtualMachinePoolElasticityProfile — Details of the elasticity profile.
      - `maxReadyCapacity` integer, required — Specifies the maximum number of virtual machines in the standby virtual machine pool.
      - `minReadyCapacity` integer — Specifies the desired minimum number of virtual machines in the standby virtual machine pool. MinReadyCapacity cannot exceed MaxReadyCapacity.
      - `postProvisioningDelay` string — Specifies the duration to wait after virtual machine provisioning before the virtual machine becomes available for use. The duration should be specified in ISO 8601 format (e.g., PT2S for 2 seconds).
      - `dynamicSizing` DynamicSizing — Specifies the dynamic sizing configuration.
        - `enabled` boolean — Indicates whether dynamic sizing is enabled for the standby pool.
    - `virtualMachineState` 'Running' | 'Deallocated' | 'Hibernated' | 'Mix' — State of standby virtual machines
    - `vmStateDistribution` VmStateDistribution — Specifies the distribution of virtual machine states in the pool.
      - `runningPercent` integer — Specifies the percentage of virtual machines in the Running state in the standby pool.
      - `deallocatedPercent` integer — Specifies the percentage of virtual machines in the Deallocated state in the standby pool.
      - `hibernatedPercent` integer — Specifies the percentage of virtual machines in the Hibernated state in the standby pool.
    - `attachedVirtualMachineScaleSetId` string, arm-id — Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.

## Response `200`

Azure operation completed successfully.

- StandbyVirtualMachinePoolResource — unresolved $ref

## Other responses

- `default` — An unexpected error response.

---

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