Skip to main content

virtual_machine_sizes

Creates, updates, deletes, gets or lists a virtual_machine_sizes resource.

Overview

Namevirtual_machine_sizes
TypeResource
Idazure.ml_services.virtual_machine_sizes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the virtual machine size. (title: Virtual Machine size name)
estimatedVMPricesobjectThe estimated price information for using a VM. (title: Estimated VM prices)
familystringThe family name of the virtual machine size. (title: Virtual Machine family name)
gpusinteger (int32)The number of gPUs supported by the virtual machine size. (title: Number of gPUs)
lowPriorityCapablebooleanSpecifies if the virtual machine size supports low priority VMs. (title: Low priority capable)
maxResourceVolumeMBinteger (int32)The resource volume size, in MB, allowed by the virtual machine size. (title: Resource volume size)
memoryGBnumber (double)The amount of memory, in GB, supported by the virtual machine size. (title: Memory size)
osVhdSizeMBinteger (int32)The OS VHD disk size, in MB, allowed by the virtual machine size. (title: OS VHD Disk size)
premiumIObooleanSpecifies if the virtual machine size supports premium IO. (title: Premium IO supported)
supportedComputeTypesarraySpecifies the compute types supported by the virtual machine size. (title: Supported Compute Types)
vCPUsinteger (int32)The number of vCPUs supported by the virtual machine size. (title: Number of vPUs)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscriptionIdReturns supported VM Sizes in a location

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe location upon which virtual-machine-sizes is queried.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Returns supported VM Sizes in a location

SELECT
name,
estimatedVMPrices,
family,
gpus,
lowPriorityCapable,
maxResourceVolumeMB,
memoryGB,
osVhdSizeMB,
premiumIO,
supportedComputeTypes,
vCPUs
FROM azure.ml_services.virtual_machine_sizes
WHERE location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;