Get-AzStorageSku
Lists the available SKUs supported by Microsoft.Storage for given subscription.
Syntax
Default (Default)
Get-AzStorageSku
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Lists the available SKUs supported by Microsoft.Storage for given subscription.
Examples
Example 1: List SKUs under a subscription
Get-AzStorageSku -SubscriptionId $mysubid
Capability : {{
"name": "supportsAccountHnsOnMigration",
"value": "true"
}, {
"name": "supportsaccountvlw",
"value": "true"
}, {
"name": "supportsadlsgen2snapshot",
"value": "true"
}, {
"name": "supportsadlsgen2staticwebsite",
"value": "true"
}…}
Kind : StorageV2
Location : {westus2}
LocationInfo : {{
"___location": "westus2",
"zones": [ ]
}}
Name : Standard_ZRS
ResourceType : storageAccounts
Restriction : {}
Tier : Standard
This command lists all SKUs under a specified subscription.
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 |
-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.