Upravit

Sdílet prostřednictvím


Get-AzComputeResourceSku

List all compute resource Skus

Syntax

Get-AzComputeResourceSku
   [[-Location] <String>]
   [-EdgeZone <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

List all compute resource Skus

Examples

Example 1

Get-AzComputeResourceSku "westus";

List all compute resource skus in West US region

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

-EdgeZone

Sets the edge zone name. If set, the query will be routed to the specified edgezone instead of the main region.

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

-Location

Specifies a location of the available skus to list.

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

Inputs

String

Outputs

PSResourceSku