Question
lallassu on Mon, 11 Sep 2017 09:58:44
When I fetch VM sizes through the API I get same size for OS-disk for all types of VMs and it's 1TB in size. The allocated storage space seems to be 30GB for example one VM that's using Standard_A1. Is the 1TB max storage that can be allocated per disk? Is there a limit on the blob-storage?
"/subscriptions/prov_subscr_id/providers/Microsoft.Compute/locations/local/vmSizes?api-version=2016-03-30"
{
"name" => "Basic_A0",
"numberOfCores" => 1,
"osDiskSizeInMB" => 1047552,
"resourceDiskSizeInMB" => 20480,
"memoryInMB" => 768,
"maxDataDiskCount" => 1
}
{
"name" => "Standard_A1",
"numberOfCores" => 1,
"osDiskSizeInMB" => 1047552,
"resourceDiskSizeInMB" => 71680,
"memoryInMB" => 1792,
"maxDataDiskCount" => 2
}
{
"name" => "Standard_A2",
"numberOfCores" => 2,
"osDiskSizeInMB" => 1047552,
"resourceDiskSizeInMB" => 138240,
"memoryInMB" => 3584,
"maxDataDiskCount" => 4
}
Replies
Pantelis Apostolidis on Mon, 11 Sep 2017 11:59:12
The [osDiskSizeInMB] is the OS disk size, in MB, allowed by the virtual machine size.
meaning that if you create a VM with custom script or using ASR the maximum value for OS disk is 1TB.
the MAX data (resource) disk size currently is 4TB