availability_sets_available_sizes
Creates, updates, deletes, gets or lists a availability_sets_available_sizes
resource.
Overview
Name | availability_sets_available_sizes |
Type | Resource |
Id | azure.compute.availability_sets_available_sizes |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the virtual machine size. |
maxDataDiskCount | integer | The maximum number of data disks that can be attached to the virtual machine size. |
memoryInMB | integer | The amount of memory, in MB, supported by the virtual machine size. |
numberOfCores | integer | The number of cores supported by the virtual machine size. For Constrained vCPU capable VM sizes, this number represents the total vCPUs of quota that the VM uses. For accurate vCPU count, please refer to https://docs.microsoft.com/azure/virtual-machines/constrained-vcpu or https://docs.microsoft.com/rest/api/compute/resourceskus/list |
osDiskSizeInMB | integer | The OS disk size, in MB, allowed by the virtual machine size. |
resourceDiskSizeInMB | integer | The resource disk size, in MB, allowed by the virtual machine size. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | availabilitySetName, resourceGroupName, subscriptionId | Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set. |
SELECT
examples
Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.
SELECT
name,
maxDataDiskCount,
memoryInMB,
numberOfCores,
osDiskSizeInMB,
resourceDiskSizeInMB
FROM azure.compute.availability_sets_available_sizes
WHERE availabilitySetName = '{{ availabilitySetName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';