openapi: 3.1.0 info: title: Azure Compute REST Availability Sets API version: '2024-03-01' description: 'Azure Resource Manager (ARM) REST API for managing Azure compute resources (virtual machines, virtual machine scale sets, disks, snapshots, images, availability sets). Requests are sent to `https://management.azure.com` and authenticated with Microsoft Entra ID OAuth 2.0 bearer tokens. ' contact: name: Azure Compute REST API url: https://learn.microsoft.com/en-us/rest/api/compute/ servers: - url: https://management.azure.com description: Azure Resource Manager tags: - name: Availability Sets description: Availability sets paths: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets: get: summary: List availability sets in a resource group operationId: listAvailabilitySets tags: - Availability Sets parameters: - in: path name: subscriptionId required: true schema: type: string - in: path name: resourceGroupName required: true schema: type: string - in: query name: api-version required: true schema: type: string default: '2024-03-01' responses: '200': description: Availability sets content: application/json: schema: type: object security: - entra: [] components: securitySchemes: entra: type: oauth2 description: Microsoft Entra ID OAuth 2.0 bearer token (scope https://management.azure.com/.default) flows: authorizationCode: authorizationUrl: https://login.microsoftonline.com/common/oauth2/v2.0/authorize tokenUrl: https://login.microsoftonline.com/common/oauth2/v2.0/token scopes: https://management.azure.com/.default: Manage Azure resources clientCredentials: tokenUrl: https://login.microsoftonline.com/common/oauth2/v2.0/token scopes: https://management.azure.com/.default: Manage Azure resources