Microsoft.Billing billingAccounts/billingProfiles/policies 2020-05-01

The billingAccounts/billingProfiles/policies resource type can be deployed to: Tenants.

To learn about tenant deployments, see Bicep or ARM template

Template format

To create a Microsoft.Billing/billingAccounts/billingProfiles/policies resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Billing/billingAccounts/billingProfiles/policies@2020-05-01' = {
  name: 'default'
  properties: {
    marketplacePurchases: 'string'
    reservationPurchases: 'string'
    viewCharges: 'string'
  }
}

Property values

billingAccounts/billingProfiles/policies

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Billing/billingAccounts/billingProfiles/policies'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2020-05-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
'default'
properties The properties of a policy. PolicyProperties

PolicyProperties

Name Description Value
marketplacePurchases The policy that controls whether Azure marketplace purchases are allowed for a billing profile. 'AllAllowed'
'NotAllowed'
'OnlyFreeAllowed'
reservationPurchases The policy that controls whether Azure reservation purchases are allowed for a billing profile. 'Allowed'
'NotAllowed'
viewCharges The policy that controls whether users with Azure RBAC access to a subscription can view its charges. 'Allowed'
'NotAllowed'