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
@@ -98,6 +98,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
98
98
  end
99
99
 
100
100
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
101
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
102
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
101
103
 
102
104
  result
103
105
  end
@@ -183,6 +185,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
183
185
  end
184
186
 
185
187
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
188
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
189
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
186
190
  # Deserialize Response
187
191
  if status_code == 200
188
192
  begin
@@ -299,6 +303,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
299
303
  end
300
304
 
301
305
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
306
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
307
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
302
308
 
303
309
  result
304
310
  end
@@ -402,6 +408,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
402
408
  end
403
409
 
404
410
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
411
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
412
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
405
413
  # Deserialize Response
406
414
  if status_code == 200
407
415
  begin
@@ -98,6 +98,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
98
98
  end
99
99
 
100
100
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
101
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
102
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
101
103
 
102
104
  result
103
105
  end
@@ -183,6 +185,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
183
185
  end
184
186
 
185
187
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
188
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
189
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
186
190
  # Deserialize Response
187
191
  if status_code == 200
188
192
  begin
@@ -299,6 +303,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
299
303
  end
300
304
 
301
305
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
306
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
307
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
302
308
 
303
309
  result
304
310
  end
@@ -402,6 +408,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
402
408
  end
403
409
 
404
410
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
411
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
412
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
405
413
  # Deserialize Response
406
414
  if status_code == 200
407
415
  begin
@@ -146,6 +146,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
146
146
  end
147
147
 
148
148
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
149
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
150
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
149
151
  # Deserialize Response
150
152
  if status_code == 200
151
153
  begin
@@ -252,6 +254,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
252
254
  end
253
255
 
254
256
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
257
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
258
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
255
259
 
256
260
  result
257
261
  end
@@ -346,6 +350,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
346
350
  end
347
351
 
348
352
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
353
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
354
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
349
355
  # Deserialize Response
350
356
  if status_code == 200
351
357
  begin
@@ -483,6 +489,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
483
489
  end
484
490
 
485
491
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
492
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
493
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
486
494
  # Deserialize Response
487
495
  if status_code == 201
488
496
  begin
@@ -630,6 +638,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
630
638
  end
631
639
 
632
640
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
641
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
642
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
633
643
 
634
644
  result
635
645
  end
@@ -734,6 +744,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
734
744
  end
735
745
 
736
746
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
747
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
748
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
737
749
 
738
750
  result
739
751
  end
@@ -830,6 +842,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
830
842
  end
831
843
 
832
844
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
845
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
846
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
833
847
 
834
848
  result
835
849
  end
@@ -926,6 +940,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
926
940
  end
927
941
 
928
942
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
943
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
944
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
929
945
 
930
946
  result
931
947
  end
@@ -1004,6 +1020,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1004
1020
  end
1005
1021
 
1006
1022
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1023
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1024
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1007
1025
  # Deserialize Response
1008
1026
  if status_code == 200
1009
1027
  begin
@@ -112,7 +112,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
112
112
  fail ArgumentError, 'operation_id is nil' if operation_id.nil?
113
113
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
114
114
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
115
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
116
115
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
117
116
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
118
117
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -148,6 +147,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
148
147
  end
149
148
 
150
149
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
150
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
151
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
151
152
  # Deserialize Response
152
153
  if status_code == 200
153
154
  begin
@@ -237,7 +238,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
237
238
  fail ArgumentError, 'operation_id is nil' if operation_id.nil?
238
239
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
239
240
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
240
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
241
241
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
242
242
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
243
243
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
@@ -275,6 +275,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
275
275
  end
276
276
 
277
277
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
278
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
279
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
278
280
 
279
281
  result
280
282
  end
@@ -355,7 +357,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
355
357
  fail ArgumentError, 'operation_id is nil' if operation_id.nil?
356
358
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
357
359
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
358
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
359
360
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
360
361
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
361
362
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
@@ -393,6 +394,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
393
394
  end
394
395
 
395
396
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
397
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
398
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
396
399
  # Deserialize Response
397
400
  if status_code == 200
398
401
  begin
@@ -483,7 +486,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
483
486
  fail ArgumentError, 'operation_id is nil' if operation_id.nil?
484
487
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
485
488
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
486
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
487
489
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
488
490
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
489
491
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
@@ -521,6 +523,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
521
523
  end
522
524
 
523
525
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
526
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
527
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
524
528
  # Deserialize Response
525
529
  if status_code == 201
526
530
  begin
@@ -620,7 +624,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
620
624
  fail ArgumentError, 'operation_id is nil' if operation_id.nil?
621
625
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
622
626
  fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
623
- fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
624
627
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
625
628
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
626
629
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
@@ -658,6 +661,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
658
661
  end
659
662
 
660
663
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
664
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
665
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
661
666
 
662
667
  result
663
668
  end
@@ -782,6 +787,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
782
787
  end
783
788
 
784
789
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
790
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
791
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
785
792
  # Deserialize Response
786
793
  if status_code == 200
787
794
  begin
@@ -899,6 +906,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
899
906
  end
900
907
 
901
908
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
909
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
910
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
902
911
 
903
912
  result
904
913
  end
@@ -1007,6 +1016,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1007
1016
  end
1008
1017
 
1009
1018
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1019
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1020
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1010
1021
  # Deserialize Response
1011
1022
  if status_code == 200
1012
1023
  begin
@@ -1125,6 +1136,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1125
1136
  end
1126
1137
 
1127
1138
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1139
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1140
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1128
1141
  # Deserialize Response
1129
1142
  if status_code == 201
1130
1143
  begin
@@ -1252,6 +1265,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1252
1265
  end
1253
1266
 
1254
1267
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1268
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1269
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1255
1270
 
1256
1271
  result
1257
1272
  end
@@ -1337,7 +1352,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1337
1352
  fail ArgumentError, 'product_id is nil' if product_id.nil?
1338
1353
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1339
1354
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1340
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1341
1355
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
1342
1356
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
1343
1357
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -1373,6 +1387,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1373
1387
  end
1374
1388
 
1375
1389
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1390
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1391
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1376
1392
  # Deserialize Response
1377
1393
  if status_code == 200
1378
1394
  begin
@@ -1449,7 +1465,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1449
1465
  fail ArgumentError, 'product_id is nil' if product_id.nil?
1450
1466
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1451
1467
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1452
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1453
1468
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1454
1469
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1455
1470
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
@@ -1487,6 +1502,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1487
1502
  end
1488
1503
 
1489
1504
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1505
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1506
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1490
1507
 
1491
1508
  result
1492
1509
  end
@@ -1554,7 +1571,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1554
1571
  fail ArgumentError, 'product_id is nil' if product_id.nil?
1555
1572
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1556
1573
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1557
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1558
1574
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1559
1575
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1560
1576
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
@@ -1592,6 +1608,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1592
1608
  end
1593
1609
 
1594
1610
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1611
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1612
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1595
1613
  # Deserialize Response
1596
1614
  if status_code == 200
1597
1615
  begin
@@ -1669,7 +1687,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1669
1687
  fail ArgumentError, 'product_id is nil' if product_id.nil?
1670
1688
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1671
1689
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1672
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1673
1690
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1674
1691
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1675
1692
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
@@ -1707,6 +1724,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1707
1724
  end
1708
1725
 
1709
1726
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1727
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1728
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1710
1729
  # Deserialize Response
1711
1730
  if status_code == 201
1712
1731
  begin
@@ -1793,7 +1812,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1793
1812
  fail ArgumentError, 'product_id is nil' if product_id.nil?
1794
1813
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
1795
1814
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
1796
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
1797
1815
  fail ArgumentError, 'tag_id is nil' if tag_id.nil?
1798
1816
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
1799
1817
  fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
@@ -1831,6 +1849,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1831
1849
  end
1832
1850
 
1833
1851
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1852
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1853
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1834
1854
 
1835
1855
  result
1836
1856
  end
@@ -1945,6 +1965,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1945
1965
  end
1946
1966
 
1947
1967
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1968
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1969
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1948
1970
  # Deserialize Response
1949
1971
  if status_code == 200
1950
1972
  begin
@@ -2049,6 +2071,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
2049
2071
  end
2050
2072
 
2051
2073
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2074
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2075
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2052
2076
 
2053
2077
  result
2054
2078
  end
@@ -2144,6 +2168,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
2144
2168
  end
2145
2169
 
2146
2170
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2171
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2172
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2147
2173
  # Deserialize Response
2148
2174
  if status_code == 200
2149
2175
  begin
@@ -2267,6 +2293,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
2267
2293
  end
2268
2294
 
2269
2295
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2296
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2297
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2270
2298
  # Deserialize Response
2271
2299
  if status_code == 201
2272
2300
  begin
@@ -2403,6 +2431,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
2403
2431
  end
2404
2432
 
2405
2433
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2434
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2435
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2406
2436
 
2407
2437
  result
2408
2438
  end
@@ -2508,6 +2538,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
2508
2538
  end
2509
2539
 
2510
2540
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2541
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2542
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2511
2543
 
2512
2544
  result
2513
2545
  end
@@ -2586,6 +2618,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
2586
2618
  end
2587
2619
 
2588
2620
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2621
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2622
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2589
2623
  # Deserialize Response
2590
2624
  if status_code == 200
2591
2625
  begin
@@ -2674,6 +2708,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
2674
2708
  end
2675
2709
 
2676
2710
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2711
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2712
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2677
2713
  # Deserialize Response
2678
2714
  if status_code == 200
2679
2715
  begin
@@ -2762,6 +2798,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
2762
2798
  end
2763
2799
 
2764
2800
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2801
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2802
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2765
2803
  # Deserialize Response
2766
2804
  if status_code == 200
2767
2805
  begin
@@ -2850,6 +2888,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
2850
2888
  end
2851
2889
 
2852
2890
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2891
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2892
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2853
2893
  # Deserialize Response
2854
2894
  if status_code == 200
2855
2895
  begin
@@ -164,6 +164,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
164
164
  end
165
165
 
166
166
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
167
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
168
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
167
169
  # Deserialize Response
168
170
  if status_code == 200
169
171
  begin
@@ -252,6 +254,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
252
254
  end
253
255
 
254
256
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
257
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
258
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
255
259
  # Deserialize Response
256
260
  if status_code == 200
257
261
  begin