Skip to content

Commit

Permalink
[AutoPR] reservations/resource-manager (#7569)
Browse files Browse the repository at this point in the history
* [AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#7251)

* Generated from f19a2e5b7f384018b74b21b7b8b8782d95b456f9

fixed x-ms-enum value

* Generated from 2f56008117d578bec6cc8b8c832926f45a0fe52e

fixed catalog definition

* Generated from cac978330e8c7b9583812a735cfeac97fb267056

reverted breaking operation id change

* added version and history
  • Loading branch information
AutorestCI authored and Zim Kalinowski committed Oct 4, 2019
1 parent 5084017 commit 362de0c
Show file tree
Hide file tree
Showing 9 changed files with 361 additions and 10 deletions.
16 changes: 16 additions & 0 deletions sdk/reservations/azure-mgmt-reservations/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
Release History
===============

0.5.0 (2019-10-04)
++++++++++++++++++

**Features**

- Model ReservationProperties has a new parameter billing_plan
- Model CalculatePriceResponseProperties has a new parameter payment_schedule
- Model ReservationOrderResponse has a new parameter plan_information
- Model ReservationOrderResponse has a new parameter billing_plan
- Model Catalog has a new parameter billing_plans
- Model PurchaseRequest has a new parameter billing_plan

**Breaking changes**

- Operation ReservationOrderOperations.get has a new signature

0.4.0 (2019-09-09)
++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from ._models_py3 import CalculatePriceResponsePropertiesBillingCurrencyTotal
from ._models_py3 import CalculatePriceResponsePropertiesPricingCurrencyTotal
from ._models_py3 import Catalog
from ._models_py3 import CatalogBillingPlansItem
from ._models_py3 import Error, ErrorException
from ._models_py3 import ExtendedErrorInfo
from ._models_py3 import ExtendedStatusInfo
Expand All @@ -25,13 +26,16 @@
from ._models_py3 import OperationResponse
from ._models_py3 import Patch
from ._models_py3 import PatchPropertiesRenewProperties
from ._models_py3 import PaymentDetail
from ._models_py3 import Price
from ._models_py3 import Properties
from ._models_py3 import PurchaseRequest
from ._models_py3 import PurchaseRequestPropertiesReservedResourceProperties
from ._models_py3 import RenewPropertiesResponse
from ._models_py3 import RenewPropertiesResponseBillingCurrencyTotal
from ._models_py3 import RenewPropertiesResponsePricingCurrencyTotal
from ._models_py3 import ReservationMergeProperties
from ._models_py3 import ReservationOrderBillingPlanInformation
from ._models_py3 import ReservationOrderResponse
from ._models_py3 import ReservationProperties
from ._models_py3 import ReservationResponse
Expand All @@ -50,6 +54,7 @@
from ._models import CalculatePriceResponsePropertiesBillingCurrencyTotal
from ._models import CalculatePriceResponsePropertiesPricingCurrencyTotal
from ._models import Catalog
from ._models import CatalogBillingPlansItem
from ._models import Error, ErrorException
from ._models import ExtendedErrorInfo
from ._models import ExtendedStatusInfo
Expand All @@ -58,13 +63,16 @@
from ._models import OperationResponse
from ._models import Patch
from ._models import PatchPropertiesRenewProperties
from ._models import PaymentDetail
from ._models import Price
from ._models import Properties
from ._models import PurchaseRequest
from ._models import PurchaseRequestPropertiesReservedResourceProperties
from ._models import RenewPropertiesResponse
from ._models import RenewPropertiesResponseBillingCurrencyTotal
from ._models import RenewPropertiesResponsePricingCurrencyTotal
from ._models import ReservationMergeProperties
from ._models import ReservationOrderBillingPlanInformation
from ._models import ReservationOrderResponse
from ._models import ReservationProperties
from ._models import ReservationResponse
Expand All @@ -81,7 +89,9 @@
from ._azure_reservation_api_enums import (
ReservationStatusCode,
ErrorResponseCode,
ReservationBillingPlan,
ReservationTerm,
PaymentStatus,
ReservedResourceType,
InstanceFlexibility,
AppliedScopeType,
Expand All @@ -95,6 +105,7 @@
'CalculatePriceResponsePropertiesBillingCurrencyTotal',
'CalculatePriceResponsePropertiesPricingCurrencyTotal',
'Catalog',
'CatalogBillingPlansItem',
'Error', 'ErrorException',
'ExtendedErrorInfo',
'ExtendedStatusInfo',
Expand All @@ -103,13 +114,16 @@
'OperationResponse',
'Patch',
'PatchPropertiesRenewProperties',
'PaymentDetail',
'Price',
'Properties',
'PurchaseRequest',
'PurchaseRequestPropertiesReservedResourceProperties',
'RenewPropertiesResponse',
'RenewPropertiesResponseBillingCurrencyTotal',
'RenewPropertiesResponsePricingCurrencyTotal',
'ReservationMergeProperties',
'ReservationOrderBillingPlanInformation',
'ReservationOrderResponse',
'ReservationProperties',
'ReservationResponse',
Expand All @@ -125,7 +139,9 @@
'OperationResponsePaged',
'ReservationStatusCode',
'ErrorResponseCode',
'ReservationBillingPlan',
'ReservationTerm',
'PaymentStatus',
'ReservedResourceType',
'InstanceFlexibility',
'AppliedScopeType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,26 @@ class ErrorResponseCode(str, Enum):
calculate_price_failed = "CalculatePriceFailed"


class ReservationBillingPlan(str, Enum):

upfront = "Upfront"
monthly = "Monthly"


class ReservationTerm(str, Enum):

p1_y = "P1Y"
p3_y = "P3Y"


class PaymentStatus(str, Enum):

succeeded = "Succeeded"
failed = "Failed"
scheduled = "Scheduled"
cancelled = "Cancelled"


class ReservedResourceType(str, Enum):

virtual_machines = "VirtualMachines"
Expand Down
Loading

0 comments on commit 362de0c

Please sign in to comment.