PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/?api-version=2023-09-01
Create or update an availability set.
Servers
- https://management.azure.com/
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 |
---|---|---|---|
id |
String | No |
Resource Id |
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. |
sku.name |
String | No |
The sku name. |
sku.capacity |
Integer | No |
Specifies the number of virtual machines in the scale set. |
name |
String | No |
Resource name |
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:
|
properties.statuses[].code |
String | No |
The status code. |
properties.proximityPlacementGroup |
Object | No | |
properties.proximityPlacementGroup.id |
String | No |
Resource Id |
location |
String | No |
Resource location |
tags |
Object | No |
Resource tags |
type |
String | No |
Resource type |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.