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
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |