Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-AzBatchSupportedVirtualMachineSku

Module:
Az.Batch Module

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

Syntax

Default (Default)

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.

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

-Filter

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

Parameter properties

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

Parameter sets

-Location

The region to get the supported SKUs from.

Parameter properties

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

Parameter sets

-MaxResultCount

The maximum number of items to return in the response.

Parameter properties

Type:

Nullable<T>[Int32]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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.

Inputs

String

Nullable<T>

Outputs

PSSupportedSku


Feedback

Was this page helpful?