az providerhub sku
Note
This reference is part of the providerhub extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az providerhub sku command. Learn more about extensions.
Manage sku with providerhub.
Commands
Name | Description | Type | Status |
---|---|---|---|
az providerhub sku create |
Creates or updates the resource type skus in the given resource type. And Creates or updates the resource type skus in the given resource type. And Creates or updates the resource type skus in the given resource type. And Create the resource type skus in the given resource type. |
Extension | GA |
az providerhub sku delete |
Deletes a resource type sku. And Deletes a resource type sku. And Deletes a resource type sku. And Deletes a resource type sku. |
Extension | GA |
az providerhub sku list |
Gets the list of skus for the given resource type. And Gets the list of skus for the given resource type. And Gets the list of skus for the given resource type. And Gets the list of skus for the given resource type. |
Extension | GA |
az providerhub sku show |
Gets the sku details for the given resource type and sku name. |
Extension | GA |
az providerhub sku show-nested-resource-type-first |
Gets the sku details for the given resource type and sku name. |
Extension | GA |
az providerhub sku show-nested-resource-type-second |
Gets the sku details for the given resource type and sku name. |
Extension | GA |
az providerhub sku show-nested-resource-type-third |
Gets the sku details for the given resource type and sku name. |
Extension | GA |
az providerhub sku create
Creates or updates the resource type skus in the given resource type. And Creates or updates the resource type skus in the given resource type. And Creates or updates the resource type skus in the given resource type. And Create the resource type skus in the given resource type.
az providerhub sku create --provider-namespace
--resource-type
--sku
--sku-settings
[--nested-first]
[--nested-resource-type-second]
[--nested-resource-type-third]
Examples
Skus_CreateOrUpdateNestedResourceTypeThird
az providerhub sku create --nested-resource-type-first "nestedResourceTypeFirst" --nested-resource-type-second "nestedResourceTypeSecond" --nested-resource-type-third "nestedResourceTypeThird" --sku-settings "[{\"name\":\"freeSku\",\"kind\":\"Standard\",\"tier\":\"Tier1\"},{\"name\":\"premiumSku\",\"costs\":[{\"meterId\":\"xxx\"}],\"kind\":\"Premium\",\"tier\":\"Tier2\"}]" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Skus_CreateOrUpdateNestedResourceTypeSecond
az providerhub sku create --nested-resource-type-first "nestedResourceTypeFirst" --nested-resource-type-second "nestedResourceTypeSecond" --sku-settings "[{\"name\":\"freeSku\",\"kind\":\"Standard\",\"tier\":\"Tier1\"},{\"name\":\"premiumSku\",\"costs\":[{\"meterId\":\"xxx\"}],\"kind\":\"Premium\",\"tier\":\"Tier2\"}]" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Skus_CreateOrUpdateNestedResourceTypeFirst
az providerhub sku create --nested-resource-type-first "nestedResourceTypeFirst" --sku-settings "[{\"name\":\"freeSku\",\"kind\":\"Standard\",\"tier\":\"Tier1\"},{\"name\":\"premiumSku\",\"costs\":[{\"meterId\":\"xxx\"}],\"kind\":\"Premium\",\"tier\":\"Tier2\"}]" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Skus_CreateOrUpdate
az providerhub sku create --sku-settings "[{\"name\":\"freeSku\",\"kind\":\"Standard\",\"tier\":\"Tier1\"},{\"name\":\"premiumSku\",\"costs\":[{\"meterId\":\"xxx\"}],\"kind\":\"Premium\",\"tier\":\"Tier2\"}]" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Required Parameters
The name of the resource provider hosted within ProviderHub.
The resource type.
The SKU.
Expected value: json-string/@json-file.
Optional Parameters
The first child resource type.
The second child resource type.
The third child resource type.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az providerhub sku delete
Deletes a resource type sku. And Deletes a resource type sku. And Deletes a resource type sku. And Deletes a resource type sku.
az providerhub sku delete [--ids]
[--nested-first]
[--nested-resource-type-second]
[--nested-resource-type-third]
[--provider-namespace]
[--resource-type]
[--sku]
[--subscription]
[--yes]
Examples
Skus_DeleteNestedResourceTypeThird
az providerhub sku delete --nested-resource-type-first "nestedResourceTypeFirst" --nested-resource-type-second "nestedResourceTypeSecond" --nested-resource-type-third "nestedResourceTypeThird" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Skus_DeleteNestedResourceTypeSecond
az providerhub sku delete --nested-resource-type-first "nestedResourceTypeFirst" --nested-resource-type-second "nestedResourceTypeSecond" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Skus_DeleteNestedResourceTypeFirst
az providerhub sku delete --nested-resource-type-first "nestedResourceTypeFirst" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Skus_Delete
az providerhub sku delete --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The first child resource type.
The second child resource type.
The third child resource type.
The name of the resource provider hosted within ProviderHub.
The resource type.
The SKU.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az providerhub sku list
Gets the list of skus for the given resource type. And Gets the list of skus for the given resource type. And Gets the list of skus for the given resource type. And Gets the list of skus for the given resource type.
az providerhub sku list --provider-namespace
--resource-type
[--nested-first]
[--nested-resource-type-second]
[--nested-resource-type-third]
Examples
Skus_ListByResourceTypeRegistrationsNestedResourceTypeThird
az providerhub sku list --nested-resource-type-first "nestedResourceTypeFirst" --nested-resource-type-second "nestedResourceTypeSecond" --nested-resource-type-third "nestedResourceTypeThird" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType"
Skus_ListByResourceTypeRegistrationsNestedResourceTypeSecond
az providerhub sku list --nested-resource-type-first "nestedResourceTypeFirst" --nested-resource-type-second "nestedResourceTypeSecond" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType"
Skus_ListByResourceTypeRegistrationsNestedResourceTypeFirst
az providerhub sku list --nested-resource-type-first "nestedResourceTypeFirst" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType"
Skus_ListByResourceTypeRegistrations
az providerhub sku list --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType"
Required Parameters
The name of the resource provider hosted within ProviderHub.
The resource type.
Optional Parameters
The first child resource type.
The second child resource type.
The third child resource type.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az providerhub sku show
Gets the sku details for the given resource type and sku name.
az providerhub sku show [--ids]
[--provider-namespace]
[--resource-type]
[--sku]
[--subscription]
Examples
Skus_Get
az providerhub sku show --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the resource provider hosted within ProviderHub.
The resource type.
The SKU.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az providerhub sku show-nested-resource-type-first
Gets the sku details for the given resource type and sku name.
az providerhub sku show-nested-resource-type-first [--ids]
[--nested-first]
[--provider-namespace]
[--resource-type]
[--sku]
[--subscription]
Examples
Skus_GetNestedResourceTypeFirst
az providerhub sku show-nested-resource-type-first --nested-resource-type-first "nestedResourceTypeFirst" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The first child resource type.
The name of the resource provider hosted within ProviderHub.
The resource type.
The SKU.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az providerhub sku show-nested-resource-type-second
Gets the sku details for the given resource type and sku name.
az providerhub sku show-nested-resource-type-second [--ids]
[--nested-first]
[--nested-resource-type-second]
[--provider-namespace]
[--resource-type]
[--sku]
[--subscription]
Examples
Skus_GetNestedResourceTypeSecond
az providerhub sku show-nested-resource-type-second --nested-resource-type-first "nestedResourceTypeFirst" --nested-resource-type-second "nestedResourceTypeSecond" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The first child resource type.
The second child resource type.
The name of the resource provider hosted within ProviderHub.
The resource type.
The SKU.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az providerhub sku show-nested-resource-type-third
Gets the sku details for the given resource type and sku name.
az providerhub sku show-nested-resource-type-third [--ids]
[--nested-first]
[--nested-resource-type-second]
[--nested-resource-type-third]
[--provider-namespace]
[--resource-type]
[--sku]
[--subscription]
Examples
Skus_GetNestedResourceTypeThird
az providerhub sku show-nested-resource-type-third --nested-resource-type-first "nestedResourceTypeFirst" --nested-resource-type-second "nestedResourceTypeSecond" --nested-resource-type-third "nestedResourceTypeThird" --provider-namespace "Microsoft.Contoso" --resource-type "testResourceType" --sku "testSku"
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The first child resource type.
The second child resource type.
The third child resource type.
The name of the resource provider hosted within ProviderHub.
The resource type.
The SKU.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for