The billingAccounts/departments resource type can exist at: Tenants
Note
This resource type is read-only, which means it can't be deployed but an existing instance can be referenced. Typically, read-only resource types are automatically created by the service.
Use the reference
function.
To create a Microsoft.Billing/billingAccounts/departments resource, add the following JSON to your template.
[reference(resourceId('Microsoft.Billing/billingAccounts/departments', '{name}'), '2019-10-01-preview')]
Name | Description | Value |
---|---|---|
name | The name of the existing resource. See how to set names and types for child resources in JSON ARM templates. |
string (required) |