azure_mgmt_reservations 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2017-11-01/generated/azure_mgmt_reservations.rb +53 -0
  4. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/applied_reservation_list.rb +66 -0
  5. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/applied_reservations.rb +85 -0
  6. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/catalog.rb +166 -0
  7. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/error.rb +48 -0
  8. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/extended_error_info.rb +84 -0
  9. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/extended_status_info.rb +61 -0
  10. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/kind.rb +15 -0
  11. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/merge_request.rb +56 -0
  12. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/operation_display.rb +80 -0
  13. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/operation_list.rb +98 -0
  14. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/operation_response.rb +70 -0
  15. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/patch.rb +66 -0
  16. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/reservation_list.rb +98 -0
  17. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/reservation_merge_properties.rb +70 -0
  18. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/reservation_order_list.rb +98 -0
  19. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/reservation_order_response.rb +187 -0
  20. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/reservation_properties.rb +176 -0
  21. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/reservation_response.rb +137 -0
  22. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/reservation_split_properties.rb +70 -0
  23. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/sku_capability.rb +58 -0
  24. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/sku_name.rb +47 -0
  25. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/sku_restriction.rb +79 -0
  26. data/lib/2017-11-01/generated/azure_mgmt_reservations/models/split_request.rb +69 -0
  27. data/lib/2017-11-01/generated/azure_mgmt_reservations/module_definition.rb +9 -0
  28. data/lib/2017-11-01/generated/azure_mgmt_reservations/operation.rb +228 -0
  29. data/lib/2017-11-01/generated/azure_mgmt_reservations/reservation.rb +1109 -0
  30. data/lib/2017-11-01/generated/azure_mgmt_reservations/reservation_order.rb +332 -0
  31. data/lib/2017-11-01/generated/azure_mgmt_reservations/reservations_management_client.rb +335 -0
  32. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations.rb +58 -0
  33. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/applied_reservation_list.rb +66 -0
  34. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/applied_reservations.rb +85 -0
  35. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/applied_scope_type.rb +16 -0
  36. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/catalog.rb +143 -0
  37. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/error.rb +48 -0
  38. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/error_response_code.rb +69 -0
  39. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/extended_error_info.rb +84 -0
  40. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/extended_status_info.rb +61 -0
  41. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/instance_flexibility.rb +17 -0
  42. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/merge_request.rb +56 -0
  43. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/operation_display.rb +80 -0
  44. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/operation_list.rb +98 -0
  45. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/operation_response.rb +70 -0
  46. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/patch.rb +89 -0
  47. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_list.rb +98 -0
  48. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_merge_properties.rb +70 -0
  49. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_order_list.rb +98 -0
  50. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_order_response.rb +184 -0
  51. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_properties.rb +208 -0
  52. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_response.rb +120 -0
  53. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_split_properties.rb +70 -0
  54. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_status_code.rb +23 -0
  55. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_term.rb +16 -0
  56. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reserved_resource_type.rb +19 -0
  57. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/sku_name.rb +47 -0
  58. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/sku_property.rb +58 -0
  59. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/sku_restriction.rb +79 -0
  60. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/split_request.rb +69 -0
  61. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/module_definition.rb +9 -0
  62. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/operation.rb +228 -0
  63. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/reservation.rb +1109 -0
  64. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/reservation_order.rb +332 -0
  65. data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb +348 -0
  66. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations.rb +64 -0
  67. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/applied_reservation_list.rb +66 -0
  68. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/applied_reservations.rb +85 -0
  69. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/applied_scope_type.rb +16 -0
  70. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response.rb +48 -0
  71. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties.rb +110 -0
  72. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb +59 -0
  73. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_pricing_currency_total.rb +59 -0
  74. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/catalog.rb +143 -0
  75. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/error.rb +48 -0
  76. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/error_response_code.rb +69 -0
  77. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/extended_error_info.rb +84 -0
  78. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/extended_status_info.rb +61 -0
  79. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/instance_flexibility.rb +16 -0
  80. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/merge_request.rb +56 -0
  81. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/operation_display.rb +80 -0
  82. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/operation_list.rb +98 -0
  83. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/operation_response.rb +70 -0
  84. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/patch.rb +88 -0
  85. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/purchase_request.rb +159 -0
  86. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/purchase_request_properties_reserved_resource_properties.rb +48 -0
  87. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_list.rb +98 -0
  88. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_merge_properties.rb +70 -0
  89. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_order_list.rb +98 -0
  90. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_order_response.rb +183 -0
  91. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_properties.rb +206 -0
  92. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_response.rb +120 -0
  93. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_split_properties.rb +70 -0
  94. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_status_code.rb +23 -0
  95. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reservation_term.rb +16 -0
  96. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/reserved_resource_type.rb +18 -0
  97. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/sku_name.rb +47 -0
  98. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/sku_property.rb +58 -0
  99. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/sku_restriction.rb +79 -0
  100. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/split_request.rb +69 -0
  101. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/module_definition.rb +9 -0
  102. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/operation.rb +228 -0
  103. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/reservation.rb +1072 -0
  104. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/reservation_order.rb +594 -0
  105. data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb +348 -0
  106. data/lib/azure_mgmt_reservations.rb +8 -0
  107. data/lib/module_definition.rb +7 -0
  108. data/lib/profiles/latest/modules/reservations_profile_module.rb +201 -0
  109. data/lib/profiles/latest/reservations_latest_profile_client.rb +40 -0
  110. data/lib/profiles/latest/reservations_module_definition.rb +8 -0
  111. data/lib/version.rb +7 -0
  112. metadata +227 -0
@@ -0,0 +1,208 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Reservations::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ReservationProperties
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [ReservedResourceType] Possible values include:
17
+ # 'VirtualMachines', 'SqlDatabases', 'SuseLinux', 'CosmosDb', 'RedHat'
18
+ attr_accessor :reserved_resource_type
19
+
20
+ # @return [InstanceFlexibility] Possible values include: 'On', 'Off',
21
+ # 'NotSupported'
22
+ attr_accessor :instance_flexibility
23
+
24
+ # @return [String] Friendly name for user to easily identify the
25
+ # reservation
26
+ attr_accessor :display_name
27
+
28
+ # @return [Array<String>]
29
+ attr_accessor :applied_scopes
30
+
31
+ # @return [AppliedScopeType] Possible values include: 'Single', 'Shared'
32
+ attr_accessor :applied_scope_type
33
+
34
+ # @return [Integer] Quantity of the SKUs that are part of the
35
+ # Reservation.
36
+ attr_accessor :quantity
37
+
38
+ # @return [String] Current state of the reservation.
39
+ attr_accessor :provisioning_state
40
+
41
+ # @return [DateTime] DateTime of the Reservation starting when this
42
+ # version is effective from.
43
+ attr_accessor :effective_date_time
44
+
45
+ # @return [DateTime] DateTime of the last time the Reservation was
46
+ # updated.
47
+ attr_accessor :last_updated_date_time
48
+
49
+ # @return [Date] This is the date when the Reservation will expire.
50
+ attr_accessor :expiry_date
51
+
52
+ # @return [String] Description of the SKU in english.
53
+ attr_accessor :sku_description
54
+
55
+ # @return [ExtendedStatusInfo]
56
+ attr_accessor :extended_status_info
57
+
58
+ # @return [ReservationSplitProperties]
59
+ attr_accessor :split_properties
60
+
61
+ # @return [ReservationMergeProperties]
62
+ attr_accessor :merge_properties
63
+
64
+
65
+ #
66
+ # Mapper for ReservationProperties class as Ruby Hash.
67
+ # This will be used for serialization/deserialization.
68
+ #
69
+ def self.mapper()
70
+ {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'ReservationProperties',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'ReservationProperties',
77
+ model_properties: {
78
+ reserved_resource_type: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'reservedResourceType',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ instance_flexibility: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'instanceFlexibility',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ display_name: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'displayName',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ applied_scopes: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ serialized_name: 'appliedScopes',
106
+ type: {
107
+ name: 'Sequence',
108
+ element: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'StringElementType',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ }
116
+ }
117
+ },
118
+ applied_scope_type: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ serialized_name: 'appliedScopeType',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ quantity: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'quantity',
130
+ type: {
131
+ name: 'Number'
132
+ }
133
+ },
134
+ provisioning_state: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'provisioningState',
138
+ type: {
139
+ name: 'String'
140
+ }
141
+ },
142
+ effective_date_time: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'effectiveDateTime',
146
+ type: {
147
+ name: 'DateTime'
148
+ }
149
+ },
150
+ last_updated_date_time: {
151
+ client_side_validation: true,
152
+ required: false,
153
+ read_only: true,
154
+ serialized_name: 'lastUpdatedDateTime',
155
+ type: {
156
+ name: 'DateTime'
157
+ }
158
+ },
159
+ expiry_date: {
160
+ client_side_validation: true,
161
+ required: false,
162
+ serialized_name: 'expiryDate',
163
+ type: {
164
+ name: 'Date'
165
+ }
166
+ },
167
+ sku_description: {
168
+ client_side_validation: true,
169
+ required: false,
170
+ serialized_name: 'skuDescription',
171
+ type: {
172
+ name: 'String'
173
+ }
174
+ },
175
+ extended_status_info: {
176
+ client_side_validation: true,
177
+ required: false,
178
+ serialized_name: 'extendedStatusInfo',
179
+ type: {
180
+ name: 'Composite',
181
+ class_name: 'ExtendedStatusInfo'
182
+ }
183
+ },
184
+ split_properties: {
185
+ client_side_validation: true,
186
+ required: false,
187
+ serialized_name: 'splitProperties',
188
+ type: {
189
+ name: 'Composite',
190
+ class_name: 'ReservationSplitProperties'
191
+ }
192
+ },
193
+ merge_properties: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ serialized_name: 'mergeProperties',
197
+ type: {
198
+ name: 'Composite',
199
+ class_name: 'ReservationMergeProperties'
200
+ }
201
+ }
202
+ }
203
+ }
204
+ }
205
+ end
206
+ end
207
+ end
208
+ end
@@ -0,0 +1,120 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Reservations::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ReservationResponse
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The Azure Region where the reserved resource lives.
17
+ attr_accessor :location
18
+
19
+ # @return [Integer]
20
+ attr_accessor :etag
21
+
22
+ # @return [String] Identifier of the reservation
23
+ attr_accessor :id
24
+
25
+ # @return [String] Name of the reservation
26
+ attr_accessor :name
27
+
28
+ # @return [SkuName]
29
+ attr_accessor :sku
30
+
31
+ # @return [ReservationProperties]
32
+ attr_accessor :properties
33
+
34
+ # @return [String] Type of resource.
35
+ # "Microsoft.Capacity/reservationOrders/reservations"
36
+ attr_accessor :type
37
+
38
+
39
+ #
40
+ # Mapper for ReservationResponse class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'ReservationResponse',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'ReservationResponse',
51
+ model_properties: {
52
+ location: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'location',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ etag: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'etag',
65
+ type: {
66
+ name: 'Number'
67
+ }
68
+ },
69
+ id: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'id',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ name: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'name',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ sku: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'sku',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'SkuName'
94
+ }
95
+ },
96
+ properties: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'properties',
100
+ type: {
101
+ name: 'Composite',
102
+ class_name: 'ReservationProperties'
103
+ }
104
+ },
105
+ type: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ read_only: true,
109
+ serialized_name: 'type',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ end
118
+ end
119
+ end
120
+ end
@@ -0,0 +1,70 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Reservations::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ReservationSplitProperties
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<String>] List of destination Resource Id that are
17
+ # created due to split. Format of the resource Id is
18
+ # /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}
19
+ attr_accessor :split_destinations
20
+
21
+ # @return [String] Resource Id of the Reservation from which this is
22
+ # split. Format of the resource Id is
23
+ # /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}
24
+ attr_accessor :split_source
25
+
26
+
27
+ #
28
+ # Mapper for ReservationSplitProperties class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'ReservationSplitProperties',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ReservationSplitProperties',
39
+ model_properties: {
40
+ split_destinations: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'splitDestinations',
44
+ type: {
45
+ name: 'Sequence',
46
+ element: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'StringElementType',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ },
56
+ split_source: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'splitSource',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,23 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Reservations::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ReservationStatusCode
10
+ #
11
+ module ReservationStatusCode
12
+ None = "None"
13
+ Pending = "Pending"
14
+ Active = "Active"
15
+ PurchaseError = "PurchaseError"
16
+ PaymentInstrumentError = "PaymentInstrumentError"
17
+ Split = "Split"
18
+ Merged = "Merged"
19
+ Expired = "Expired"
20
+ Succeeded = "Succeeded"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Reservations::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ReservationTerm
10
+ #
11
+ module ReservationTerm
12
+ P1Y = "P1Y"
13
+ P3Y = "P3Y"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,19 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Reservations::Mgmt::V2018_06_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ReservedResourceType
10
+ #
11
+ module ReservedResourceType
12
+ VirtualMachines = "VirtualMachines"
13
+ SqlDatabases = "SqlDatabases"
14
+ SuseLinux = "SuseLinux"
15
+ CosmosDb = "CosmosDb"
16
+ RedHat = "RedHat"
17
+ end
18
+ end
19
+ end