Share via


az reservations catalog

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

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

Reservations catalog.

Commands

Name Description Type Status
az reservations catalog show

Get catalog of available reservation.

Extension Preview

az reservations catalog show

Preview

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

Get catalog of available reservation.

az reservations catalog show --subscription-id
                             [--filter]
                             [--location]
                             [--offer-id]
                             [--plan-id]
                             [--publisher-id]
                             [--reserved-resource-type]

Examples

Get catalog of VM reservation skus

az reservations catalog show --subscription-id 7a802e4f-129c-4574-9b46-638f17b60dd5 --location eastus --reserved-resource-type VirtualMachines

Required Parameters

--subscription-id

Subscription id.

Optional Parameters

--filter

May be used to filter by Catalog properties. The filter supports 'eq', 'or', and 'and'.

--location

Filters the skus based on the location specified in this parameter. This can be an azure region or global.

--offer-id

Offer id used to get the third party products.

--plan-id

Plan id used to get the third party products.

--publisher-id

Publisher id used to get the third party products.

--reserved-resource-type

The type of the resource for which the skus should be provided.

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.