CmdID / az / az billing / az billing account
az billing account show
Gets a billing account by its ID. Azure CLI reference
2 examples 2 options Its page in the Azure CLI reference
Examples
BillingAccountWithExpand
az billing account show --expand "soldTo,billingProfiles,billingProfiles/invoiceSections" --name "{billingAccountName}"Identify--expandMay be used to expand the soldTo, invoice sections and billing profiles.--nameThe ID that uniquely identifies a billing account.BillingAccounts
az billing account show --name "{billingAccountName}"Identify--nameThe ID that uniquely identifies a billing account.Options
--expandMay be used to expand the soldTo, invoice sections and billing profiles.--name, -nThe ID that uniquely identifies a billing account.