Microsoft.Subscription aliases 2020-09-01
Template format
To create a Microsoft.Subscription/aliases resource, add the following JSON to the resources section of your template.
{
"name": "string",
"type": "Microsoft.Subscription/aliases",
"apiVersion": "2020-09-01",
"scope": "string",
"properties": {
"displayName": "string",
"workload": "string",
"billingScope": "string",
"subscriptionId": "string",
"resellerId": "string"
}
}
Property values
The following tables describe the values you need to set in the schema.
Microsoft.Subscription/aliases object
Name | Type | Required | Value |
---|---|---|---|
name | string | Yes | Alias Name |
type | enum | Yes | Microsoft.Subscription/aliases |
apiVersion | enum | Yes | 2020-09-01 |
scope | string | No | Use when specifying a scope that is different than the deployment scope. See Setting scope for extension resources in ARM templates. |
properties | object | Yes | Put alias request properties. - PutAliasRequestProperties object |
PutAliasRequestProperties object
Name | Type | Required | Value |
---|---|---|---|
displayName | string | No | The friendly name of the subscription. |
workload | enum | No | The workload type of the subscription. It can be either Production or DevTest. - Production or DevTest |
billingScope | string | No | Determines whether subscription is fieldLed, partnerLed or LegacyEA |
subscriptionId | string | No | This parameter can be used to create alias for existing subscription Id |
resellerId | string | No | Reseller ID, basically MPN Id |