az billing period

Get billing periods for a subscription.

Commands

az billing period list Lists the available billing periods for a subscription in reverse chronological order.
az billing period show Gets a named billing period.

az billing period list

Lists the available billing periods for a subscription in reverse chronological order.

This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

az billing period list [--filter]
[--skiptoken]
[--top]

Optional Parameters

--filter

May be used to filter billing periods by billingPeriodEndDate. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.

--skiptoken

Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

--top

May be used to limit the number of results to the most recent N billing periods.

az billing period show

Gets a named billing period.

This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

az billing period show --name

Required Parameters

--name -n

Name of the billing period.