azure_mgmt_reservations 0.19.2 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-11-01/generated/azure_mgmt_reservations/reservations_management_client.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb +1 -1
- data/lib/2019-04-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb +1 -1
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations.rb +15 -19
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/auto_quota_increase.rb +0 -18
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/{on_failure.rb → actions.rb} +6 -20
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/auto_quota_increase_detail.rb +4 -4
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/current_quota_limit.rb +3 -76
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/current_quota_limit_base.rb +3 -76
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/email_actions.rb +4 -5
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/quota_properties.rb +120 -0
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/quota_request_one_resource_submit_response.rb +3 -76
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/{current_quota_limit_base_name.rb → resource_name.rb} +4 -4
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/sub_request.rb +2 -2
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/support_request_action.rb +0 -11
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/quota.rb +692 -31
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/{quota_requests.rb → quota_request_status.rb} +30 -74
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/reservations_management_client.rb +5 -13
- data/lib/profiles/latest/modules/reservations_profile_module.rb +47 -59
- data/lib/version.rb +1 -1
- metadata +6 -10
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/on_failure_email_actions.rb +0 -55
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/on_failure_phone_actions.rb +0 -55
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/sub_request_name.rb +0 -59
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/quota_request.rb +0 -519
- data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/quotas.rb +0 -269
@@ -7,11 +7,11 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
7
7
|
#
|
8
8
|
# Microsoft Azure Quota Resource Provider.
|
9
9
|
#
|
10
|
-
class
|
10
|
+
class QuotaRequestStatus
|
11
11
|
include MsRestAzure
|
12
12
|
|
13
13
|
#
|
14
|
-
# Creates and initializes a new instance of the
|
14
|
+
# Creates and initializes a new instance of the QuotaRequestStatus class.
|
15
15
|
# @param client service class for accessing basic functionality.
|
16
16
|
#
|
17
17
|
def initialize(client)
|
@@ -22,15 +22,12 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
25
|
-
# Gets the
|
26
|
-
# provider at specified location.
|
27
|
-
#
|
28
|
-
# Gets the QuotaRequest details and status by the quota requestId for the
|
25
|
+
# Gets the QuotaRequest details and status by the quota request Id for the
|
29
26
|
# resources for the resource provider at a specific location. The requestId is
|
30
27
|
# returned as response to the Put requests for serviceLimits.
|
31
28
|
#
|
32
29
|
# @param subscription_id [String] Azure subscription id.
|
33
|
-
# @param provider_id [String] Azure resource
|
30
|
+
# @param provider_id [String] Azure resource provider id.
|
34
31
|
# @param location [String] Azure region.
|
35
32
|
# @param id [String] Quota Request id.
|
36
33
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -38,21 +35,18 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
38
35
|
#
|
39
36
|
# @return [QuotaRequestDetails] operation results.
|
40
37
|
#
|
41
|
-
def
|
42
|
-
response =
|
38
|
+
def get(subscription_id, provider_id, location, id, custom_headers:nil)
|
39
|
+
response = get_async(subscription_id, provider_id, location, id, custom_headers:custom_headers).value!
|
43
40
|
response.body unless response.nil?
|
44
41
|
end
|
45
42
|
|
46
43
|
#
|
47
|
-
# Gets the
|
48
|
-
# provider at specified location.
|
49
|
-
#
|
50
|
-
# Gets the QuotaRequest details and status by the quota requestId for the
|
44
|
+
# Gets the QuotaRequest details and status by the quota request Id for the
|
51
45
|
# resources for the resource provider at a specific location. The requestId is
|
52
46
|
# returned as response to the Put requests for serviceLimits.
|
53
47
|
#
|
54
48
|
# @param subscription_id [String] Azure subscription id.
|
55
|
-
# @param provider_id [String] Azure resource
|
49
|
+
# @param provider_id [String] Azure resource provider id.
|
56
50
|
# @param location [String] Azure region.
|
57
51
|
# @param id [String] Quota Request id.
|
58
52
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -60,20 +54,17 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
60
54
|
#
|
61
55
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
62
56
|
#
|
63
|
-
def
|
64
|
-
|
57
|
+
def get_with_http_info(subscription_id, provider_id, location, id, custom_headers:nil)
|
58
|
+
get_async(subscription_id, provider_id, location, id, custom_headers:custom_headers).value!
|
65
59
|
end
|
66
60
|
|
67
61
|
#
|
68
|
-
# Gets the
|
69
|
-
# provider at specified location.
|
70
|
-
#
|
71
|
-
# Gets the QuotaRequest details and status by the quota requestId for the
|
62
|
+
# Gets the QuotaRequest details and status by the quota request Id for the
|
72
63
|
# resources for the resource provider at a specific location. The requestId is
|
73
64
|
# returned as response to the Put requests for serviceLimits.
|
74
65
|
#
|
75
66
|
# @param subscription_id [String] Azure subscription id.
|
76
|
-
# @param provider_id [String] Azure resource
|
67
|
+
# @param provider_id [String] Azure resource provider id.
|
77
68
|
# @param location [String] Azure region.
|
78
69
|
# @param id [String] Quota Request id.
|
79
70
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -81,7 +72,7 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
81
72
|
#
|
82
73
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
83
74
|
#
|
84
|
-
def
|
75
|
+
def get_async(subscription_id, provider_id, location, id, custom_headers:nil)
|
85
76
|
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
86
77
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
87
78
|
fail ArgumentError, 'provider_id is nil' if provider_id.nil?
|
@@ -137,18 +128,13 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
137
128
|
promise.execute
|
138
129
|
end
|
139
130
|
|
140
|
-
#
|
141
|
-
# For the specified location and resource Provider, gets the quota requests
|
142
|
-
# under the subscription over the time
|
143
|
-
# period of one year ago from now to one year back, based on the filter
|
144
|
-
# specified.
|
145
131
|
#
|
146
132
|
# For the specified location and Resource provider gets the current quota
|
147
133
|
# requests under the subscription over the time period of one year ago from now
|
148
134
|
# to one year back. oData filter can be used to select quota requests.
|
149
135
|
#
|
150
136
|
# @param subscription_id [String] Azure subscription id.
|
151
|
-
# @param provider_id [String] Azure resource
|
137
|
+
# @param provider_id [String] Azure resource provider id.
|
152
138
|
# @param location [String] Azure region.
|
153
139
|
# @param filter [String] | Field | Supported operators
|
154
140
|
# |---------------------|------------------------
|
@@ -165,23 +151,18 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
165
151
|
#
|
166
152
|
# @return [Array<QuotaRequestDetails>] operation results.
|
167
153
|
#
|
168
|
-
def
|
169
|
-
first_page =
|
154
|
+
def list(subscription_id, provider_id, location, filter:nil, top:nil, skiptoken:nil, custom_headers:nil)
|
155
|
+
first_page = list_as_lazy(subscription_id, provider_id, location, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers)
|
170
156
|
first_page.get_all_items
|
171
157
|
end
|
172
158
|
|
173
|
-
#
|
174
|
-
# For the specified location and resource Provider, gets the quota requests
|
175
|
-
# under the subscription over the time
|
176
|
-
# period of one year ago from now to one year back, based on the filter
|
177
|
-
# specified.
|
178
159
|
#
|
179
160
|
# For the specified location and Resource provider gets the current quota
|
180
161
|
# requests under the subscription over the time period of one year ago from now
|
181
162
|
# to one year back. oData filter can be used to select quota requests.
|
182
163
|
#
|
183
164
|
# @param subscription_id [String] Azure subscription id.
|
184
|
-
# @param provider_id [String] Azure resource
|
165
|
+
# @param provider_id [String] Azure resource provider id.
|
185
166
|
# @param location [String] Azure region.
|
186
167
|
# @param filter [String] | Field | Supported operators
|
187
168
|
# |---------------------|------------------------
|
@@ -198,22 +179,17 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
198
179
|
#
|
199
180
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
200
181
|
#
|
201
|
-
def
|
202
|
-
|
182
|
+
def list_with_http_info(subscription_id, provider_id, location, filter:nil, top:nil, skiptoken:nil, custom_headers:nil)
|
183
|
+
list_async(subscription_id, provider_id, location, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
|
203
184
|
end
|
204
185
|
|
205
|
-
#
|
206
|
-
# For the specified location and resource Provider, gets the quota requests
|
207
|
-
# under the subscription over the time
|
208
|
-
# period of one year ago from now to one year back, based on the filter
|
209
|
-
# specified.
|
210
186
|
#
|
211
187
|
# For the specified location and Resource provider gets the current quota
|
212
188
|
# requests under the subscription over the time period of one year ago from now
|
213
189
|
# to one year back. oData filter can be used to select quota requests.
|
214
190
|
#
|
215
191
|
# @param subscription_id [String] Azure subscription id.
|
216
|
-
# @param provider_id [String] Azure resource
|
192
|
+
# @param provider_id [String] Azure resource provider id.
|
217
193
|
# @param location [String] Azure region.
|
218
194
|
# @param filter [String] | Field | Supported operators
|
219
195
|
# |---------------------|------------------------
|
@@ -230,7 +206,7 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
230
206
|
#
|
231
207
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
232
208
|
#
|
233
|
-
def
|
209
|
+
def list_async(subscription_id, provider_id, location, filter:nil, top:nil, skiptoken:nil, custom_headers:nil)
|
234
210
|
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
235
211
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
236
212
|
fail ArgumentError, 'provider_id is nil' if provider_id.nil?
|
@@ -286,11 +262,6 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
286
262
|
promise.execute
|
287
263
|
end
|
288
264
|
|
289
|
-
#
|
290
|
-
# For the specified location and resource Provider, gets the quota requests
|
291
|
-
# under the subscription over the time
|
292
|
-
# period of one year ago from now to one year back, based on the filter
|
293
|
-
# specified.
|
294
265
|
#
|
295
266
|
# For the specified location and Resource provider gets the current quota
|
296
267
|
# requests under the subscription over the time period of one year ago from now
|
@@ -303,16 +274,11 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
303
274
|
#
|
304
275
|
# @return [QuotaRequestDetailsList] operation results.
|
305
276
|
#
|
306
|
-
def
|
307
|
-
response =
|
277
|
+
def list_next(next_page_link, custom_headers:nil)
|
278
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
308
279
|
response.body unless response.nil?
|
309
280
|
end
|
310
281
|
|
311
|
-
#
|
312
|
-
# For the specified location and resource Provider, gets the quota requests
|
313
|
-
# under the subscription over the time
|
314
|
-
# period of one year ago from now to one year back, based on the filter
|
315
|
-
# specified.
|
316
282
|
#
|
317
283
|
# For the specified location and Resource provider gets the current quota
|
318
284
|
# requests under the subscription over the time period of one year ago from now
|
@@ -325,15 +291,10 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
325
291
|
#
|
326
292
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
327
293
|
#
|
328
|
-
def
|
329
|
-
|
294
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
295
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
330
296
|
end
|
331
297
|
|
332
|
-
#
|
333
|
-
# For the specified location and resource Provider, gets the quota requests
|
334
|
-
# under the subscription over the time
|
335
|
-
# period of one year ago from now to one year back, based on the filter
|
336
|
-
# specified.
|
337
298
|
#
|
338
299
|
# For the specified location and Resource provider gets the current quota
|
339
300
|
# requests under the subscription over the time period of one year ago from now
|
@@ -346,7 +307,7 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
346
307
|
#
|
347
308
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
348
309
|
#
|
349
|
-
def
|
310
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
350
311
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
351
312
|
|
352
313
|
|
@@ -397,18 +358,13 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
397
358
|
promise.execute
|
398
359
|
end
|
399
360
|
|
400
|
-
#
|
401
|
-
# For the specified location and resource Provider, gets the quota requests
|
402
|
-
# under the subscription over the time
|
403
|
-
# period of one year ago from now to one year back, based on the filter
|
404
|
-
# specified.
|
405
361
|
#
|
406
362
|
# For the specified location and Resource provider gets the current quota
|
407
363
|
# requests under the subscription over the time period of one year ago from now
|
408
364
|
# to one year back. oData filter can be used to select quota requests.
|
409
365
|
#
|
410
366
|
# @param subscription_id [String] Azure subscription id.
|
411
|
-
# @param provider_id [String] Azure resource
|
367
|
+
# @param provider_id [String] Azure resource provider id.
|
412
368
|
# @param location [String] Azure region.
|
413
369
|
# @param filter [String] | Field | Supported operators
|
414
370
|
# |---------------------|------------------------
|
@@ -426,12 +382,12 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
426
382
|
# @return [QuotaRequestDetailsList] which provide lazy access to pages of the
|
427
383
|
# response.
|
428
384
|
#
|
429
|
-
def
|
430
|
-
response =
|
385
|
+
def list_as_lazy(subscription_id, provider_id, location, filter:nil, top:nil, skiptoken:nil, custom_headers:nil)
|
386
|
+
response = list_async(subscription_id, provider_id, location, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
|
431
387
|
unless response.nil?
|
432
388
|
page = response.body
|
433
389
|
page.next_method = Proc.new do |next_page_link|
|
434
|
-
|
390
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
435
391
|
end
|
436
392
|
page
|
437
393
|
end
|
data/lib/2019-07-19-preview/generated/azure_mgmt_reservations/reservations_management_client.rb
CHANGED
@@ -17,7 +17,7 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
17
17
|
# @return Credentials needed for the client to connect to Azure.
|
18
18
|
attr_reader :credentials
|
19
19
|
|
20
|
-
# @return [String]
|
20
|
+
# @return [String] API version.
|
21
21
|
attr_reader :api_version
|
22
22
|
|
23
23
|
# @return [String] The preferred language for the response.
|
@@ -35,14 +35,8 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
35
35
|
# @return [Quota] quota
|
36
36
|
attr_reader :quota
|
37
37
|
|
38
|
-
# @return [
|
39
|
-
attr_reader :
|
40
|
-
|
41
|
-
# @return [Quotas] quotas
|
42
|
-
attr_reader :quotas
|
43
|
-
|
44
|
-
# @return [QuotaRequests] quota_requests
|
45
|
-
attr_reader :quota_requests
|
38
|
+
# @return [QuotaRequestStatus] quota_request_status
|
39
|
+
attr_reader :quota_request_status
|
46
40
|
|
47
41
|
# @return [AutoQuotaIncrease] auto_quota_increase
|
48
42
|
attr_reader :auto_quota_increase
|
@@ -61,9 +55,7 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
61
55
|
@credentials = credentials
|
62
56
|
|
63
57
|
@quota = Quota.new(self)
|
64
|
-
@
|
65
|
-
@quotas = Quotas.new(self)
|
66
|
-
@quota_requests = QuotaRequests.new(self)
|
58
|
+
@quota_request_status = QuotaRequestStatus.new(self)
|
67
59
|
@auto_quota_increase = AutoQuotaIncrease.new(self)
|
68
60
|
@api_version = '2019-07-19-preview'
|
69
61
|
@accept_language = 'en-US'
|
@@ -137,7 +129,7 @@ module Azure::Reservations::Mgmt::V2019_07_19_preview
|
|
137
129
|
#
|
138
130
|
def add_telemetry
|
139
131
|
sdk_information = 'azure_mgmt_reservations'
|
140
|
-
sdk_information = "#{sdk_information}/0.
|
132
|
+
sdk_information = "#{sdk_information}/0.20.0"
|
141
133
|
add_user_agent_information(sdk_information)
|
142
134
|
end
|
143
135
|
end
|
@@ -10,9 +10,7 @@ module Azure::Reservations::Profiles::Latest
|
|
10
10
|
ReservationOrder = Azure::Reservations::Mgmt::V2019_04_01_preview::ReservationOrder
|
11
11
|
Operation = Azure::Reservations::Mgmt::V2019_04_01_preview::Operation
|
12
12
|
Quota = Azure::Reservations::Mgmt::V2019_07_19_preview::Quota
|
13
|
-
|
14
|
-
Quotas = Azure::Reservations::Mgmt::V2019_07_19_preview::Quotas
|
15
|
-
QuotaRequests = Azure::Reservations::Mgmt::V2019_07_19_preview::QuotaRequests
|
13
|
+
QuotaRequestStatus = Azure::Reservations::Mgmt::V2019_07_19_preview::QuotaRequestStatus
|
16
14
|
AutoQuotaIncrease = Azure::Reservations::Mgmt::V2019_07_19_preview::AutoQuotaIncrease
|
17
15
|
|
18
16
|
module Models
|
@@ -62,39 +60,37 @@ module Azure::Reservations::Profiles::Latest
|
|
62
60
|
ReservedResourceType = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::ReservedResourceType
|
63
61
|
InstanceFlexibility = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::InstanceFlexibility
|
64
62
|
AppliedScopeType = Azure::Reservations::Mgmt::V2019_04_01_preview::Models::AppliedScopeType
|
63
|
+
QuotaRequestDetails = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetails
|
64
|
+
ResourceName = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ResourceName
|
65
65
|
QuotaRequestDetailsList = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetailsList
|
66
|
-
|
66
|
+
CurrentQuotaLimitBase = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CurrentQuotaLimitBase
|
67
67
|
AqiSettings = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::AqiSettings
|
68
|
-
|
68
|
+
QuotaLimits = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaLimits
|
69
69
|
EmailAction = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::EmailAction
|
70
|
-
|
71
|
-
|
72
|
-
SubRequestName = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SubRequestName
|
73
|
-
PhoneAction = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::PhoneAction
|
70
|
+
CreateGenericQuotaRequestParameters = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CreateGenericQuotaRequestParameters
|
71
|
+
EmailActions = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::EmailActions
|
74
72
|
QuotaRequestOneResourceSubmitResponse = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestOneResourceSubmitResponse
|
75
|
-
|
73
|
+
Actions = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::Actions
|
76
74
|
QuotaRequestSubmitResponse = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestSubmitResponse
|
77
|
-
OnFailure = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::OnFailure
|
78
|
-
QuotaRequestDetails = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetails
|
79
75
|
SupportRequestAction = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SupportRequestAction
|
80
|
-
|
76
|
+
QuotaProperties = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaProperties
|
81
77
|
AutoQuotaIncreaseDetail = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::AutoQuotaIncreaseDetail
|
82
|
-
|
83
|
-
|
84
|
-
|
78
|
+
QuotaLimitsResponse = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaLimitsResponse
|
79
|
+
PhoneAction = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::PhoneAction
|
80
|
+
QuotaRequestProperties = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestProperties
|
85
81
|
ServiceErrorDetail = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ServiceErrorDetail
|
86
|
-
|
82
|
+
CurrentQuotaLimit = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CurrentQuotaLimit
|
87
83
|
ServiceError = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ServiceError
|
88
|
-
|
84
|
+
QuotaRequestSubmitResponse201 = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestSubmitResponse201
|
89
85
|
ExceptionResponse = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ExceptionResponse
|
90
|
-
|
86
|
+
SubRequest = Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SubRequest
|
91
87
|
end
|
92
88
|
|
93
89
|
#
|
94
90
|
# ReservationsManagementClass
|
95
91
|
#
|
96
92
|
class ReservationsManagementClass
|
97
|
-
attr_reader :reservation, :reservation_order, :operation, :quota, :
|
93
|
+
attr_reader :reservation, :reservation_order, :operation, :quota, :quota_request_status, :auto_quota_increase, :configurable, :base_url, :options, :model_classes
|
98
94
|
|
99
95
|
def initialize(options = {})
|
100
96
|
if options.is_a?(Hash) && options.length == 0
|
@@ -124,9 +120,7 @@ module Azure::Reservations::Profiles::Latest
|
|
124
120
|
end
|
125
121
|
add_telemetry(@client_1)
|
126
122
|
@quota = @client_1.quota
|
127
|
-
@
|
128
|
-
@quotas = @client_1.quotas
|
129
|
-
@quota_requests = @client_1.quota_requests
|
123
|
+
@quota_request_status = @client_1.quota_request_status
|
130
124
|
@auto_quota_increase = @client_1.auto_quota_increase
|
131
125
|
|
132
126
|
@model_classes = ModelClasses.new
|
@@ -288,83 +282,77 @@ module Azure::Reservations::Profiles::Latest
|
|
288
282
|
def applied_scope_type
|
289
283
|
Azure::Reservations::Mgmt::V2019_04_01_preview::Models::AppliedScopeType
|
290
284
|
end
|
285
|
+
def quota_request_details
|
286
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetails
|
287
|
+
end
|
288
|
+
def resource_name
|
289
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ResourceName
|
290
|
+
end
|
291
291
|
def quota_request_details_list
|
292
292
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetailsList
|
293
293
|
end
|
294
|
-
def
|
295
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
294
|
+
def current_quota_limit_base
|
295
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CurrentQuotaLimitBase
|
296
296
|
end
|
297
297
|
def aqi_settings
|
298
298
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::AqiSettings
|
299
299
|
end
|
300
|
-
def
|
301
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
300
|
+
def quota_limits
|
301
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaLimits
|
302
302
|
end
|
303
303
|
def email_action
|
304
304
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::EmailAction
|
305
305
|
end
|
306
|
-
def
|
307
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
308
|
-
end
|
309
|
-
def on_failure_email_actions
|
310
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::OnFailureEmailActions
|
311
|
-
end
|
312
|
-
def sub_request_name
|
313
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SubRequestName
|
306
|
+
def create_generic_quota_request_parameters
|
307
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CreateGenericQuotaRequestParameters
|
314
308
|
end
|
315
|
-
def
|
316
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
309
|
+
def email_actions
|
310
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::EmailActions
|
317
311
|
end
|
318
312
|
def quota_request_one_resource_submit_response
|
319
313
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestOneResourceSubmitResponse
|
320
314
|
end
|
321
|
-
def
|
322
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
315
|
+
def actions
|
316
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::Actions
|
323
317
|
end
|
324
318
|
def quota_request_submit_response
|
325
319
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestSubmitResponse
|
326
320
|
end
|
327
|
-
def on_failure
|
328
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::OnFailure
|
329
|
-
end
|
330
|
-
def quota_request_details
|
331
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestDetails
|
332
|
-
end
|
333
321
|
def support_request_action
|
334
322
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SupportRequestAction
|
335
323
|
end
|
336
|
-
def
|
337
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
324
|
+
def quota_properties
|
325
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaProperties
|
338
326
|
end
|
339
327
|
def auto_quota_increase_detail
|
340
328
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::AutoQuotaIncreaseDetail
|
341
329
|
end
|
342
|
-
def
|
343
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
330
|
+
def quota_limits_response
|
331
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaLimitsResponse
|
344
332
|
end
|
345
|
-
def
|
346
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
333
|
+
def phone_action
|
334
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::PhoneAction
|
347
335
|
end
|
348
|
-
def
|
349
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
336
|
+
def quota_request_properties
|
337
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestProperties
|
350
338
|
end
|
351
339
|
def service_error_detail
|
352
340
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ServiceErrorDetail
|
353
341
|
end
|
354
|
-
def
|
355
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
342
|
+
def current_quota_limit
|
343
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::CurrentQuotaLimit
|
356
344
|
end
|
357
345
|
def service_error
|
358
346
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ServiceError
|
359
347
|
end
|
360
|
-
def
|
361
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
348
|
+
def quota_request_submit_response201
|
349
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::QuotaRequestSubmitResponse201
|
362
350
|
end
|
363
351
|
def exception_response
|
364
352
|
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::ExceptionResponse
|
365
353
|
end
|
366
|
-
def
|
367
|
-
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::
|
354
|
+
def sub_request
|
355
|
+
Azure::Reservations::Mgmt::V2019_07_19_preview::Models::SubRequest
|
368
356
|
end
|
369
357
|
end
|
370
358
|
end
|