azure_mgmt_api_management 0.18.3 → 0.18.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -6
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue.rb +14 -6
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +12 -5
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +12 -5
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service.rb +26 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +4 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation.rb +14 -5
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -5
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_product.rb +4 -1
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_release.rb +14 -6
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_revision.rb +4 -1
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_tag_description.rb +12 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/backend.rb +16 -6
- data/lib/2019-01-01/generated/azure_mgmt_api_management/cache.rb +14 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/group.rb +14 -5
- data/lib/2019-01-01/generated/azure_mgmt_api_management/group_user.rb +10 -7
- data/lib/2019-01-01/generated/azure_mgmt_api_management/identity_provider.rb +14 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/issue.rb +6 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/logger.rb +14 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +28 -4
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +28 -4
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +28 -4
- data/lib/2019-01-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification.rb +8 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -3
- data/lib/2019-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/policy.rb +10 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/policy_snippet.rb +2 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product.rb +18 -5
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_api.rb +10 -4
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_group.rb +10 -7
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_policy.rb +10 -5
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -1
- data/lib/2019-01-01/generated/azure_mgmt_api_management/property.rb +14 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/region.rb +4 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb +30 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/subscription.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tag.rb +50 -10
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access.rb +10 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb +18 -7
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +2 -1
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_group.rb +4 -1
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_identities.rb +4 -1
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -1
- data/lib/azure_mgmt_api_management.rb +0 -6
- data/lib/version.rb +1 -1
- metadata +5 -5
@@ -366,7 +366,7 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
366
366
|
#
|
367
367
|
def add_telemetry
|
368
368
|
sdk_information = 'azure_mgmt_api_management'
|
369
|
-
sdk_information = "#{sdk_information}/0.18.
|
369
|
+
sdk_information = "#{sdk_information}/0.18.4"
|
370
370
|
add_user_agent_information(sdk_information)
|
371
371
|
end
|
372
372
|
end
|
@@ -89,6 +89,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
89
89
|
end
|
90
90
|
|
91
91
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
92
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
93
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
92
94
|
# Deserialize Response
|
93
95
|
if status_code == 200
|
94
96
|
begin
|
@@ -180,6 +182,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
180
182
|
end
|
181
183
|
|
182
184
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
185
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
186
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
183
187
|
# Deserialize Response
|
184
188
|
if status_code == 200
|
185
189
|
begin
|
@@ -288,6 +288,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
288
288
|
end
|
289
289
|
|
290
290
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
291
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
292
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
291
293
|
# Deserialize Response
|
292
294
|
if status_code == 200
|
293
295
|
begin
|
@@ -418,6 +420,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
418
420
|
end
|
419
421
|
|
420
422
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
423
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
424
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
421
425
|
# Deserialize Response
|
422
426
|
if status_code == 200
|
423
427
|
begin
|
@@ -502,6 +506,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
502
506
|
end
|
503
507
|
|
504
508
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
509
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
510
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
505
511
|
# Deserialize Response
|
506
512
|
if status_code == 200
|
507
513
|
begin
|
@@ -600,6 +606,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
600
606
|
end
|
601
607
|
|
602
608
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
609
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
610
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
603
611
|
# Deserialize Response
|
604
612
|
if status_code == 200
|
605
613
|
begin
|
@@ -698,6 +706,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
698
706
|
end
|
699
707
|
|
700
708
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
709
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
710
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
701
711
|
# Deserialize Response
|
702
712
|
if status_code == 200
|
703
713
|
begin
|
@@ -866,6 +876,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
866
876
|
end
|
867
877
|
|
868
878
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
879
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
880
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
869
881
|
# Deserialize Response
|
870
882
|
if status_code == 200
|
871
883
|
begin
|
@@ -981,6 +993,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
981
993
|
end
|
982
994
|
|
983
995
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
996
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
997
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
984
998
|
# Deserialize Response
|
985
999
|
if status_code == 200
|
986
1000
|
begin
|
@@ -1093,6 +1107,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
1093
1107
|
end
|
1094
1108
|
|
1095
1109
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1110
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1111
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1096
1112
|
# Deserialize Response
|
1097
1113
|
if status_code == 200
|
1098
1114
|
begin
|
@@ -1212,6 +1228,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
1212
1228
|
end
|
1213
1229
|
|
1214
1230
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1231
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1232
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1215
1233
|
# Deserialize Response
|
1216
1234
|
if status_code == 200
|
1217
1235
|
begin
|
@@ -1307,6 +1325,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
1307
1325
|
end
|
1308
1326
|
|
1309
1327
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1328
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1329
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1310
1330
|
# Deserialize Response
|
1311
1331
|
if status_code == 202
|
1312
1332
|
begin
|
@@ -1427,6 +1447,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
1427
1447
|
end
|
1428
1448
|
|
1429
1449
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1450
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1451
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1430
1452
|
# Deserialize Response
|
1431
1453
|
if status_code == 200
|
1432
1454
|
begin
|
@@ -1515,6 +1537,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
1515
1537
|
end
|
1516
1538
|
|
1517
1539
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1540
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1541
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1518
1542
|
# Deserialize Response
|
1519
1543
|
if status_code == 200
|
1520
1544
|
begin
|
@@ -1603,6 +1627,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
1603
1627
|
end
|
1604
1628
|
|
1605
1629
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1630
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1631
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1606
1632
|
# Deserialize Response
|
1607
1633
|
if status_code == 200
|
1608
1634
|
begin
|
@@ -105,6 +105,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
105
105
|
end
|
106
106
|
|
107
107
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
108
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
109
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
108
110
|
# Deserialize Response
|
109
111
|
if status_code == 200
|
110
112
|
begin
|
@@ -199,6 +201,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
199
201
|
end
|
200
202
|
|
201
203
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
204
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
205
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
202
206
|
# Deserialize Response
|
203
207
|
if status_code == 200
|
204
208
|
begin
|
@@ -153,6 +153,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
153
153
|
end
|
154
154
|
|
155
155
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
156
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
157
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
156
158
|
# Deserialize Response
|
157
159
|
if status_code == 200
|
158
160
|
begin
|
@@ -239,7 +241,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
239
241
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
240
242
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
241
243
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
242
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
243
244
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
244
245
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
245
246
|
|
@@ -273,6 +274,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
273
274
|
end
|
274
275
|
|
275
276
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
277
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
278
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
276
279
|
|
277
280
|
result
|
278
281
|
end
|
@@ -347,7 +350,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
347
350
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
348
351
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
349
352
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
350
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
351
353
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
352
354
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
353
355
|
|
@@ -381,6 +383,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
381
383
|
end
|
382
384
|
|
383
385
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
386
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
387
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
384
388
|
# Deserialize Response
|
385
389
|
if status_code == 200
|
386
390
|
begin
|
@@ -474,7 +478,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
474
478
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
475
479
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
476
480
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
477
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
478
481
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
479
482
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
480
483
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -517,6 +520,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
517
520
|
end
|
518
521
|
|
519
522
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
523
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
524
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
520
525
|
# Deserialize Response
|
521
526
|
if status_code == 201
|
522
527
|
begin
|
@@ -622,7 +627,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
622
627
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
623
628
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
624
629
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
625
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
626
630
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
627
631
|
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
628
632
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -666,6 +670,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
666
670
|
end
|
667
671
|
|
668
672
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
673
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
674
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
669
675
|
|
670
676
|
result
|
671
677
|
end
|
@@ -748,7 +754,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
748
754
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
749
755
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
750
756
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
751
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
752
757
|
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
753
758
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
754
759
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -784,6 +789,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
784
789
|
end
|
785
790
|
|
786
791
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
792
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
793
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
787
794
|
|
788
795
|
result
|
789
796
|
end
|
@@ -862,6 +869,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
862
869
|
end
|
863
870
|
|
864
871
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
872
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
873
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
865
874
|
# Deserialize Response
|
866
875
|
if status_code == 200
|
867
876
|
begin
|
@@ -88,7 +88,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
88
88
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
89
89
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
90
90
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
91
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
92
91
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
93
92
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
94
93
|
|
@@ -122,6 +121,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
122
121
|
end
|
123
122
|
|
124
123
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
124
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
125
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
125
126
|
# Deserialize Response
|
126
127
|
if status_code == 200
|
127
128
|
begin
|
@@ -208,7 +209,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
208
209
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
209
210
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
210
211
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
211
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
212
212
|
policy_id = 'policy'
|
213
213
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
214
214
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -243,6 +243,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
243
243
|
end
|
244
244
|
|
245
245
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
246
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
247
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
246
248
|
|
247
249
|
result
|
248
250
|
end
|
@@ -323,7 +325,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
323
325
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
324
326
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
325
327
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
326
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
327
328
|
policy_id = 'policy'
|
328
329
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
329
330
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -358,6 +359,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
358
359
|
end
|
359
360
|
|
360
361
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
362
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
363
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
361
364
|
# Deserialize Response
|
362
365
|
if status_code == 200
|
363
366
|
begin
|
@@ -451,7 +454,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
451
454
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
452
455
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
453
456
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
454
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
455
457
|
policy_id = 'policy'
|
456
458
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
457
459
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -495,6 +497,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
495
497
|
end
|
496
498
|
|
497
499
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
500
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
501
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
498
502
|
# Deserialize Response
|
499
503
|
if status_code == 201
|
500
504
|
begin
|
@@ -597,7 +601,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
597
601
|
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
598
602
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
599
603
|
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
600
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
601
604
|
policy_id = 'policy'
|
602
605
|
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
603
606
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -634,6 +637,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
634
637
|
end
|
635
638
|
|
636
639
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
640
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
641
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
637
642
|
|
638
643
|
result
|
639
644
|
end
|
@@ -112,6 +112,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
112
112
|
end
|
113
113
|
|
114
114
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
115
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
116
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
115
117
|
# Deserialize Response
|
116
118
|
if status_code == 200
|
117
119
|
begin
|
@@ -223,6 +225,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
223
225
|
end
|
224
226
|
|
225
227
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
228
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
229
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
226
230
|
|
227
231
|
result
|
228
232
|
end
|
@@ -328,6 +332,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
328
332
|
end
|
329
333
|
|
330
334
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
335
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
336
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
331
337
|
# Deserialize Response
|
332
338
|
if status_code == 200
|
333
339
|
begin
|
@@ -455,6 +461,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
455
461
|
end
|
456
462
|
|
457
463
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
464
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
465
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
458
466
|
# Deserialize Response
|
459
467
|
if status_code == 201
|
460
468
|
begin
|
@@ -584,6 +592,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
584
592
|
end
|
585
593
|
|
586
594
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
595
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
596
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
587
597
|
|
588
598
|
result
|
589
599
|
end
|
@@ -96,7 +96,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
96
96
|
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
97
97
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
|
98
98
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
99
|
-
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
100
99
|
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
101
100
|
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
102
101
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -132,6 +131,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
132
131
|
end
|
133
132
|
|
134
133
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
134
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
135
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
135
136
|
# Deserialize Response
|
136
137
|
if status_code == 200
|
137
138
|
begin
|
@@ -220,6 +221,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
220
221
|
end
|
221
222
|
|
222
223
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
224
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
225
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
223
226
|
# Deserialize Response
|
224
227
|
if status_code == 200
|
225
228
|
begin
|
@@ -105,7 +105,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
105
105
|
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
106
106
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
|
107
107
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
108
|
-
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
109
108
|
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
110
109
|
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
111
110
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -141,6 +140,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
141
140
|
end
|
142
141
|
|
143
142
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
143
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
144
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
144
145
|
# Deserialize Response
|
145
146
|
if status_code == 200
|
146
147
|
begin
|
@@ -217,7 +218,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
217
218
|
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
218
219
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
|
219
220
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
220
|
-
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
221
221
|
fail ArgumentError, 'release_id is nil' if release_id.nil?
|
222
222
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MaxLength': '80'" if !release_id.nil? && release_id.length > 80
|
223
223
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MinLength': '1'" if !release_id.nil? && release_id.length < 1
|
@@ -255,6 +255,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
255
255
|
end
|
256
256
|
|
257
257
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
258
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
259
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
258
260
|
|
259
261
|
result
|
260
262
|
end
|
@@ -322,7 +324,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
322
324
|
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
323
325
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
|
324
326
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
325
|
-
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
326
327
|
fail ArgumentError, 'release_id is nil' if release_id.nil?
|
327
328
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MaxLength': '80'" if !release_id.nil? && release_id.length > 80
|
328
329
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MinLength': '1'" if !release_id.nil? && release_id.length < 1
|
@@ -360,6 +361,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
360
361
|
end
|
361
362
|
|
362
363
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
364
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
365
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
363
366
|
# Deserialize Response
|
364
367
|
if status_code == 200
|
365
368
|
begin
|
@@ -446,7 +449,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
446
449
|
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
447
450
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
|
448
451
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
449
|
-
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
450
452
|
fail ArgumentError, 'release_id is nil' if release_id.nil?
|
451
453
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MaxLength': '80'" if !release_id.nil? && release_id.length > 80
|
452
454
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MinLength': '1'" if !release_id.nil? && release_id.length < 1
|
@@ -493,6 +495,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
493
495
|
end
|
494
496
|
|
495
497
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
498
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
499
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
496
500
|
# Deserialize Response
|
497
501
|
if status_code == 201
|
498
502
|
begin
|
@@ -591,7 +595,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
591
595
|
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
592
596
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
|
593
597
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
594
|
-
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
595
598
|
fail ArgumentError, 'release_id is nil' if release_id.nil?
|
596
599
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MaxLength': '80'" if !release_id.nil? && release_id.length > 80
|
597
600
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MinLength': '1'" if !release_id.nil? && release_id.length < 1
|
@@ -639,6 +642,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
639
642
|
end
|
640
643
|
|
641
644
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
645
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
646
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
642
647
|
|
643
648
|
result
|
644
649
|
end
|
@@ -714,7 +719,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
714
719
|
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
715
720
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
|
716
721
|
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
717
|
-
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
718
722
|
fail ArgumentError, 'release_id is nil' if release_id.nil?
|
719
723
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MaxLength': '80'" if !release_id.nil? && release_id.length > 80
|
720
724
|
fail ArgumentError, "'release_id' should satisfy the constraint - 'MinLength': '1'" if !release_id.nil? && release_id.length < 1
|
@@ -754,6 +758,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
754
758
|
end
|
755
759
|
|
756
760
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
761
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
762
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
757
763
|
|
758
764
|
result
|
759
765
|
end
|
@@ -841,6 +847,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
|
|
841
847
|
end
|
842
848
|
|
843
849
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
850
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
851
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
844
852
|
# Deserialize Response
|
845
853
|
if status_code == 200
|
846
854
|
begin
|