Bearbeiten

Freigeben über


Get-AzBatchSupportedVirtualMachineSku

Gets the list of Batch supported Virtual Machine VM sizes available at the given location.

Syntax

Get-AzBatchSupportedVirtualMachineSku
   [-Location] <String>
   [[-MaxResultCount] <Int32>]
   [[-Filter] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Gets the list of Batch supported Virtual Machine VM sizes available at the given location.

Examples

Example 1 Get supported skus for a region

Get-AzBatchSupportedVirtualMachineSku eastus

Name               FamilyName            Capabilities
----               ----------            ------------
Basic_A1           basicAFamily          {MaxResourceVolumeMB, OSVhdSizeMB, vCPUs, MemoryPreservingMaintenanceSupporte...
Basic_A2           basicAFamily          {MaxResourceVolumeMB, OSVhdSizeMB, vCPUs, MemoryPreservingMaintenanceSupporte...
Basic_A3           basicAFamily          {MaxResourceVolumeMB, OSVhdSizeMB, vCPUs, MemoryPreservingMaintenanceSupporte...
...

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Filter

OData filter expression. Valid properties for filtering are "familyName".

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

-Location

The region to get the supported SKUs from.

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

-MaxResultCount

The maximum number of items to return in the response.

Type:Nullable<T>[Int32]
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Nullable<T>[[System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]

Outputs

PSSupportedSku