diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/CalculateReservationOrder.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/CalculateReservationOrder.json index 340a5e23d8f0..7b653eef3672 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/CalculateReservationOrder.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/CalculateReservationOrder.json @@ -10,6 +10,7 @@ "reservedResourceType": "VirtualMachines", "billingScopeId": "/subscriptions/ed3a1871-612d-abcd-a849-c2542a68be83", "term": "P1Y", + "billingPlan": "Monthly", "quantity": "1", "displayName": "TestReservationOrder", "appliedScopes": null, @@ -26,15 +27,42 @@ "properties": { "billingCurrencyTotal": { "currencyCode": "USD", - "amount": 466.0 + "amount": 46.0 }, "reservationOrderId": "6d9cec54-7de8-abcd-9de7-80f5d634f2d2", "skuTitle": "Reserved VM Instance, Standard_D1, US West, 1 Year", "skuDescription": "standard_D1", "pricingCurrencyTotal": { "currencyCode": "USD", - "amount": 466.0 - } + "amount": 46.0 + }, + "paymentSchedule": [ + { + "dueDate": "2019-05-14", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 46 + }, + "billingCurrencyTotal": { + "currencyCode": "EUR", + "amount": 40 + } + }, + { + "dueDate": "2019-06-14", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 46 + } + }, + { + "dueDate": "2019-07-14", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 46 + } + } + ] } } } diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json index 336b3863dd02..8701d13e9da1 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json @@ -15,6 +15,18 @@ "P1Y", "P3Y" ], + "billingPlans": [{ + "P1Y": [ + "Upfront", + "Monthly" + ] + }, { + "P3Y": [ + "Upfront", + "Monthly" + ] + } + ], "locations": [ "eastus" ], @@ -49,6 +61,18 @@ "P1Y", "P3Y" ], + "billingPlans": [{ + "P1Y": [ + "Upfront", + "Monthly" + ] + }, { + "P3Y": [ + "Upfront", + "Monthly" + ] + } + ], "locations": [ "eastus" ], @@ -98,6 +122,18 @@ "P1Y", "P3Y" ], + "billingPlans": [{ + "P1Y": [ + "Upfront", + "Monthly" + ] + }, { + "P3Y": [ + "Upfront", + "Monthly" + ] + } + ], "locations": [ "eastus" ], diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json index 4956a8ec4b00..39020e6878a8 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationDetails.json @@ -25,6 +25,7 @@ "renewDestination": "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/00238563-7312-4c20-a134-8c030bf938a7", "billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a", "appliedScopeType": "Single", + "billingPlan": "Monthly", "quantity": 3, "provisioningState": "Succeeded", "expiryDate": "2018-09-22", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetails.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetails.json index c0cf7b3e07ba..7c6fe5fd45bf 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetails.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetails.json @@ -16,6 +16,7 @@ "createdDateTime": "2017-08-30T03:51:49.8083758Z", "expiryDate": "2018-08-30", "term": "P1Y", + "billingPlan": "Monthly", "provisioningState": "Succeeded", "reservations": [ { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetailsWithExpandPlanInformation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetailsWithExpandPlanInformation.json new file mode 100644 index 000000000000..3bd576842dcb --- /dev/null +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrderDetailsWithExpandPlanInformation.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2019-04-01", + "reservationOrderId": "a075419f-44cc-497f-b68a-14ee811d48b9", + "$expand": "schedule" + }, + "responses": { + "200": { + "body": { + "id": "/providers/microsoft.capacity/reservationOrders/1f14354c-dc12-4c8d-8090-6f295a3a34aa", + "type": "Microsoft.Capacity/reservationOrders", + "name": "1f14354c-dc12-4c8d-8090-6f295a3a34aa", + "etag": 7, + "properties": { + "displayName": "cabri", + "requestDateTime": "2019-08-30T03:49:19Z", + "createdDateTime": "2019-08-30T03:51:49Z", + "expiryDate": "2018-08-30", + "term": "P1Y", + "billingPlan": "Monthly", + "provisioningState": "Succeeded", + "reservations": [ + { + "id": "/providers/microsoft.capacity/reservationOrders/1f14354c-dc12-4c8d-8090-6f295a3a34aa/reservations/c8c926bd-fc5d-4e29-9d43-b68340ac23a6" + } + ], + "originalQuantity": 7, + "planInformation": { + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "startDate": "2019-08-30", + "nextPaymentDueDate": "2019-09-30", + "transactions": [ + { + "dueDate": "2019-09-30", + "paymentDate": "2019-09-30", + "status": "Succeeded", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingAccount": "23456" + }, + { + "dueDate": "2019-10-30", + "paymentDate": "2019-10-30", + "status": "Failed", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "extendedStatusInfo": { + "statusCode": "PaymentDeclined", + "message": "Credit card charge failed." + }, + "billingAccount": "23456" + }, + { + "dueDate": "2019-10-31", + "paymentDate": "2019-10-31", + "status": "Succeeded", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingAccount": "23456" + }, + { + "dueDate": "2019-11-30", + "paymentDate": "2019-11-30", + "status": "Succeeded", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingAccount": "23456" + }, + { + "dueDate": "2019-07-14", + "paymentDate": "2019-06-14", + "status": "Scheduled", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingAccount": "23456" + }, + { + "dueDate": "2019-06-14", + "paymentDate": "2019-08-14", + "status": "Scheduled", + "pricingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingCurrencyTotal": { + "currencyCode": "USD", + "amount": 466 + }, + "billingAccount": "23456" + } + ] + } + } + } + } + } + } \ No newline at end of file diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrders.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrders.json index 9da256509b19..63729d2c7691 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrders.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationOrders.json @@ -17,6 +17,7 @@ "createdDateTime": "2017-08-29T21:22:56.8541664Z", "expiryDate": "2018-08-29", "term": "P1Y", + "billingPlan": "Monthly", "provisioningState": "Succeeded", "reservations": [ { @@ -37,6 +38,7 @@ "createdDateTime": "2017-08-30T12:58:20.526Z", "expiryDate": "2018-08-30", "term": "P1Y", + "billingPlan": "Monthly", "provisioningState": "Succeeded", "reservations": [ { @@ -57,6 +59,7 @@ "createdDateTime": "2017-08-30T03:51:49.8083758Z", "expiryDate": "2018-08-30", "term": "P1Y", + "billingPlan": "Monthly", "provisioningState": "Succeeded", "reservations": [ { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationRevisions.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationRevisions.json index 5d39f4459ce8..645065f95057 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationRevisions.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservationRevisions.json @@ -23,6 +23,7 @@ "provisioningState": "Succeeded", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T23:57:48.1891638Z", "lastUpdatedDateTime": "2017-09-22T23:57:54.3768768Z", "reservedResourceType": "VirtualMachines", @@ -54,6 +55,7 @@ "provisioningState": "Succeeded", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T22:46:32.7632798Z", "extendedStatusInfo": { "statusCode": "Pending", @@ -89,6 +91,7 @@ "provisioningState": "Succeeded", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T22:46:32.7632798Z", "lastUpdatedDateTime": "2017-09-22T22:46:32.7632798Z", "reservedResourceType": "VirtualMachines", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json index 7d4e8a335f80..ee1a0d7acadc 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetReservations.json @@ -27,6 +27,7 @@ "provisioningState": "Cancelled", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T01:00:30.9253826Z", "extendedStatusInfo": { "statusCode": "Split", @@ -64,6 +65,7 @@ "provisioningState": "Cancelled", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T22:46:32.7632798Z", "extendedStatusInfo": { "statusCode": "Merged", @@ -101,6 +103,7 @@ "provisioningState": "Cancelled", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T22:46:32.7632798Z", "extendedStatusInfo": { "statusCode": "Merged", @@ -138,6 +141,7 @@ "provisioningState": "Succeeded", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T22:46:32.7632798Z", "lastUpdatedDateTime": "2017-09-22T22:46:32.7632798Z", "reservedResourceType": "VirtualMachines", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json index f5b46e7e3bd7..d898b0b83cd3 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/MergeReservations.json @@ -34,6 +34,7 @@ "provisioningState": "Cancelled", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T22:46:32.7632798Z", "extendedStatusInfo": { "statusCode": "Merged", @@ -71,6 +72,7 @@ "provisioningState": "Cancelled", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T22:46:32.7632798Z", "extendedStatusInfo": { "statusCode": "Merged", @@ -108,6 +110,7 @@ "provisioningState": "Succeeded", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T22:46:32.7632798Z", "lastUpdatedDateTime": "2017-09-22T22:46:32.7632798Z", "reservedResourceType": "VirtualMachines", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json index 7ca424b72af8..1666a037a0cb 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/PurchaseReservationOrder.json @@ -11,6 +11,7 @@ "reservedResourceType": "VirtualMachines", "billingScopeId": "/subscriptions/ed3a1871-612d-abcd-a849-c2542a68be83", "term": "P1Y", + "billingPlan": "Monthly", "quantity": "1", "displayName": "TestReservationOrder", "appliedScopes": null, @@ -35,6 +36,7 @@ "createdDateTime": "2017-08-30T03:51:49.8083758Z", "expiryDate": "2018-08-30", "term": "P1Y", + "billingPlan": "Monthly", "provisioningState": "Succeeded", "reservations": [ { @@ -53,6 +55,7 @@ "etag": 7, "properties": { "displayName": "cabri", + "billingPlan": "Monthly", "requestDateTime": "2017-08-30T03:49:19.0252126Z", "createdDateTime": "2017-08-30T03:51:49.8083758Z", "expiryDate": "2018-08-30", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json index e16d637755a0..3d658842b477 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/SplitReservation.json @@ -35,6 +35,7 @@ "provisioningState": "Succeeded", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T01:00:30.9253826Z", "lastUpdatedDateTime": "2017-09-22T01:00:36.3191627Z", "reservedResourceType": "VirtualMachines", @@ -65,6 +66,7 @@ "provisioningState": "Succeeded", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T01:00:30.9253826Z", "lastUpdatedDateTime": "2017-09-22T01:00:36.3191627Z", "reservedResourceType": "VirtualMachines", @@ -95,6 +97,7 @@ "provisioningState": "Cancelled", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T01:00:30.9253826Z", "extendedStatusInfo": { "statusCode": "Split", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json index 107ebee173db..c54e744d1ebe 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/UpdateReservation.json @@ -29,6 +29,7 @@ "provisioningState": "Succeeded", "expiryDate": "2018-09-22", "displayName": "cabri_test", + "billingPlan": "Monthly", "effectiveDateTime": "2017-09-22T23:57:48.1891638Z", "lastUpdatedDateTime": "2017-09-22T23:57:54.3768768Z", "reservedResourceType": "VirtualMachines", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json index f57d4440c5bc..0e8abbf4d1d0 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json @@ -119,7 +119,7 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/appliedReservations": { "get": { "summary": "Get list of applicable `Reservation`s.", - "description": "Get applicable `Reservation`s that are applied to this subscription.", + "description": "Get applicable `Reservation`s that are applied to this subscription or a resource group under this subscription.", "operationId": "GetAppliedReservationList", "x-ms-examples": { "AppliedReservationList": { @@ -283,6 +283,9 @@ "x-ms-examples": { "GetReservation": { "$ref": "./examples/GetReservationOrderDetails.json" + }, + "GetReservationWithExpandPayments": { + "$ref": "./examples/GetReservationOrderDetailsWithExpandPlanInformation.json" } }, "parameters": [ @@ -291,6 +294,13 @@ }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "$expand", + "description": "May be used to expand the planInformation.", + "in": "query", + "required": false, + "type": "string" } ], "tags": [ @@ -323,6 +333,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "#/parameters/ReservationOrderIdParameter" @@ -370,6 +383,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "#/parameters/ReservationOrderIdParameter" @@ -720,6 +736,25 @@ "description": "The name of SKU", "readOnly": true }, + "billingPlans": { + "type": "array", + "description": "The billing plan options available for this SKU.", + "items" :{ + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ReservationTerm", + "description": "The term for the billing SKU is available for." + } + }, + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/definitions/ReservationBillingPlan" + } + } + } + }, "terms": { "type": "array", "readOnly": true, @@ -813,6 +848,18 @@ } } }, + "ReservationBillingPlan": { + "type": "string", + "description": "Represent the billing plans.", + "enum": [ + "Upfront", + "Monthly" + ], + "x-ms-enum": { + "name": "ReservationBillingPlan", + "modelAsString": true + } + }, "ReservationTerm": { "type": "string", "description": "Represent the term of Reservation.", @@ -825,6 +872,80 @@ "modelAsString": true } }, + "PaymentStatus": { + "type": "string", + "description": "Describes whether the payment is completed, failed, cancelled or scheduled in the future.", + "enum": [ + "Succeeded", + "Failed", + "Scheduled", + "Cancelled" + ], + "x-ms-enum": { + "name": "PaymentStatus", + "modelAsString": true + } + }, + "PaymentDetail": { + "type": "object", + "description": "Information about payment related to a reservation order.", + "properties": { + "dueDate": { + "type": "string", + "format": "date", + "description": "Date when the payment needs to be done." + }, + "paymentDate": { + "type": "string", + "format": "date", + "description": "Date when the transaction is completed. Is null when it is scheduled." + }, + "pricingCurrencyTotal": { + "$ref": "#/definitions/Price", + "description": "Amount in pricing currency. Tax not included." + }, + "billingCurrencyTotal": { + "$ref": "#/definitions/Price", + "description": "Amount charged in Billing currency. Tax not included. Is null for future payments" + }, + "billingAccount": { + "type": "string", + "description": "Shows the Account that is charged for this payment." + }, + "status": { + "$ref": "#/definitions/PaymentStatus" + }, + "extendedStatusInfo": { + "$ref": "#/definitions/ExtendedStatusInfo" + } + } + }, + "ReservationOrderBillingPlanInformation": { + "type": "object", + "description": "Information describing the type of billing plan for this reservation.", + "properties": { + "pricingCurrencyTotal": { + "$ref": "#/definitions/Price", + "description": "Amount of money to be paid for the Order. Tax is not included." + }, + "startDate": { + "type": "string", + "format": "date", + "description": "Date when the billing plan has started." + }, + "nextPaymentDueDate": { + "type": "string", + "format": "date", + "description": "For recurring billing plans, indicates the date when next payment will be processed. Null when total is paid off." + }, + "transactions": { + "type": "array", + "items": { + "$ref": "#/definitions/PaymentDetail" + } + } + } + }, "ReservationOrderProperties": { "type": "object", "properties": { @@ -857,6 +978,12 @@ "type": "string", "description": "Current state of the reservation." }, + "billingPlan": { + "$ref": "#/definitions/ReservationBillingPlan" + }, + "planInformation": { + "$ref": "#/definitions/ReservationOrderBillingPlanInformation" + }, "reservations": { "type": "array", "items": { @@ -982,6 +1109,12 @@ "type": "number" } } + }, + "paymentSchedule": { + "type": "array", + "items": { + "$ref": "#/definitions/PaymentDetail" + } } } }, @@ -1034,6 +1167,9 @@ "extendedStatusInfo": { "$ref": "#/definitions/ExtendedStatusInfo" }, + "billingPlan": { + "$ref": "#/definitions/ReservationBillingPlan" + }, "splitProperties": { "$ref": "#/definitions/ReservationSplitProperties" }, @@ -1106,6 +1242,9 @@ "term": { "$ref": "#/definitions/ReservationTerm" }, + "billingPlan": { + "$ref": "#/definitions/ReservationBillingPlan" + }, "quantity": { "$ref": "#/definitions/ReservationQuantity" }, @@ -1484,6 +1623,19 @@ "name": "ReservedResourceType", "modelAsString": true } + }, + "Price": { + "type": "object", + "properties": { + "currencyCode": { + "type": "string", + "description": "The ISO 4217 3-letter currency code for the currency used by this purchase record." + }, + "amount": { + "type": "number", + "format": "double" + } + } } }, "parameters": {