az billing invoice section
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage invoice section.
Commands
Name | Description | Type | Status |
---|---|---|---|
az billing invoice section create |
Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section initiate-transfer |
Sends a request to a user in another billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section list |
List the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section show |
Get an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section update |
Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section wait |
Place the CLI in a waiting state until a condition of the billing invoice section is met. |
Core | Preview |
az billing invoice section create
Command group 'billing invoice section' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
az billing invoice section create --account-name
--invoice-section-name
--profile-name
[--display-name]
[--labels]
[--no-wait]
Examples
Create an invoice section
az billing invoice section create --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{invoiceSectionName}" --display-name "invoiceSection1" --labels costCategory="Support" pcCode="A123456"
Required Parameters
The ID that uniquely identifies a billing account.
The ID that uniquely identifies an invoice section.
The ID that uniquely identifies a billing profile.
Optional Parameters
The name of the invoice section.
Dictionary of metadata associated with the invoice section. Expect value: KEY1=VALUE1 KEY2=VALUE2 ...
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az billing invoice section initiate-transfer
Command group 'billing invoice section' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Sends a request to a user in another billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
az billing invoice section initiate-transfer --billing-account-name
--billing-profile-name
--invoice-section-name
[--recipient-email-id]
[--reseller-id]
Required Parameters
The ID that uniquely identifies a billing account.
The ID that uniquely identifies a billing profile.
The ID that uniquely identifies an invoice section.
Optional Parameters
The email ID of the recipient to whom the transfer request is sent.
Optional MPN ID of the reseller for transfer requests that are sent from a Microsoft Partner Agreement billing account.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az billing invoice section list
Command group 'billing invoice section' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
az billing invoice section list --account-name
--profile-name
Examples
List invoice sections by billing account and billing profile
az billing invoice section list --account-name "{billingAccountName}" --profile-name "{billingProfileName}"
Required Parameters
The ID that uniquely identifies a billing account.
The ID that uniquely identifies a billing profile.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az billing invoice section show
Command group 'billing invoice section' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
az billing invoice section show --account-name
--invoice-section-name
--profile-name
Examples
Show an invoice section
az billing invoice section show --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{invoiceSectionName}"
Required Parameters
The ID that uniquely identifies a billing account.
The ID that uniquely identifies an invoice section.
The ID that uniquely identifies a billing profile.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az billing invoice section update
Command group 'billing invoice section' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
az billing invoice section update --account-name
--invoice-section-name
--profile-name
[--display-name]
[--labels]
[--no-wait]
Required Parameters
The ID that uniquely identifies a billing account.
The ID that uniquely identifies an invoice section.
The ID that uniquely identifies a billing profile.
Optional Parameters
The name of the invoice section.
Dictionary of metadata associated with the invoice section. Expect value: KEY1=VALUE1 KEY2=VALUE2 ...
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az billing invoice section wait
Command group 'billing invoice section' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Place the CLI in a waiting state until a condition of the billing invoice section is met.
az billing invoice section wait --account-name
--invoice-section-name
--profile-name
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Pause executing next line of CLI script until the billing invoice section is successfully created.
az billing invoice section wait --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{invoiceSectionName}" --created
Pause executing next line of CLI script until the billing invoice section is successfully updated.
az billing invoice section wait --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --name "{invoiceSectionName}" --updated
Required Parameters
The ID that uniquely identifies a billing account.
The ID that uniquely identifies an invoice section.
The ID that uniquely identifies a billing profile.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.