Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 362de0c

Browse files
AutorestCIZim Kalinowski
authored and
Zim Kalinowski
committed
[AutoPR] reservations/resource-manager (Azure#7569)
* [AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (Azure#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
1 parent 5084017 commit 362de0c

File tree

9 files changed

+361
-10
lines changed

9 files changed

+361
-10
lines changed

sdk/reservations/azure-mgmt-reservations/HISTORY.rst

+16
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
Release History
44
===============
55

6+
0.5.0 (2019-10-04)
7+
++++++++++++++++++
8+
9+
**Features**
10+
11+
- Model ReservationProperties has a new parameter billing_plan
12+
- Model CalculatePriceResponseProperties has a new parameter payment_schedule
13+
- Model ReservationOrderResponse has a new parameter plan_information
14+
- Model ReservationOrderResponse has a new parameter billing_plan
15+
- Model Catalog has a new parameter billing_plans
16+
- Model PurchaseRequest has a new parameter billing_plan
17+
18+
**Breaking changes**
19+
20+
- Operation ReservationOrderOperations.get has a new signature
21+
622
0.4.0 (2019-09-09)
723
++++++++++++++++++
824

sdk/reservations/azure-mgmt-reservations/azure/mgmt/reservations/models/__init__.py

+16
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from ._models_py3 import CalculatePriceResponsePropertiesBillingCurrencyTotal
1818
from ._models_py3 import CalculatePriceResponsePropertiesPricingCurrencyTotal
1919
from ._models_py3 import Catalog
20+
from ._models_py3 import CatalogBillingPlansItem
2021
from ._models_py3 import Error, ErrorException
2122
from ._models_py3 import ExtendedErrorInfo
2223
from ._models_py3 import ExtendedStatusInfo
@@ -25,13 +26,16 @@
2526
from ._models_py3 import OperationResponse
2627
from ._models_py3 import Patch
2728
from ._models_py3 import PatchPropertiesRenewProperties
29+
from ._models_py3 import PaymentDetail
30+
from ._models_py3 import Price
2831
from ._models_py3 import Properties
2932
from ._models_py3 import PurchaseRequest
3033
from ._models_py3 import PurchaseRequestPropertiesReservedResourceProperties
3134
from ._models_py3 import RenewPropertiesResponse
3235
from ._models_py3 import RenewPropertiesResponseBillingCurrencyTotal
3336
from ._models_py3 import RenewPropertiesResponsePricingCurrencyTotal
3437
from ._models_py3 import ReservationMergeProperties
38+
from ._models_py3 import ReservationOrderBillingPlanInformation
3539
from ._models_py3 import ReservationOrderResponse
3640
from ._models_py3 import ReservationProperties
3741
from ._models_py3 import ReservationResponse
@@ -50,6 +54,7 @@
5054
from ._models import CalculatePriceResponsePropertiesBillingCurrencyTotal
5155
from ._models import CalculatePriceResponsePropertiesPricingCurrencyTotal
5256
from ._models import Catalog
57+
from ._models import CatalogBillingPlansItem
5358
from ._models import Error, ErrorException
5459
from ._models import ExtendedErrorInfo
5560
from ._models import ExtendedStatusInfo
@@ -58,13 +63,16 @@
5863
from ._models import OperationResponse
5964
from ._models import Patch
6065
from ._models import PatchPropertiesRenewProperties
66+
from ._models import PaymentDetail
67+
from ._models import Price
6168
from ._models import Properties
6269
from ._models import PurchaseRequest
6370
from ._models import PurchaseRequestPropertiesReservedResourceProperties
6471
from ._models import RenewPropertiesResponse
6572
from ._models import RenewPropertiesResponseBillingCurrencyTotal
6673
from ._models import RenewPropertiesResponsePricingCurrencyTotal
6774
from ._models import ReservationMergeProperties
75+
from ._models import ReservationOrderBillingPlanInformation
6876
from ._models import ReservationOrderResponse
6977
from ._models import ReservationProperties
7078
from ._models import ReservationResponse
@@ -81,7 +89,9 @@
8189
from ._azure_reservation_api_enums import (
8290
ReservationStatusCode,
8391
ErrorResponseCode,
92+
ReservationBillingPlan,
8493
ReservationTerm,
94+
PaymentStatus,
8595
ReservedResourceType,
8696
InstanceFlexibility,
8797
AppliedScopeType,
@@ -95,6 +105,7 @@
95105
'CalculatePriceResponsePropertiesBillingCurrencyTotal',
96106
'CalculatePriceResponsePropertiesPricingCurrencyTotal',
97107
'Catalog',
108+
'CatalogBillingPlansItem',
98109
'Error', 'ErrorException',
99110
'ExtendedErrorInfo',
100111
'ExtendedStatusInfo',
@@ -103,13 +114,16 @@
103114
'OperationResponse',
104115
'Patch',
105116
'PatchPropertiesRenewProperties',
117+
'PaymentDetail',
118+
'Price',
106119
'Properties',
107120
'PurchaseRequest',
108121
'PurchaseRequestPropertiesReservedResourceProperties',
109122
'RenewPropertiesResponse',
110123
'RenewPropertiesResponseBillingCurrencyTotal',
111124
'RenewPropertiesResponsePricingCurrencyTotal',
112125
'ReservationMergeProperties',
126+
'ReservationOrderBillingPlanInformation',
113127
'ReservationOrderResponse',
114128
'ReservationProperties',
115129
'ReservationResponse',
@@ -125,7 +139,9 @@
125139
'OperationResponsePaged',
126140
'ReservationStatusCode',
127141
'ErrorResponseCode',
142+
'ReservationBillingPlan',
128143
'ReservationTerm',
144+
'PaymentStatus',
129145
'ReservedResourceType',
130146
'InstanceFlexibility',
131147
'AppliedScopeType',

sdk/reservations/azure-mgmt-reservations/azure/mgmt/reservations/models/_azure_reservation_api_enums.py

+14
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,26 @@ class ErrorResponseCode(str, Enum):
8484
calculate_price_failed = "CalculatePriceFailed"
8585

8686

87+
class ReservationBillingPlan(str, Enum):
88+
89+
upfront = "Upfront"
90+
monthly = "Monthly"
91+
92+
8793
class ReservationTerm(str, Enum):
8894

8995
p1_y = "P1Y"
9096
p3_y = "P3Y"
9197

9298

99+
class PaymentStatus(str, Enum):
100+
101+
succeeded = "Succeeded"
102+
failed = "Failed"
103+
scheduled = "Scheduled"
104+
cancelled = "Cancelled"
105+
106+
93107
class ReservedResourceType(str, Enum):
94108

95109
virtual_machines = "VirtualMachines"

0 commit comments

Comments
 (0)