Del via


az billing-benefits savings-plan

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

Azure billing benefits savings plan commands.

Commands

Name Description Type Status
az billing-benefits savings-plan list

List savings plans.

Extension GA

az billing-benefits savings-plan list

List savings plans.

az billing-benefits savings-plan list [--filter]
                                      [--orderby]
                                      [--selected-state]
                                      [--skiptoken]
                                      [--take]

Examples

List savings plan items with filter and orderby

az billing-benefits savings-plan list --filter "properties/userFriendlyAppliedScopeType eq 'Shared'" --orderby "properties/displayName asc"

List savings plan items

az billing-benefits savings-plan list

Optional Parameters

--filter

May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'. Reservation properties include sku/name, properties/{appliedScopeType, archived, displayName, displayProvisioningState, effectiveDateTime, expiryDate, provisioningState, quantity, renew, reservedResourceType, term, userFriendlyAppliedScopeType, userFriendlyRenewState}.

--orderby

May be used to sort order by reservation properties.

--selected-state

The selected provisioning state.

--skiptoken

The number of savings plans to skip from the list before returning results.

--take

To number of savings plans to return.

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.