Purchase Azure reservations
- Partner Center
- Partner Center for Microsoft Cloud for US Government
To purchase an Azure reservation for a customer using the Partner Center API, you must have an existing Microsoft Azure (MS-AZR-0145P) subscription or Azure plan for them.
Azure reservations are not available in the following markets:
|Åland Islands||Greenland||Papua New Guinea|
|American Samoa||Grenada||Pitcairn Islands|
|Antigua and Barbuda||Guinea||Saint Barthélemy|
|Bhutan||Haiti||Saint Pierre and Miquelon|
|Bonaire||Heard Island and McDonald Islands||Saint Vincent and the Grenadines|
|Bouvet Island||Isle of Man||Samoa|
|Brazil||Jan Mayen||San Marino|
|British Indian Ocean Territory||Jersey||São Tomé and Príncipe|
|British Virgin Islands||Kiribati||Seychelles|
|Burkina Faso||Kosovo||Sierra Leone|
|Central African Republic||Liberia||Solomon Islands|
|China||Malawi||South Georgia and South Sandwich Islands|
|Christmas Island||Maldives||South Sudan|
|Cocos (Keeling) Islands||Mali||St Helena, Ascension, Tristan da Cunha|
|Eritrea||Myanmar||Turks and Caicos Islands|
|French Guiana||New Caledonia||U.S. Outlying Islands|
|French Southern Territories||Niue||Vatican City|
|Gabon||Norfolk Island||Wallis and Futuna|
|Gambia||Northern Mariana Islands||Yemen|
- Credentials as described in Partner Center authentication. This scenario supports authentication with both standalone App and App+User credentials.
- A customer identifier. If you do not have a customer's ID, you can look up the ID in Partner Center by choosing the customer from the customers list, selecting Account, then saving their Microsoft ID.
- A subscription ID for an active CSP Azure subscription or an Azure plan.
How to purchase Microsoft Azure reservations
Once you have identified the active CSP Azure subscription that you want to add an Azure reservation to, use the following steps to purchase it:
- Enablement - Register an active CSP Azure subscription to enable it for purchasing Azure reservations.
- Discovery - Find and select the Azure reservation products and SKUs you want to purchase and check their availability.
- Order submission - Create a shopping cart with the items in your order and submit it.
- Get order details - Review the details of an order, all the orders for a customer, or view orders by billing cycle type.
After you have purchased Azure reservations, the following scenarios show you how to manage their lifecycle by getting information about your Azure reservation entitlements, and how to retrieve balance statements, invoices, and invoice summaries.
Enablement means associating an existing Microsoft Azure (MS-AZR-0145P) subscription to an Azure Reserved VM Instance by registering the subscription so that it is enabled for Azure reservations. Registration is a prerequisite to purchase Azure Reserved VM Instances.
A subscription is required due to the following:
- To check if the customer is eligible to deploy resources and hence purchase Azure Reserved VM Instances in a region or not.
- To provide capacity priority for deployments on a subscription. This is applicable only to single scope Azure Reserved VM Instances with the capacity priority option selected.
Once you have identified the active subscription that you want to add the Azure reservation to, you must register the subscription so that it is enabled for Azure reservations. To register an existing Subscription resource so that it is enabled for ordering Azure reservations, see Register a subscription.
After registering your subscription, you should confirm that the registration process is completed by checking the registration status. To do this, see Get subscription registration status.
When purchasing Microsoft Azure reservation for a customer with an Azure plan, you must register the Azure plan first. Similar to a Microsoft Azure (MS-AZR-0145P) subscription, an Azure plan is represented by a Partner Center Subscription resource. Hence, you can use the same Register a subscription method to register an Azure plan.
Once the subscription is enabled for purchasing Azure reservations, you're ready to select products and SKUs and check their availability using the following Partner Center API models:
- Product - A grouping construct for purchasable goods or services. A product by itself is not a purchasable item.
- SKU - A purchasable Stock Keeping Unit (SKU) under a product. These represent the different shapes of the product.
- Availability - A configuration in which a SKU is available for purchase (such as country, currency and industry segment).
Before purchasing an Azure reservation, complete the following steps:
Identify and retrieve the Product and SKU that you want to purchase. You can do this by listing the products and SKUs first, or If you already know the IDs of the product and SKU, selecting them.
Check the inventory for a SKU. This step is only needed for SKUs that are tagged with an InventoryCheck prerequisite.
Each Microsoft Azure reservation product has different availabilities for Microsoft Azure (MS-AZR-0145P) subscription and Azure plan. To Get a list of products (by country), or Get a list of SKUs for a product (by country), or Get a list of availabilities for a SKU (by country) which are applicable to Azure plan only, specify the "reservationScope=AzurePlan" parameter.
To submit your Azure reservation order, do the following:
Create a cart to hold the collection of catalog items that you intend to buy. When you create a Cart, the cart line items are automatically grouped based on what can be purchased together in the same Order.
Check out the cart. Checking out a cart results in the creation of an Order.
Get order details
Once you have created your Azure reservation order, you can retrieve the details of an individual order using the order ID, or get a list of orders for a customer. Note that there is a delay of up to 15 minutes between the time an order is submitted and when it will appear in a list of a customer's orders.
To get the details of an individual order using the order ID. See, Get an order by ID.
To get a list of orders for a customer using the customer ID. See, Get all of a customer's orders.
To get a list of orders for a customer by billing cycle type allowing you to list Azure reservation orders (one-time charges) and annual or monthly billed orders separately. See, Get a list of orders by customer and billing cycle type.
As part of managing the lifecycle of your Azure reservations in Partner Center, you can retrieve information about your Azure reservation Entitlements, and get reservation details using the reservation order ID. For examples of how to do this, see Get entitlements.
Invoice and reconciliation
The following scenarios show you how to programmatically view your customer's invoices, and get your account balances and summaries that include one-time charges for Azure reservations.
Balance and payment To get current account balance in your default currency type that is a balance of both recurring and one-time (Azure reservation) charges, see Get your current account balance
Multi-currency balance and payment To get your current account balance and a collection of invoice summaries containing an invoice summary with both recurring and one-time charges for each of your customer's currency types, see Get invoice summaries.
Invoices To get a collection of invoices that show both recurring and one time charges, see Get a collection of invoices.
Single Invoice To retrieve a specific invoice using the invoice ID, see Get an invoice by ID.
Reconciliation To get a collection of invoice line item details (Reconciliation line items) for a specific invoice ID, see Get invoice line items.
Download an invoice as a PDF To retrieve an invoice statement in PDF form using an invoice ID, see Get an invoice statement.