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
@@ -122,6 +122,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
122
122
  end
123
123
 
124
124
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
125
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
126
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
125
127
  # Deserialize Response
126
128
  if status_code == 200
127
129
  begin
@@ -229,6 +231,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
229
231
  end
230
232
 
231
233
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
234
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
235
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
232
236
 
233
237
  result
234
238
  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
@@ -447,6 +453,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
447
453
  end
448
454
 
449
455
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
456
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
457
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
450
458
  # Deserialize Response
451
459
  if status_code == 201
452
460
  begin
@@ -583,6 +591,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
583
591
  end
584
592
 
585
593
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
594
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
595
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
586
596
 
587
597
  result
588
598
  end
@@ -688,6 +698,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
688
698
  end
689
699
 
690
700
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
701
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
702
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
691
703
 
692
704
  result
693
705
  end
@@ -766,6 +778,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
766
778
  end
767
779
 
768
780
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
781
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
782
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
769
783
  # Deserialize Response
770
784
  if status_code == 200
771
785
  begin
@@ -122,6 +122,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
122
122
  end
123
123
 
124
124
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
125
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
126
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
125
127
  # Deserialize Response
126
128
  if status_code == 200
127
129
  begin
@@ -250,6 +252,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
250
252
  end
251
253
 
252
254
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
255
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
256
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
253
257
 
254
258
  result
255
259
  end
@@ -366,6 +370,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
366
370
  end
367
371
 
368
372
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
373
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
374
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
369
375
  # Deserialize Response
370
376
  if status_code == 200
371
377
  begin
@@ -513,6 +519,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
513
519
  end
514
520
 
515
521
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
522
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
523
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
516
524
  # Deserialize Response
517
525
  if status_code == 201
518
526
  begin
@@ -670,6 +678,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
670
678
  end
671
679
 
672
680
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
681
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
682
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
673
683
 
674
684
  result
675
685
  end
@@ -799,6 +809,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
799
809
  end
800
810
 
801
811
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
812
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
813
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
802
814
 
803
815
  result
804
816
  end
@@ -877,6 +889,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
877
889
  end
878
890
 
879
891
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
892
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
893
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
880
894
  # Deserialize Response
881
895
  if status_code == 200
882
896
  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
@@ -204,7 +206,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
204
206
  fail ArgumentError, 'group_id is nil' if group_id.nil?
205
207
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
206
208
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
207
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
208
209
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
209
210
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
210
211
 
@@ -238,6 +239,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
238
239
  end
239
240
 
240
241
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
242
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
243
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
241
244
 
242
245
  result
243
246
  end
@@ -299,7 +302,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
299
302
  fail ArgumentError, 'group_id is nil' if group_id.nil?
300
303
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
301
304
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
302
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
303
305
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
304
306
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
305
307
 
@@ -333,6 +335,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
333
335
  end
334
336
 
335
337
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
338
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
339
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
336
340
  # Deserialize Response
337
341
  if status_code == 200
338
342
  begin
@@ -413,7 +417,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
413
417
  fail ArgumentError, 'group_id is nil' if group_id.nil?
414
418
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
415
419
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
416
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
417
420
  fail ArgumentError, 'parameters is nil' if parameters.nil?
418
421
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
419
422
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -456,6 +459,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
456
459
  end
457
460
 
458
461
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
462
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
463
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
459
464
  # Deserialize Response
460
465
  if status_code == 201
461
466
  begin
@@ -548,7 +553,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
548
553
  fail ArgumentError, 'group_id is nil' if group_id.nil?
549
554
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
550
555
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
551
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
552
556
  fail ArgumentError, 'parameters is nil' if parameters.nil?
553
557
  fail ArgumentError, 'if_match is nil' if if_match.nil?
554
558
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -592,6 +596,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
592
596
  end
593
597
 
594
598
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
599
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
600
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
595
601
 
596
602
  result
597
603
  end
@@ -661,7 +667,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
661
667
  fail ArgumentError, 'group_id is nil' if group_id.nil?
662
668
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
663
669
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
664
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
665
670
  fail ArgumentError, 'if_match is nil' if if_match.nil?
666
671
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
667
672
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -697,6 +702,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
697
702
  end
698
703
 
699
704
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
705
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
706
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
700
707
 
701
708
  result
702
709
  end
@@ -775,6 +782,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
775
782
  end
776
783
 
777
784
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
785
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
786
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
778
787
  # Deserialize Response
779
788
  if status_code == 200
780
789
  begin
@@ -114,7 +114,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
114
114
  fail ArgumentError, 'group_id is nil' if group_id.nil?
115
115
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
116
116
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
117
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
118
117
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
119
118
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
120
119
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -150,6 +149,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
150
149
  end
151
150
 
152
151
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
152
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
153
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
153
154
  # Deserialize Response
154
155
  if status_code == 200
155
156
  begin
@@ -230,11 +231,9 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
230
231
  fail ArgumentError, 'group_id is nil' if group_id.nil?
231
232
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
232
233
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
233
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
234
234
  fail ArgumentError, 'user_id is nil' if user_id.nil?
235
235
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
236
236
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
237
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
238
237
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
239
238
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
240
239
 
@@ -269,6 +268,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
269
268
 
270
269
  result.body = (status_code == 204)
271
270
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
271
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
272
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
272
273
 
273
274
  result
274
275
  end
@@ -336,11 +337,9 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
336
337
  fail ArgumentError, 'group_id is nil' if group_id.nil?
337
338
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
338
339
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
339
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
340
340
  fail ArgumentError, 'user_id is nil' if user_id.nil?
341
341
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
342
342
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
343
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
344
343
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
345
344
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
346
345
 
@@ -374,6 +373,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
374
373
  end
375
374
 
376
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?
377
378
  # Deserialize Response
378
379
  if status_code == 201
379
380
  begin
@@ -460,11 +461,9 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
460
461
  fail ArgumentError, 'group_id is nil' if group_id.nil?
461
462
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
462
463
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
463
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
464
464
  fail ArgumentError, 'user_id is nil' if user_id.nil?
465
465
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
466
466
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
467
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
468
467
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
469
468
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
470
469
 
@@ -498,6 +497,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
498
497
  end
499
498
 
500
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?
501
502
 
502
503
  result
503
504
  end
@@ -576,6 +577,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
576
577
  end
577
578
 
578
579
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
580
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
581
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
579
582
  # Deserialize Response
580
583
  if status_code == 200
581
584
  begin
@@ -102,6 +102,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
105
107
  # Deserialize Response
106
108
  if status_code == 200
107
109
  begin
@@ -209,6 +211,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
209
211
  end
210
212
 
211
213
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
214
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
215
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
212
216
 
213
217
  result
214
218
  end
@@ -307,6 +311,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
307
311
  end
308
312
 
309
313
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
314
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
315
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
310
316
  # Deserialize Response
311
317
  if status_code == 200
312
318
  begin
@@ -430,6 +436,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
430
436
  end
431
437
 
432
438
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
439
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
440
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
433
441
  # Deserialize Response
434
442
  if status_code == 201
435
443
  begin
@@ -566,6 +574,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
566
574
  end
567
575
 
568
576
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
577
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
578
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
569
579
 
570
580
  result
571
581
  end
@@ -671,6 +681,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
671
681
  end
672
682
 
673
683
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
684
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
685
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
674
686
 
675
687
  result
676
688
  end
@@ -752,6 +764,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
752
764
  end
753
765
 
754
766
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
767
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
768
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
755
769
  # Deserialize Response
756
770
  if status_code == 200
757
771
  begin
@@ -137,6 +137,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
137
137
  end
138
138
 
139
139
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
140
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
141
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
140
142
  # Deserialize Response
141
143
  if status_code == 200
142
144
  begin
@@ -242,6 +244,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
242
244
  end
243
245
 
244
246
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
247
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
248
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
245
249
  # Deserialize Response
246
250
  if status_code == 200
247
251
  begin
@@ -330,6 +334,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
330
334
  end
331
335
 
332
336
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
337
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
338
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
333
339
  # Deserialize Response
334
340
  if status_code == 200
335
341
  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
@@ -237,6 +239,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
237
239
  end
238
240
 
239
241
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
242
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
243
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
240
244
 
241
245
  result
242
246
  end
@@ -331,6 +335,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
331
335
  end
332
336
 
333
337
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
338
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
339
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
334
340
  # Deserialize Response
335
341
  if status_code == 200
336
342
  begin
@@ -453,6 +459,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
453
459
  end
454
460
 
455
461
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
462
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
463
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
456
464
  # Deserialize Response
457
465
  if status_code == 201
458
466
  begin
@@ -588,6 +596,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
588
596
  end
589
597
 
590
598
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
599
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
600
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
591
601
 
592
602
  result
593
603
  end
@@ -695,6 +705,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
695
705
  end
696
706
 
697
707
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
708
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
709
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
698
710
 
699
711
  result
700
712
  end
@@ -773,6 +785,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
773
785
  end
774
786
 
775
787
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
788
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
789
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
776
790
  # Deserialize Response
777
791
  if status_code == 200
778
792
  begin