Edit

Share via


Get-AzMLServiceVMSize

Returns supported VM Sizes in a location

Syntax

Default (Default)

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.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Location

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

IVirtualMachineSize