Azure reservations: New experience and APIs for purchasing reservations

Posted on Friday, April 19, 2019

We’re launching a new user experience and APIs for purchasing Azure reservations. You can now add multiple products to your cart and purchase them together from the Azure portal, or use the reservation APIs to purchase individual products.

The new user experience also shows purchase recommendations for VM size that have consistent usage over the last 30 days, to help you select the right VM size.

Each product in your cart is processed as a separate transaction. If one purchase fails, other products in the cart are not affected and will still be purchased.

New purchase UI

You can now purchase Azure reservations and software plans by using REST APIs. To learn more, see the reservation docs.

Here's a sample request to purchase by using an API:

PUT https://management.azure.com/providers/Microsoft.Capacity/reservationOrders/<GUID>?api-version=2019-04-01

Request body:

{
 "sku": {
    "name": "standard_D1"
  },
 "location": "westus",
 "properties": {
    "reservedResourceType": "VirtualMachines",
    "billingScopeId": "/subscriptions/ed3a1871-612d-abcd-a849-c2542a68be83",
    "term": "P1Y",
    "quantity": "1",
    "displayName": "TestReservationOrder",
    "appliedScopes": null,
    "appliedScopeType": "Shared",
    "reservedResourceProperties": {
      "instanceFlexibility": "On"
    }
  }
}
 

For more information, see:

  • Features
  • Management
  • Pricing & Offerings