az billing customer
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Billing customer.
Commands
Name | Description | Type | Status |
---|---|---|---|
az billing customer list |
List the customers that are billed to a billing account. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. |
Core | Preview |
az billing customer show |
Get a customer by its ID. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement. |
Core | Preview |
az billing customer list
Command group 'billing customer' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List the customers that are billed to a billing account. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
az billing customer list --account-name
[--filter]
[--profile-name]
[--search]
Examples
List customers by billing account
az billing customer list --account-name "{billingAccountName}" --profile-name "{billingProfileName}"
Required Parameters
The ID that uniquely identifies a billing account.
Optional Parameters
May be used to filter the list of customers.
The ID that uniquely identifies a billing profile.
Used for searching customers by their name. Any customer with name containing the search text will be included in the response.
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 customer show
Command group 'billing customer' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get a customer by its ID. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
az billing customer show --account-name
--customer-name
[--expand]
Examples
Show a customer with default properties
az billing customer show --account-name "{billingAccountName}" --name "{customerName}"
Show a customer with desired expanded properties
az billing customer show --expand "enabledAzurePlans,resellers" --account-name "{billingAccountName}" --name "{customerName}"
Required Parameters
The ID that uniquely identifies a billing account.
The ID that uniquely identifies a customer.
Optional Parameters
May be used to expand enabledAzurePlans and resellers.
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.