Microsoft.Billing billingAccounts
Bicep resource definition
The billingAccounts resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Billing/billingAccounts resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Billing/billingAccounts@2024-04-01' = {
name: 'string'
}
Property values
Microsoft.Billing/billingAccounts
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Pattern = ^([0-9]+|([Pp][Cc][Nn]\.[A-Za-z0-9]+)|[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}(:[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}_[0-9]{4}(-[0-9]{2}){2})?)$ (required) |
ARM template resource definition
The billingAccounts resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Billing/billingAccounts resource, add the following JSON to your template.
{
"type": "Microsoft.Billing/billingAccounts",
"apiVersion": "2024-04-01",
"name": "string"
}
Property values
Microsoft.Billing/billingAccounts
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2024-04-01' |
name | The resource name | string Constraints: Pattern = ^([0-9]+|([Pp][Cc][Nn]\.[A-Za-z0-9]+)|[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}(:[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}_[0-9]{4}(-[0-9]{2}){2})?)$ (required) |
type | The resource type | 'Microsoft.Billing/billingAccounts' |
Terraform (AzAPI provider) resource definition
The billingAccounts resource type can be deployed with operations that target:
- Tenant
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Billing/billingAccounts resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Billing/billingAccounts@2024-04-01"
name = "string"
}
Property values
Microsoft.Billing/billingAccounts
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Pattern = ^([0-9]+|([Pp][Cc][Nn]\.[A-Za-z0-9]+)|[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}(:[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}_[0-9]{4}(-[0-9]{2}){2})?)$ (required) |
type | The resource type | "Microsoft.Billing/billingAccounts@2024-04-01" |