Virtual Machine Sizes - List

This API is deprecated. Use Resources Skus

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes?api-version=2018-06-01

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

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

location
path True
  • string

The location upon which virtual-machine-sizes is queried.

Regex pattern: ^[-\w\._]+$

api-version
query True
  • string

Client Api Version.

Responses

Name Type Description
200 OK

OK

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Definitions

VirtualMachineSize

Describes the properties of a VM size.

VirtualMachineSizeListResult

The List Virtual Machine operation response.

VirtualMachineSize

Describes the properties of a VM size.

Name Type Description
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.

name
  • string

The name of the virtual machine size.

numberOfCores
  • integer

The number of cores supported by the virtual machine size.

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.

VirtualMachineSizeListResult

The List Virtual Machine operation response.

Name Type Description
value

The list of virtual machine sizes.