Share via


az billing-benefits

Note

This reference is part of the billing-benefits extension for the Azure CLI (version 2.43.0 or higher). The extension will automatically install the first time you run an az billing-benefits command. Learn more about extensions.

Azure billing benefits commands.

Commands

Name Description Type Status
az billing-benefits reservation-order-aliases

Azure billing benefits reservation order aliases commands.

Extension GA
az billing-benefits reservation-order-aliases create

Create a reservation order alias.

Extension GA
az billing-benefits reservation-order-aliases show

Get a reservation order alias.

Extension GA
az billing-benefits reservation-order-aliases wait

Place the CLI in a waiting state until a condition is met.

Extension GA
az billing-benefits savings-plan

Azure billing benefits savings plan commands.

Extension GA
az billing-benefits savings-plan-order

Azure billing benefits savings plan order commands.

Extension GA
az billing-benefits savings-plan-order-aliases

Azure billing benefits savings plan order aliases commands.

Extension GA
az billing-benefits savings-plan-order-aliases create

Create a savings plan. Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851.

Extension GA
az billing-benefits savings-plan-order-aliases show

Get a savings plan order alias.

Extension GA
az billing-benefits savings-plan-order-aliases wait

Place the CLI in a waiting state until a condition is met.

Extension GA
az billing-benefits savings-plan-order elevate

Elevate as owner on savings plan order based on billing permissions.

Extension GA
az billing-benefits savings-plan-order list

List all Savings plan orders.

Extension GA
az billing-benefits savings-plan-order savings-plan

Azure billing benefits savings plan in savings plan order commands.

Extension GA
az billing-benefits savings-plan-order savings-plan list

List savings plans in an order.

Extension GA
az billing-benefits savings-plan-order savings-plan show

Get savings plan.

Extension GA
az billing-benefits savings-plan-order savings-plan update

Update savings plan.

Extension GA
az billing-benefits savings-plan-order savings-plan validate-update

Validate savings plan patch.

Extension GA
az billing-benefits savings-plan-order show

Get a savings plan order.

Extension GA
az billing-benefits savings-plan list

List savings plans.

Extension GA
az billing-benefits validate-purchase

Validate savings plan purchase.

Extension GA

az billing-benefits validate-purchase

Validate savings plan purchase.

az billing-benefits validate-purchase [--benefits]

Examples

Validate savings plan purchase

az billing-benefits validate-purchase --benefits "[{applied-scope-type:Shared,billing-plan:P1M,billing-scope-id:50000000-aaaa-bbbb-cccc-200000000012,display-name:name1,sku:Compute_Savings_Plan,term:P1Y,commitment:{amount:10.0,currency-code:USD,grain:Hourly}}]"

Optional Parameters

--benefits

Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.