Microsoft.Billing billingAccounts/billingProfiles/invoiceSections

Bicep resource definition

The billingAccounts/billingProfiles/invoiceSections resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

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

resource symbolicname 'Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections@2024-04-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    displayName: 'string'
    reasonCode: 'string'
    state: 'string'
    tags: {
      {customized property}: 'string'
    }
    targetCloud: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

InvoiceSectionProperties

Name Description Value
displayName The name of the invoice section. string
reasonCode Reason for the specified invoice section status. 'Other'
'PastDue'
'SpendingLimitExpired'
'SpendingLimitReached'
'UnusualActivity'
state Identifies the status of an invoice section. 'Active'
'Deleted'
'Disabled'
'Other'
'Restricted'
'UnderReview'
'Warned'
tags Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? / InvoiceSectionPropertiesTags
targetCloud Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds. string

InvoiceSectionPropertiesTags

Name Description Value

Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z\d-_]{1,128}$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: billingAccounts/billingProfiles
properties An invoice section. InvoiceSectionProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

ProxyResourceWithTags

Name Description Value

ARM template resource definition

The billingAccounts/billingProfiles/invoiceSections resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

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

{
  "type": "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections",
  "apiVersion": "2024-04-01",
  "name": "string",
  "properties": {
    "displayName": "string",
    "reasonCode": "string",
    "state": "string",
    "tags": {
      "{customized property}": "string"
    },
    "targetCloud": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

InvoiceSectionProperties

Name Description Value
displayName The name of the invoice section. string
reasonCode Reason for the specified invoice section status. 'Other'
'PastDue'
'SpendingLimitExpired'
'SpendingLimitReached'
'UnusualActivity'
state Identifies the status of an invoice section. 'Active'
'Deleted'
'Disabled'
'Other'
'Restricted'
'UnderReview'
'Warned'
tags Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? / InvoiceSectionPropertiesTags
targetCloud Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds. string

InvoiceSectionPropertiesTags

Name Description Value

Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections

Name Description Value
apiVersion The api version '2024-04-01'
name The resource name string

Constraints:
Pattern = ^[a-zA-Z\d-_]{1,128}$ (required)
properties An invoice section. InvoiceSectionProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections'

ProxyResourceWithTags

Name Description Value

Terraform (AzAPI provider) resource definition

The billingAccounts/billingProfiles/invoiceSections 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/billingProfiles/invoiceSections resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections@2024-04-01"
  name = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      displayName = "string"
      reasonCode = "string"
      state = "string"
      tags = {
        {customized property} = "string"
      }
      targetCloud = "string"
    }
  })
}

Property values

InvoiceSectionProperties

Name Description Value
displayName The name of the invoice section. string
reasonCode Reason for the specified invoice section status. 'Other'
'PastDue'
'SpendingLimitExpired'
'SpendingLimitReached'
'UnusualActivity'
state Identifies the status of an invoice section. 'Active'
'Deleted'
'Disabled'
'Other'
'Restricted'
'UnderReview'
'Warned'
tags Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? / InvoiceSectionPropertiesTags
targetCloud Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds. string

InvoiceSectionPropertiesTags

Name Description Value

Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z\d-_]{1,128}$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: billingAccounts/billingProfiles
properties An invoice section. InvoiceSectionProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Billing/billingAccounts/billingProfiles/invoiceSections@2024-04-01"

ProxyResourceWithTags

Name Description Value