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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1d046af7c7377b1521a3da921d20b45019b336ff
4
- data.tar.gz: 426b929bcb111bfb1040036defedfc16b5f4656b
2
+ SHA256:
3
+ metadata.gz: 3d8a2b5abe6c81774e0f7c1aca66bcd17463561ce4544fb70ea880af970c1362
4
+ data.tar.gz: f2a47241f8273789edacde12f12a9d9eecbcf97fd752c02d4269984cdd97e7e9
5
5
  SHA512:
6
- metadata.gz: 926535b6a3f08b604a37e2ff604d735db7e16bf29abf320bac7b69a3c4b8099d1fe3d8cdb9939398ea06f8906556a2e078ed7cbb3e1eeb97c4e2a15d60f298bb
7
- data.tar.gz: 233be7fc90e9a4df3eefcd5a5c4b4b7ba673870691ecea9d40c5c6b2b65e8b294c21ccdae5cdbf8d71befa1733a7e594ea6e3dd0719ff4a38083707e2334903e
6
+ metadata.gz: c9437171e94b4ca0832177ba4c6178ab136c8c6093c64035f39c2390f6d9c02f5cd73a503875da0ebdd769578fb48b3f96985b8ad66eaf5cf706f83e8b24d399
7
+ data.tar.gz: 88344466b9d88cbf06ee6d30b65ef698571b463c59ac9b3e407e3ddf50843e479b1f9d7d25a7f7b0f118e67c9cf5c3445804ae43a144745d519eda3a0382d4f9
@@ -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
@@ -253,6 +255,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
253
255
  end
254
256
 
255
257
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
258
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
259
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
256
260
 
257
261
  result
258
262
  end
@@ -351,6 +355,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
351
355
  end
352
356
 
353
357
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
358
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
359
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
354
360
  # Deserialize Response
355
361
  if status_code == 200
356
362
  begin
@@ -535,6 +541,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
535
541
  end
536
542
 
537
543
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
544
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
545
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
538
546
 
539
547
  result
540
548
  end
@@ -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
@@ -790,6 +800,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
790
800
  end
791
801
 
792
802
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
803
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
804
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
793
805
  # Deserialize Response
794
806
  if status_code == 200
795
807
  begin
@@ -919,6 +931,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
919
931
  end
920
932
 
921
933
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
934
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
935
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
922
936
  # Deserialize Response
923
937
  if status_code == 201
924
938
  begin
@@ -1017,6 +1031,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1017
1031
  end
1018
1032
 
1019
1033
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1034
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1035
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1020
1036
  # Deserialize Response
1021
1037
  if status_code == 200
1022
1038
  begin
@@ -1105,6 +1121,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1105
1121
  end
1106
1122
 
1107
1123
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1124
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1125
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1108
1126
  # Deserialize Response
1109
1127
  if status_code == 200
1110
1128
  begin
@@ -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
@@ -211,7 +212,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
211
212
  fail ArgumentError, 'api_id is nil' if api_id.nil?
212
213
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
213
214
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
214
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
215
215
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
216
216
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
217
217
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
@@ -249,6 +249,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
249
249
  end
250
250
 
251
251
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
252
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
253
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
252
254
 
253
255
  result
254
256
  end
@@ -316,7 +318,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
316
318
  fail ArgumentError, 'api_id is nil' if api_id.nil?
317
319
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
318
320
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
319
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
320
321
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
321
322
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
322
323
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
@@ -354,6 +355,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
354
355
  end
355
356
 
356
357
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
358
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
359
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
357
360
  # Deserialize Response
358
361
  if status_code == 200
359
362
  begin
@@ -440,7 +443,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
440
443
  fail ArgumentError, 'api_id is nil' if api_id.nil?
441
444
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
442
445
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
443
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
444
446
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
445
447
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
446
448
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
@@ -487,6 +489,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
487
489
  end
488
490
 
489
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?
490
494
  # Deserialize Response
491
495
  if status_code == 201
492
496
  begin
@@ -585,7 +589,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
585
589
  fail ArgumentError, 'api_id is nil' if api_id.nil?
586
590
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
587
591
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
588
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
589
592
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
590
593
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
591
594
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
@@ -633,6 +636,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
633
636
  end
634
637
 
635
638
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
639
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
640
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
636
641
 
637
642
  result
638
643
  end
@@ -708,7 +713,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
708
713
  fail ArgumentError, 'api_id is nil' if api_id.nil?
709
714
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
710
715
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
711
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
712
716
  fail ArgumentError, 'diagnostic_id is nil' if diagnostic_id.nil?
713
717
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MaxLength': '80'" if !diagnostic_id.nil? && diagnostic_id.length > 80
714
718
  fail ArgumentError, "'diagnostic_id' should satisfy the constraint - 'MinLength': '1'" if !diagnostic_id.nil? && diagnostic_id.length < 1
@@ -748,6 +752,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
748
752
  end
749
753
 
750
754
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
755
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
756
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
751
757
 
752
758
  result
753
759
  end
@@ -826,6 +832,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
826
832
  end
827
833
 
828
834
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
835
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
836
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
829
837
  # Deserialize Response
830
838
  if status_code == 200
831
839
  begin
@@ -126,6 +126,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
126
126
  end
127
127
 
128
128
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
129
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
130
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
129
131
  # Deserialize Response
130
132
  if status_code == 200
131
133
  begin
@@ -102,7 +102,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
102
102
  fail ArgumentError, 'api_id is nil' if api_id.nil?
103
103
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
104
104
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
105
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
106
105
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
107
106
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
108
107
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -138,6 +137,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
138
137
  end
139
138
 
140
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?
141
142
  # Deserialize Response
142
143
  if status_code == 200
143
144
  begin
@@ -217,7 +218,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
217
218
  fail ArgumentError, 'api_id is nil' if api_id.nil?
218
219
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
219
220
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
220
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
221
221
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
222
222
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
223
223
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -255,6 +255,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
255
255
  end
256
256
 
257
257
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
258
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
259
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
258
260
 
259
261
  result
260
262
  end
@@ -325,7 +327,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
325
327
  fail ArgumentError, 'api_id is nil' if api_id.nil?
326
328
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
327
329
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
328
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
329
330
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
330
331
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
331
332
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -363,6 +364,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
363
364
  end
364
365
 
365
366
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
367
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
368
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
366
369
  # Deserialize Response
367
370
  if status_code == 200
368
371
  begin
@@ -449,7 +452,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
449
452
  fail ArgumentError, 'api_id is nil' if api_id.nil?
450
453
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
451
454
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
452
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
453
455
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
454
456
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
455
457
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -496,6 +498,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
496
498
  end
497
499
 
498
500
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
501
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
502
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
499
503
  # Deserialize Response
500
504
  if status_code == 201
501
505
  begin
@@ -594,7 +598,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
594
598
  fail ArgumentError, 'api_id is nil' if api_id.nil?
595
599
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
596
600
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
597
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
598
601
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
599
602
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
600
603
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -642,6 +645,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
642
645
  end
643
646
 
644
647
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
648
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
649
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
645
650
 
646
651
  result
647
652
  end
@@ -717,7 +722,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
717
722
  fail ArgumentError, 'api_id is nil' if api_id.nil?
718
723
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
719
724
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
720
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
721
725
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
722
726
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
723
727
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -757,6 +761,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
757
761
  end
758
762
 
759
763
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
764
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
765
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
760
766
 
761
767
  result
762
768
  end
@@ -835,6 +841,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
835
841
  end
836
842
 
837
843
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
844
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
845
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
838
846
  # Deserialize Response
839
847
  if status_code == 200
840
848
  begin
@@ -105,7 +105,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
105
105
  fail ArgumentError, 'api_id is nil' if api_id.nil?
106
106
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
107
107
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
108
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
109
108
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
110
109
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
111
110
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -145,6 +144,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
145
144
  end
146
145
 
147
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?
148
149
  # Deserialize Response
149
150
  if status_code == 200
150
151
  begin
@@ -230,7 +231,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
230
231
  fail ArgumentError, 'api_id is nil' if api_id.nil?
231
232
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
232
233
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
233
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
234
234
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
235
235
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
236
236
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -272,6 +272,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
272
272
  end
273
273
 
274
274
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
275
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
276
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
275
277
 
276
278
  result
277
279
  end
@@ -348,7 +350,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
348
350
  fail ArgumentError, 'api_id is nil' if api_id.nil?
349
351
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
350
352
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
351
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
352
353
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
353
354
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
354
355
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -390,6 +391,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
390
391
  end
391
392
 
392
393
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
394
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
395
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
393
396
  # Deserialize Response
394
397
  if status_code == 200
395
398
  begin
@@ -482,7 +485,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
482
485
  fail ArgumentError, 'api_id is nil' if api_id.nil?
483
486
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
484
487
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
485
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
486
488
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
487
489
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
488
490
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -533,6 +535,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
533
535
  end
534
536
 
535
537
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
538
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
539
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
536
540
  # Deserialize Response
537
541
  if status_code == 201
538
542
  begin
@@ -634,7 +638,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
634
638
  fail ArgumentError, 'api_id is nil' if api_id.nil?
635
639
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
636
640
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
637
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
638
641
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
639
642
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
640
643
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -678,6 +681,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
678
681
  end
679
682
 
680
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?
681
686
 
682
687
  result
683
688
  end
@@ -756,6 +761,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
756
761
  end
757
762
 
758
763
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
764
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
765
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
759
766
  # Deserialize Response
760
767
  if status_code == 200
761
768
  begin
@@ -105,7 +105,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
105
105
  fail ArgumentError, 'api_id is nil' if api_id.nil?
106
106
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
107
107
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
108
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
109
108
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
110
109
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
111
110
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -145,6 +144,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
145
144
  end
146
145
 
147
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?
148
149
  # Deserialize Response
149
150
  if status_code == 200
150
151
  begin
@@ -230,7 +231,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
230
231
  fail ArgumentError, 'api_id is nil' if api_id.nil?
231
232
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
232
233
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
233
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
234
234
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
235
235
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
236
236
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -272,6 +272,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
272
272
  end
273
273
 
274
274
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
275
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
276
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
275
277
 
276
278
  result
277
279
  end
@@ -345,7 +347,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
345
347
  fail ArgumentError, 'api_id is nil' if api_id.nil?
346
348
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
347
349
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
348
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
349
350
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
350
351
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
351
352
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -387,6 +388,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
387
388
  end
388
389
 
389
390
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
391
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
392
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
390
393
  # Deserialize Response
391
394
  if status_code == 200
392
395
  begin
@@ -479,7 +482,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
479
482
  fail ArgumentError, 'api_id is nil' if api_id.nil?
480
483
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
481
484
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
482
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
483
485
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
484
486
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
485
487
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -530,6 +532,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
530
532
  end
531
533
 
532
534
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
535
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
536
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
533
537
  # Deserialize Response
534
538
  if status_code == 201
535
539
  begin
@@ -631,7 +635,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
631
635
  fail ArgumentError, 'api_id is nil' if api_id.nil?
632
636
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '80'" if !api_id.nil? && api_id.length > 80
633
637
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
634
- fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
635
638
  fail ArgumentError, 'issue_id is nil' if issue_id.nil?
636
639
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
637
640
  fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
@@ -675,6 +678,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
675
678
  end
676
679
 
677
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?
678
683
 
679
684
  result
680
685
  end
@@ -753,6 +758,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
753
758
  end
754
759
 
755
760
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
761
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
762
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
756
763
  # Deserialize Response
757
764
  if status_code == 200
758
765
  begin