Get Catalog - Get Catalog
Get the regions and skus that are available for RI purchase for the specified Azure subscription.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs?api-version=2022-11-01
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/catalogs?api-version=2022-11-01&reservedResourceType={reservedResourceType}&location={location}&publisherId={publisherId}&offerId={offerId}&planId={planId}&$filter={$filter}&$skip={$skip}&$take={$take}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
subscription
|
path | True |
|
Id of the subscription |
api-version
|
query | True |
|
Supported version. |
$filter
|
query |
|
May be used to filter by Catalog properties. The filter supports 'eq', 'or', and 'and'. |
|
$skip
|
query |
|
The number of reservations to skip from the list before returning results |
|
$take
|
query |
|
To number of reservations to return |
|
location
|
query |
|
Filters the skus based on the location specified in this parameter. This can be an Azure region or global |
|
offer
|
query |
|
Offer id used to get the third party products |
|
plan
|
query |
|
Plan id used to get the third party products |
|
publisher
|
query |
|
Publisher id used to get the third party products |
|
reserved
|
query |
|
The type of the resource for which the skus should be provided. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK. The request has succeeded. |
|
Other Status Codes |
Unexpected error |
Examples
Catalog
Sample Request
GET https://management.azure.com/subscriptions/23bc208b-083f-4901-ae85-4f98c0c3b4b6/providers/Microsoft.Capacity/catalogs?api-version=2022-11-01&reservedResourceType=VirtualMachines&location=eastus
Sample Response
{
"value": [
{
"resourceType": "VirtualMachines",
"name": "Standard_DS5_v2",
"terms": [
"P1Y",
"P3Y"
],
"billingPlans": {
"P1Y": [
"Upfront",
"Monthly"
],
"P3Y": [
"Upfront",
"Monthly"
]
},
"locations": [
"eastus"
],
"skuProperties": [
{
"name": "Cores",
"value": "16"
},
{
"name": "ProductTitle",
"value": "DSv2 Series, DS5"
},
{
"name": "ProductShortName",
"value": "DSv2 Series"
},
{
"name": "SKUName",
"value": "DS5 v2"
},
{
"name": "MeterId",
"value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8"
}
],
"restrictions": []
},
{
"resourceType": "VirtualMachines",
"name": "Standard_D1",
"terms": [
"P1Y",
"P3Y"
],
"billingPlans": {
"P1Y": [
"Upfront",
"Monthly"
],
"P3Y": [
"Upfront",
"Monthly"
]
},
"locations": [
"eastus"
],
"skuProperties": [
{
"name": "Cores",
"value": "1"
},
{
"name": "ProductTitle",
"value": "D Series, D1"
},
{
"name": "ProductShortName",
"value": "D Series"
},
{
"name": "SKUName",
"value": "D1"
},
{
"name": "MeterId",
"value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8"
}
],
"restrictions": [
{
"type": "Term",
"values": [
"P1Y"
],
"reasonCode": "NotAvailableForSubscription"
},
{
"type": "Term",
"values": [
"P3Y"
],
"reasonCode": "NotAvailableForSubscription"
}
]
},
{
"resourceType": "VirtualMachines",
"name": "Standard_F2",
"terms": [
"P1Y",
"P3Y"
],
"billingPlans": {
"P1Y": [
"Upfront",
"Monthly"
],
"P3Y": [
"Upfront",
"Monthly"
]
},
"locations": [
"eastus"
],
"skuProperties": [
{
"name": "Cores",
"value": "2"
},
{
"name": "ProductTitle",
"value": "F Series, F2"
},
{
"name": "ProductShortName",
"value": "F Series"
},
{
"name": "SKUName",
"value": "F2"
},
{
"name": "MeterId",
"value": "12bc208b-083f-4901-ae85-4f98c0c3b4b8"
}
],
"restrictions": [
{
"type": "Location",
"values": [
"eastus"
],
"reasonCode": "NotAvailableForSubscription"
}
]
}
],
"nextLink": "https://management.azure.com/providers/Microsoft.Capacity/reservationOrders?api-version=2022-11-01&$filter=(term eq 'P1Y')&$take=50&$skip=50",
"totalItems": 1000
}
Definitions
Catalog |
Product details of a type of resource. |
Catalogs |
The list of catalogs and pagination information. |
Error |
Error information |
Error |
Error code describing the reason that service is not able to process the incoming request |
Extended |
Extended error information including error code and error message |
Msrp |
Pricing information about the sku |
Price |
Pricing information containing the amount and the currency code |
Sku |
Capability of a sku. |
Sku |
Property of a sku. |
Sku |
Restriction of a sku. |
Catalog
Product details of a type of resource.
Name | Type | Description |
---|---|---|
billingPlans |
|
The billing plan options available for this sku. |
capabilities |
Capability of a sku. |
|
locations |
|
The set of locations that the sku is available. If not specified, the sku is available in all locations. |
msrp |
Pricing information about the sku |
|
name |
|
The name of sku |
resourceType |
|
The type of resource the sku applies to. |
restrictions |
Restriction of a sku. |
|
size |
|
The size of this sku |
skuProperties |
Property of a sku. |
|
terms |
|
Available reservation terms for this resource |
tier |
|
The tier of this sku |
CatalogsResult
The list of catalogs and pagination information.
Name | Type | Description |
---|---|---|
nextLink |
|
The link (url) to the next page of results. |
totalItems |
|
The total amount of catalog items. |
value |
|
The list of catalogs. |
Error
Error information
Name | Type | Description |
---|---|---|
error |
Extended error information including error code and error message |
ErrorResponseCode
Error code describing the reason that service is not able to process the incoming request
Name | Type | Description |
---|---|---|
ActivateQuoteFailed |
|
|
AppliedScopesNotAssociatedWithCommerceAccount |
|
|
AppliedScopesSameAsExisting |
|
|
AuthorizationFailed |
|
|
BadRequest |
|
|
BillingCustomerInputError |
|
|
BillingError |
|
|
BillingPaymentInstrumentHardError |
|
|
BillingPaymentInstrumentSoftError |
|
|
BillingScopeIdCannotBeChanged |
|
|
BillingTransientError |
|
|
CalculatePriceFailed |
|
|
CapacityUpdateScopesFailed |
|
|
ClientCertificateThumbprintNotSet |
|
|
CreateQuoteFailed |
|
|
Forbidden |
|
|
FulfillmentConfigurationError |
|
|
FulfillmentError |
|
|
FulfillmentOutOfStockError |
|
|
FulfillmentTransientError |
|
|
HttpMethodNotSupported |
|
|
InternalServerError |
|
|
InvalidAccessToken |
|
|
InvalidFulfillmentRequestParameters |
|
|
InvalidHealthCheckType |
|
|
InvalidLocationId |
|
|
InvalidRefundQuantity |
|
|
InvalidRequestContent |
|
|
InvalidRequestUri |
|
|
InvalidReservationId |
|
|
InvalidReservationOrderId |
|
|
InvalidSingleAppliedScopesCount |
|
|
InvalidSubscriptionId |
|
|
InvalidTenantId |
|
|
MissingAppliedScopesForSingle |
|
|
MissingTenantId |
|
|
NoValidReservationsToReRate |
|
|
NonsupportedAccountId |
|
|
NotSpecified |
|
|
NotSupportedCountry |
|
|
OperationCannotBePerformedInCurrentState |
|
|
OperationFailed |
|
|
PatchValuesSameAsExisting |
|
|
PaymentInstrumentNotFound |
|
|
PurchaseError |
|
|
ReRateOnlyAllowedForEA |
|
|
RefundLimitExceeded |
|
|
ReservationIdNotInReservationOrder |
|
|
ReservationOrderCreationFailed |
|
|
ReservationOrderIdAlreadyExists |
|
|
ReservationOrderNotEnabled |
|
|
ReservationOrderNotFound |
|
|
RiskCheckFailed |
|
|
RoleAssignmentCreationFailed |
|
|
SelfServiceRefundNotSupported |
|
|
ServerTimeout |
|
|
UnauthenticatedRequestsThrottled |
|
|
UnsupportedReservationTerm |
|
ExtendedErrorInfo
Extended error information including error code and error message
Name | Type | Description |
---|---|---|
code |
Error code describing the reason that service is not able to process the incoming request |
|
message |
|
Msrp
Pricing information about the sku
Name | Type | Description |
---|---|---|
p1Y |
Amount in pricing currency. Tax not included. |
Price
Pricing information containing the amount and the currency code
Name | Type | Description |
---|---|---|
amount |
|
|
currencyCode |
|
The ISO 4217 3-letter currency code for the currency used by this purchase record. |
SkuCapability
Capability of a sku.
Name | Type | Description |
---|---|---|
name |
|
An invariant to describe the feature. |
value |
|
An invariant if the feature is measured by quantity. |
SkuProperty
Property of a sku.
Name | Type | Description |
---|---|---|
name |
|
An invariant to describe the feature. |
value |
|
An invariant if the feature is measured by quantity. |
SkuRestriction
Restriction of a sku.
Name | Type | Description |
---|---|---|
reasonCode |
|
The reason for restriction. |
type |
|
The type of restrictions. |
values |
|
The value of restrictions. If the restriction type is set to location. This would be different locations where the sku is restricted. |