role_definition_by_invoice_sections
Creates, updates, deletes, gets or lists a role_definition_by_invoice_sections resource.
Overview
| Name | role_definition_by_invoice_sections |
| Type | Resource |
| Id | azure.billing.role_definition_by_invoice_sections |
Fields
The following fields are returned by SELECT queries:
- get
- list
The properties of a role definition.
| Name | Datatype | Description |
|---|---|---|
properties | object | The properties of a role definition. |
tags | object | Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? / |
The list of role definitions.
| Name | Datatype | Description |
|---|---|---|
properties | object | The properties of a role definition. |
tags | object | Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? / |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | billingAccountName, billingProfileName, invoiceSectionName, roleDefinitionName | Gets the definition for a role on an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. | |
list | select | billingAccountName, billingProfileName, invoiceSectionName | Lists the role definitions for an invoice section. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
billingAccountName | string | The ID that uniquely identifies a billing account. |
billingProfileName | string | The ID that uniquely identifies a billing profile. |
invoiceSectionName | string | The ID that uniquely identifies an invoice section. |
roleDefinitionName | string | The ID that uniquely identifies a role definition. |
SELECT examples
- get
- list
Gets the definition for a role on an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
SELECT
properties,
tags
FROM azure.billing.role_definition_by_invoice_sections
WHERE billingAccountName = '{{ billingAccountName }}' -- required
AND billingProfileName = '{{ billingProfileName }}' -- required
AND invoiceSectionName = '{{ invoiceSectionName }}' -- required
AND roleDefinitionName = '{{ roleDefinitionName }}' -- required
;
Lists the role definitions for an invoice section. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
SELECT
properties,
tags
FROM azure.billing.role_definition_by_invoice_sections
WHERE billingAccountName = '{{ billingAccountName }}' -- required
AND billingProfileName = '{{ billingProfileName }}' -- required
AND invoiceSectionName = '{{ invoiceSectionName }}' -- required
;