The promotions resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Billing/promotions resource, add the following JSON to your template.
{
"type": "Microsoft.Billing/promotions",
"apiVersion": "2020-11-01-preview",
"name": "string",
"sku": {
"name": "string"
},
"properties": {
"appliedScopes": [ "string" ],
"displayName": "string",
"orderId": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Billing/promotions' |
apiVersion | The resource api version | '2020-11-01-preview' |
name | The resource name | string (required) |
sku | PromotionCreateSkuNameRequestProperties | |
properties | PromotionCreateRequestPropertiesOrPromotionResponseP... |
Name | Description | Value |
---|---|---|
appliedScopes | List of subscriptions getting the benefit of the promotion. | string[] |
displayName | Friendly name for user to easily identified the promotion. | string |
orderId | Unique Id for the promotion order. | string |
Name | Description | Value |
---|---|---|
name | SKU Name of the promotion to activate | string |