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.
Files changed (69) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2019-01-01/generated/azure_mgmt_api_management/api.rb +18 -0
  3. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -6
  4. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
  5. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue.rb +14 -6
  6. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +12 -5
  7. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +12 -5
  8. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
  9. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
  10. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service.rb +26 -0
  11. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +4 -0
  12. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation.rb +14 -5
  13. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -5
  14. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
  15. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_product.rb +4 -1
  16. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_release.rb +14 -6
  17. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_revision.rb +4 -1
  18. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
  19. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_tag_description.rb +12 -0
  20. data/lib/2019-01-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
  21. data/lib/2019-01-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
  22. data/lib/2019-01-01/generated/azure_mgmt_api_management/backend.rb +16 -6
  23. data/lib/2019-01-01/generated/azure_mgmt_api_management/cache.rb +14 -0
  24. data/lib/2019-01-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
  25. data/lib/2019-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
  26. data/lib/2019-01-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
  27. data/lib/2019-01-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
  28. data/lib/2019-01-01/generated/azure_mgmt_api_management/group.rb +14 -5
  29. data/lib/2019-01-01/generated/azure_mgmt_api_management/group_user.rb +10 -7
  30. data/lib/2019-01-01/generated/azure_mgmt_api_management/identity_provider.rb +14 -0
  31. data/lib/2019-01-01/generated/azure_mgmt_api_management/issue.rb +6 -0
  32. data/lib/2019-01-01/generated/azure_mgmt_api_management/logger.rb +14 -0
  33. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +28 -4
  34. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +28 -4
  35. data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +28 -4
  36. data/lib/2019-01-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
  37. data/lib/2019-01-01/generated/azure_mgmt_api_management/notification.rb +8 -0
  38. data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
  39. data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -3
  40. data/lib/2019-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
  41. data/lib/2019-01-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
  42. data/lib/2019-01-01/generated/azure_mgmt_api_management/policy.rb +10 -0
  43. data/lib/2019-01-01/generated/azure_mgmt_api_management/policy_snippet.rb +2 -0
  44. data/lib/2019-01-01/generated/azure_mgmt_api_management/product.rb +18 -5
  45. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_api.rb +10 -4
  46. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_group.rb +10 -7
  47. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_policy.rb +10 -5
  48. data/lib/2019-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -1
  49. data/lib/2019-01-01/generated/azure_mgmt_api_management/property.rb +14 -0
  50. data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
  51. data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
  52. data/lib/2019-01-01/generated/azure_mgmt_api_management/region.rb +4 -0
  53. data/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb +30 -0
  54. data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
  55. data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
  56. data/lib/2019-01-01/generated/azure_mgmt_api_management/subscription.rb +18 -0
  57. data/lib/2019-01-01/generated/azure_mgmt_api_management/tag.rb +50 -10
  58. data/lib/2019-01-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
  59. data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access.rb +10 -0
  60. data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
  61. data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
  62. data/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb +18 -7
  63. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +2 -1
  64. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_group.rb +4 -1
  65. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_identities.rb +4 -1
  66. data/lib/2019-01-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -1
  67. data/lib/azure_mgmt_api_management.rb +0 -6
  68. data/lib/version.rb +1 -1
  69. metadata +5 -5
@@ -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
@@ -135,6 +135,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
135
135
  end
136
136
 
137
137
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
138
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
139
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
138
140
  # Deserialize Response
139
141
  if status_code == 200
140
142
  begin
@@ -255,6 +257,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
255
257
  end
256
258
 
257
259
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
260
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
261
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
258
262
 
259
263
  result
260
264
  end
@@ -363,6 +367,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
363
367
  end
364
368
 
365
369
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
370
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
371
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
366
372
  # Deserialize Response
367
373
  if status_code == 200
368
374
  begin
@@ -502,6 +508,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
502
508
  end
503
509
 
504
510
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
511
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
512
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
505
513
  # Deserialize Response
506
514
  if status_code == 201
507
515
  begin
@@ -646,6 +654,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
646
654
  end
647
655
 
648
656
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
657
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
658
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
649
659
 
650
660
  result
651
661
  end
@@ -724,6 +734,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
724
734
  end
725
735
 
726
736
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
737
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
738
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
727
739
  # Deserialize Response
728
740
  if status_code == 200
729
741
  begin
@@ -144,6 +144,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
144
144
  end
145
145
 
146
146
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
147
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
148
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
147
149
  # Deserialize Response
148
150
  if status_code == 200
149
151
  begin
@@ -261,6 +263,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
261
263
  end
262
264
 
263
265
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
266
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
267
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
264
268
 
265
269
  result
266
270
  end
@@ -369,6 +373,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
369
373
  end
370
374
 
371
375
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
376
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
377
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
372
378
  # Deserialize Response
373
379
  if status_code == 200
374
380
  begin
@@ -505,6 +511,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
505
511
  end
506
512
 
507
513
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
514
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
515
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
508
516
  # Deserialize Response
509
517
  if status_code == 201
510
518
  begin
@@ -643,6 +651,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
643
651
  end
644
652
 
645
653
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
654
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
655
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
646
656
 
647
657
  result
648
658
  end
@@ -727,6 +737,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
727
737
  end
728
738
 
729
739
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
740
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
741
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
730
742
  # Deserialize Response
731
743
  if status_code == 200
732
744
  begin
@@ -116,6 +116,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
116
116
  end
117
117
 
118
118
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
119
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
120
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
119
121
  # Deserialize Response
120
122
  if status_code == 200
121
123
  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
@@ -318,6 +322,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
318
322
  end
319
323
 
320
324
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
325
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
326
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
321
327
  # Deserialize Response
322
328
  if status_code == 200
323
329
  begin
@@ -441,6 +447,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
441
447
  end
442
448
 
443
449
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
450
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
451
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
444
452
  # Deserialize Response
445
453
  if status_code == 201
446
454
  begin
@@ -577,6 +585,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
577
585
  end
578
586
 
579
587
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
588
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
589
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
580
590
 
581
591
  result
582
592
  end
@@ -682,6 +692,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
682
692
  end
683
693
 
684
694
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
695
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
696
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
685
697
 
686
698
  result
687
699
  end
@@ -760,6 +772,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
760
772
  end
761
773
 
762
774
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
775
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
776
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
763
777
  # Deserialize Response
764
778
  if status_code == 200
765
779
  begin
@@ -128,6 +128,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
128
128
  end
129
129
 
130
130
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
131
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
132
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
131
133
  # Deserialize Response
132
134
  if status_code == 200
133
135
  begin
@@ -232,6 +234,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
232
234
  end
233
235
 
234
236
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
237
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
238
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
235
239
 
236
240
  result
237
241
  end
@@ -324,6 +328,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
324
328
  end
325
329
 
326
330
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
331
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
332
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
327
333
  # Deserialize Response
328
334
  if status_code == 200
329
335
  begin
@@ -444,6 +450,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
444
450
  end
445
451
 
446
452
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
453
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
454
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
447
455
  # Deserialize Response
448
456
  if status_code == 201
449
457
  begin
@@ -580,6 +588,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
580
588
  end
581
589
 
582
590
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
591
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
592
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
583
593
 
584
594
  result
585
595
  end
@@ -682,6 +692,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
682
692
  end
683
693
 
684
694
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
695
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
696
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
685
697
 
686
698
  result
687
699
  end
@@ -763,6 +775,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
763
775
  end
764
776
 
765
777
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
778
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
779
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
766
780
  # Deserialize Response
767
781
  if status_code == 200
768
782
  begin
@@ -128,6 +128,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
128
128
  end
129
129
 
130
130
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
131
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
132
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
131
133
  # Deserialize Response
132
134
  if status_code == 200
133
135
  begin
@@ -201,7 +203,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
201
203
  fail ArgumentError, 'backend_id is nil' if backend_id.nil?
202
204
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MaxLength': '80'" if !backend_id.nil? && backend_id.length > 80
203
205
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MinLength': '1'" if !backend_id.nil? && backend_id.length < 1
204
- fail ArgumentError, "'backend_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !backend_id.nil? && backend_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
205
206
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
206
207
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
207
208
 
@@ -235,6 +236,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
235
236
  end
236
237
 
237
238
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
239
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
240
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
238
241
 
239
242
  result
240
243
  end
@@ -296,7 +299,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
296
299
  fail ArgumentError, 'backend_id is nil' if backend_id.nil?
297
300
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MaxLength': '80'" if !backend_id.nil? && backend_id.length > 80
298
301
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MinLength': '1'" if !backend_id.nil? && backend_id.length < 1
299
- fail ArgumentError, "'backend_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !backend_id.nil? && backend_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
300
302
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
301
303
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
302
304
 
@@ -330,6 +332,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
330
332
  end
331
333
 
332
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?
333
337
  # Deserialize Response
334
338
  if status_code == 200
335
339
  begin
@@ -410,7 +414,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
410
414
  fail ArgumentError, 'backend_id is nil' if backend_id.nil?
411
415
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MaxLength': '80'" if !backend_id.nil? && backend_id.length > 80
412
416
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MinLength': '1'" if !backend_id.nil? && backend_id.length < 1
413
- fail ArgumentError, "'backend_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !backend_id.nil? && backend_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
414
417
  fail ArgumentError, 'parameters is nil' if parameters.nil?
415
418
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
416
419
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -453,6 +456,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
453
456
  end
454
457
 
455
458
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
459
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
460
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
456
461
  # Deserialize Response
457
462
  if status_code == 201
458
463
  begin
@@ -545,7 +550,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
545
550
  fail ArgumentError, 'backend_id is nil' if backend_id.nil?
546
551
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MaxLength': '80'" if !backend_id.nil? && backend_id.length > 80
547
552
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MinLength': '1'" if !backend_id.nil? && backend_id.length < 1
548
- fail ArgumentError, "'backend_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !backend_id.nil? && backend_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
549
553
  fail ArgumentError, 'parameters is nil' if parameters.nil?
550
554
  fail ArgumentError, 'if_match is nil' if if_match.nil?
551
555
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -589,6 +593,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
589
593
  end
590
594
 
591
595
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
596
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
597
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
592
598
 
593
599
  result
594
600
  end
@@ -658,7 +664,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
658
664
  fail ArgumentError, 'backend_id is nil' if backend_id.nil?
659
665
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MaxLength': '80'" if !backend_id.nil? && backend_id.length > 80
660
666
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MinLength': '1'" if !backend_id.nil? && backend_id.length < 1
661
- fail ArgumentError, "'backend_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !backend_id.nil? && backend_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
662
667
  fail ArgumentError, 'if_match is nil' if if_match.nil?
663
668
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
664
669
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -694,6 +699,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
694
699
  end
695
700
 
696
701
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
702
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
703
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
697
704
 
698
705
  result
699
706
  end
@@ -760,7 +767,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
760
767
  fail ArgumentError, 'backend_id is nil' if backend_id.nil?
761
768
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MaxLength': '80'" if !backend_id.nil? && backend_id.length > 80
762
769
  fail ArgumentError, "'backend_id' should satisfy the constraint - 'MinLength': '1'" if !backend_id.nil? && backend_id.length < 1
763
- fail ArgumentError, "'backend_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !backend_id.nil? && backend_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
764
770
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
765
771
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
766
772
 
@@ -801,6 +807,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
801
807
  end
802
808
 
803
809
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
810
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
811
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
804
812
 
805
813
  result
806
814
  end
@@ -879,6 +887,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
879
887
  end
880
888
 
881
889
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
890
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
891
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
882
892
  # Deserialize Response
883
893
  if status_code == 200
884
894
  begin
@@ -107,6 +107,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
107
107
  end
108
108
 
109
109
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
110
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
111
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
110
112
  # Deserialize Response
111
113
  if status_code == 200
112
114
  begin
@@ -214,6 +216,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
214
216
  end
215
217
 
216
218
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
219
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
220
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
217
221
 
218
222
  result
219
223
  end
@@ -309,6 +313,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
309
313
  end
310
314
 
311
315
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
316
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
317
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
312
318
  # Deserialize Response
313
319
  if status_code == 200
314
320
  begin
@@ -432,6 +438,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
432
438
  end
433
439
 
434
440
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
441
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
442
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
435
443
  # Deserialize Response
436
444
  if status_code == 201
437
445
  begin
@@ -568,6 +576,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
568
576
  end
569
577
 
570
578
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
579
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
580
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
571
581
 
572
582
  result
573
583
  end
@@ -673,6 +683,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
673
683
  end
674
684
 
675
685
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
686
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
687
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
676
688
 
677
689
  result
678
690
  end
@@ -751,6 +763,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
751
763
  end
752
764
 
753
765
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
766
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
767
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
754
768
  # Deserialize Response
755
769
  if status_code == 200
756
770
  begin
@@ -131,6 +131,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
131
131
  end
132
132
 
133
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?
134
136
  # Deserialize Response
135
137
  if status_code == 200
136
138
  begin
@@ -238,6 +240,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
238
240
  end
239
241
 
240
242
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
243
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
244
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
241
245
 
242
246
  result
243
247
  end
@@ -333,6 +337,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
333
337
  end
334
338
 
335
339
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
340
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
341
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
336
342
  # Deserialize Response
337
343
  if status_code == 200
338
344
  begin
@@ -462,6 +468,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
462
468
  end
463
469
 
464
470
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
471
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
472
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
465
473
  # Deserialize Response
466
474
  if status_code == 201
467
475
  begin
@@ -587,6 +595,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
587
595
  end
588
596
 
589
597
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
598
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
599
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
590
600
 
591
601
  result
592
602
  end
@@ -665,6 +675,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
665
675
  end
666
676
 
667
677
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
678
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
679
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
668
680
  # Deserialize Response
669
681
  if status_code == 200
670
682
  begin