Share via


az billing-benefits savings-plan-order

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 savings-plan-order command. Learn more about extensions.

Azure billing benefits savings plan order commands.

Commands

Name Description Type Status
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-order elevate

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

az billing-benefits savings-plan-order elevate --savings-plan-order-id

Examples

Elevate a savings plan order

az billing-benefits savings-plan-order elevate --savings-plan-order-id 30000000-aaaa-bbbb-cccc-200000000017

Required Parameters

--savings-plan-order-id

Order ID of the savings plan.

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.

az billing-benefits savings-plan-order list

List all Savings plan orders.

az billing-benefits savings-plan-order list

Examples

List all Savings plan orders

az billing-benefits savings-plan-order list
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.

az billing-benefits savings-plan-order show

Get a savings plan order.

az billing-benefits savings-plan-order show --savings-plan-order-id
                                            [--expand]

Examples

Get the details of a savings plan order

az billing-benefits savings-plan-order show --savings-plan-order-id 30000000-aaaa-bbbb-cccc-200000000017

Get the details of a savings plan order with transaction detail

az billing-benefits savings-plan-order show --savings-plan-order-id 30000000-aaaa-bbbb-cccc-200000000017 --expand schedule

Required Parameters

--savings-plan-order-id

Order ID of the savings plan.

Optional Parameters

--expand

May be used to expand the detail information of some properties.

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.