The markupRules resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.CostManagement/markupRules resource, add the following JSON to your template.
{
"type": "Microsoft.CostManagement/markupRules",
"apiVersion": "2022-10-05-preview",
"name": "string",
"eTag": "string",
"properties": {
"customerDetails": {
"billingAccountId": "string",
"billingProfileId": "string"
},
"description": "string",
"endDate": "string",
"percentage": "int",
"startDate": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.CostManagement/markupRules' |
apiVersion | The resource api version | '2022-10-05-preview' |
name | The resource name | string (required) |
eTag | eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. | string |
properties | The properties of the markup rule. | MarkupRuleProperties |
Name | Description | Value |
---|---|---|
customerDetails | Customer information for the markup rule. | CustomerMetadata (required) |
description | The description of the markup rule. | string |
endDate | Ending date of the markup rule. | string |
percentage | The markup percentage of the rule. | int (required) |
startDate | Starting date of the markup rule. | string (required) |
Name | Description | Value |
---|---|---|
billingAccountId | Customer billing account id | string (required) |
billingProfileId | Customer billing profile id | string (required) |