Share via


az reservations reservation-order-id

Note

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

Command group 'reservations' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Reservations reservation-order-id.

Commands

Name Description Type Status
az reservations reservation-order-id list

List applicable Reservations that are applied to this subscription or a resource group under this subscription.

Extension Preview

az reservations reservation-order-id list

Preview

Command group 'reservations' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List applicable Reservations that are applied to this subscription or a resource group under this subscription.

az reservations reservation-order-id list --subscription-id

Examples

See reservation order ids that are applied to subscription.

az reservations reservation-order-id list --subscription-id 50000000-aaaa-bbbb-cccc-100000000002

Required Parameters

--subscription-id

Subscription id.

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.