Get-AzMLServiceVMSize

Returns supported VM Sizes in a location

Syntax

Get-AzMLServiceVMSize
   -Location <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Returns supported VM Sizes in a location

Examples

Example 1: Returns supported VM Sizes in a location

Get-AzMLServiceVMSize -Location eastus

Family                      Gpu LowPriorityCapable MaxResourceVolumeMb MemoryGb Name                      OSVhdSizeMb PremiumIo SupportedComputeType                         VCpUs
------                      --- ------------------ ------------------- -------- ----                      ----------- --------- --------------------                         -----
standardDFamily             0   True               51200               3.5      Standard_D1               1047552     False     {AmlCompute}                                 1
standardDFamily             0   True               102400              14       Standard_D11              1047552     False     {AmlCompute}                                 2
standardDv2Family           0   True               102400              14       Standard_D11_v2           1047552     False     {AmlCompute, ComputeInstance}                2
standardDFamily             0   True               204800              28       Standard_D12              1047552     False     {AmlCompute}                                 4
standardDv2Family           0   True               204800              28       Standard_D12_v2           1047552     False     {AmlCompute, ComputeInstance}                4

Returns supported VM Sizes in a location.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

The ID of the target subscription.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IVirtualMachineSize