PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/?api-version=2023-09-01

Update an availability set.

Servers

Path parameters

Name Type Required Description
availabilitySetName String Yes

The name of the availability set.

subscriptionId String Yes

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupName String Yes

The name of the resource group.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
sku Object No

Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.

sku.tier String No

Specifies the tier of virtual machines in a scale set.

Possible Values:

Standard

Basic

sku.name String No

The sku name.

sku.capacity Integer No

Specifies the number of virtual machines in the scale set.

properties Object No

The instance view of a resource.

properties.virtualMachines[] Array No

A list of references to all virtual machines in the availability set.

properties.virtualMachines[].id String No

Resource Id

properties.platformFaultDomainCount Integer No

Fault Domain count.

properties.platformUpdateDomainCount Integer No

Update Domain count.

properties.statuses[] Array No

The resource status information.

properties.statuses[].time String No

The time of the status.

properties.statuses[].displayStatus String No

The short localizable label for the status.

properties.statuses[].message String No

The detailed status message, including for alerts and error messages.

properties.statuses[].level String No

The level code.

Possible values:

  • "Error"
  • "Warning"
  • "Info"
properties.statuses[].code String No

The status code.

properties.proximityPlacementGroup Object No
properties.proximityPlacementGroup.id String No

Resource Id

tags Object No

Resource tags

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.