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
@@ -99,6 +99,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
99
99
  end
100
100
 
101
101
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
102
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
103
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
102
104
 
103
105
  result
104
106
  end
@@ -185,6 +187,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
185
187
  end
186
188
 
187
189
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
190
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
191
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
188
192
  # Deserialize Response
189
193
  if status_code == 200
190
194
  begin
@@ -305,6 +309,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
305
309
  end
306
310
 
307
311
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
312
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
313
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
308
314
 
309
315
  result
310
316
  end
@@ -390,6 +396,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
390
396
  end
391
397
 
392
398
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
399
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
400
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
393
401
 
394
402
  result
395
403
  end
@@ -475,6 +483,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
475
483
  end
476
484
 
477
485
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
486
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
487
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
478
488
 
479
489
  result
480
490
  end
@@ -100,6 +100,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
100
100
  end
101
101
 
102
102
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
103
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
104
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
103
105
  # Deserialize Response
104
106
  if status_code == 200
105
107
  begin
@@ -195,6 +197,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
195
197
  end
196
198
 
197
199
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
200
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
201
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
198
202
 
199
203
  result
200
204
  end
@@ -280,6 +284,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
280
284
  end
281
285
 
282
286
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
287
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
288
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
283
289
 
284
290
  result
285
291
  end
@@ -244,6 +244,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
244
244
  end
245
245
 
246
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?
247
249
  # Deserialize Response
248
250
  if status_code == 200
249
251
  begin
@@ -360,6 +362,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
360
362
  end
361
363
 
362
364
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
365
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
366
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
363
367
  # Deserialize Response
364
368
  if status_code == 200
365
369
  begin
@@ -473,6 +477,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
473
477
  end
474
478
 
475
479
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
480
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
481
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
476
482
  # Deserialize Response
477
483
  if status_code == 200
478
484
  begin
@@ -586,6 +592,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
586
592
  end
587
593
 
588
594
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
595
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
596
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
589
597
  # Deserialize Response
590
598
  if status_code == 200
591
599
  begin
@@ -143,6 +143,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
143
143
  end
144
144
 
145
145
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
146
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
147
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
146
148
  # Deserialize Response
147
149
  if status_code == 200
148
150
  begin
@@ -213,7 +215,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
213
215
  fail ArgumentError, 'user_id is nil' if user_id.nil?
214
216
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
215
217
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
216
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
217
218
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
218
219
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
219
220
 
@@ -247,6 +248,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
247
248
  end
248
249
 
249
250
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
251
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
252
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
250
253
 
251
254
  result
252
255
  end
@@ -308,7 +311,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
308
311
  fail ArgumentError, 'user_id is nil' if user_id.nil?
309
312
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
310
313
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
311
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
312
314
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
313
315
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
314
316
 
@@ -342,6 +344,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
342
344
  end
343
345
 
344
346
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
347
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
348
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
345
349
  # Deserialize Response
346
350
  if status_code == 200
347
351
  begin
@@ -422,7 +426,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
422
426
  fail ArgumentError, 'user_id is nil' if user_id.nil?
423
427
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
424
428
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
425
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
426
429
  fail ArgumentError, 'parameters is nil' if parameters.nil?
427
430
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
428
431
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -465,6 +468,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
465
468
  end
466
469
 
467
470
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
471
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
472
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
468
473
  # Deserialize Response
469
474
  if status_code == 201
470
475
  begin
@@ -557,7 +562,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
557
562
  fail ArgumentError, 'user_id is nil' if user_id.nil?
558
563
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
559
564
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
560
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
561
565
  fail ArgumentError, 'parameters is nil' if parameters.nil?
562
566
  fail ArgumentError, 'if_match is nil' if if_match.nil?
563
567
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -601,6 +605,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
601
605
  end
602
606
 
603
607
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
608
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
609
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
604
610
 
605
611
  result
606
612
  end
@@ -682,7 +688,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
682
688
  fail ArgumentError, 'user_id is nil' if user_id.nil?
683
689
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
684
690
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
685
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
686
691
  fail ArgumentError, 'if_match is nil' if if_match.nil?
687
692
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
688
693
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -718,6 +723,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
718
723
  end
719
724
 
720
725
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
726
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
727
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
721
728
 
722
729
  result
723
730
  end
@@ -782,7 +789,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
782
789
  fail ArgumentError, 'user_id is nil' if user_id.nil?
783
790
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
784
791
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
785
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
786
792
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
787
793
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
788
794
 
@@ -816,6 +822,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
816
822
  end
817
823
 
818
824
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
825
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
826
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
819
827
  # Deserialize Response
820
828
  if status_code == 200
821
829
  begin
@@ -893,7 +901,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
893
901
  fail ArgumentError, 'user_id is nil' if user_id.nil?
894
902
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
895
903
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
896
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
897
904
  fail ArgumentError, 'parameters is nil' if parameters.nil?
898
905
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
899
906
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -935,6 +942,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
935
942
  end
936
943
 
937
944
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
945
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
946
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
938
947
  # Deserialize Response
939
948
  if status_code == 200
940
949
  begin
@@ -1023,6 +1032,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1023
1032
  end
1024
1033
 
1025
1034
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1035
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1036
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1026
1037
  # Deserialize Response
1027
1038
  if status_code == 200
1028
1039
  begin
@@ -74,7 +74,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
74
74
  fail ArgumentError, 'user_id is nil' if user_id.nil?
75
75
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
76
76
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
77
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
78
77
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
79
78
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
80
79
 
@@ -108,6 +107,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
108
107
  end
109
108
 
110
109
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
110
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
111
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
111
112
 
112
113
  result
113
114
  end
@@ -102,7 +102,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
102
102
  fail ArgumentError, 'user_id is nil' if user_id.nil?
103
103
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
104
104
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
105
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_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
@@ -226,6 +227,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
226
227
  end
227
228
 
228
229
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
230
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
231
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
229
232
  # Deserialize Response
230
233
  if status_code == 200
231
234
  begin
@@ -75,7 +75,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
75
75
  fail ArgumentError, 'user_id is nil' if user_id.nil?
76
76
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
77
77
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
78
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
79
78
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
80
79
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
81
80
 
@@ -109,6 +108,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
109
108
  end
110
109
 
111
110
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
111
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
112
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
112
113
  # Deserialize Response
113
114
  if status_code == 200
114
115
  begin
@@ -197,6 +198,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
197
198
  end
198
199
 
199
200
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
201
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
202
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
200
203
  # Deserialize Response
201
204
  if status_code == 200
202
205
  begin
@@ -117,7 +117,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
117
117
  fail ArgumentError, 'user_id is nil' if user_id.nil?
118
118
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
119
119
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
120
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
121
120
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
122
121
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
123
122
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -153,6 +152,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
153
152
  end
154
153
 
155
154
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
155
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
156
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
156
157
  # Deserialize Response
157
158
  if status_code == 200
158
159
  begin
@@ -241,6 +242,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
241
242
  end
242
243
 
243
244
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
245
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
246
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
244
247
  # Deserialize Response
245
248
  if status_code == 200
246
249
  begin
@@ -2,11 +2,5 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
- require '2018-06-01-preview/generated/azure_mgmt_api_management'
6
- require '2018-01-01-preview/generated/azure_mgmt_api_management'
7
- require '2016-10-10/generated/azure_mgmt_api_management'
8
- require '2016-07-07/generated/azure_mgmt_api_management'
9
- require '2018-01-01/generated/azure_mgmt_api_management'
10
- require '2017-03-01/generated/azure_mgmt_api_management'
11
5
  require '2019-01-01/generated/azure_mgmt_api_management'
12
6
  require 'profiles/latest/apimanagement_latest_profile_client'
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::ApiManagement::Mgmt
6
- VERSION = '0.18.3'
6
+ VERSION = '0.18.4'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_api_management
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.3
4
+ version: 0.18.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-01 00:00:00.000000000 Z
11
+ date: 2019-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.11.0
75
+ version: 0.11.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.11.0
82
+ version: 0.11.1
83
83
  description: Microsoft Azure API Management Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -1804,7 +1804,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1804
1804
  version: '0'
1805
1805
  requirements: []
1806
1806
  rubyforge_project:
1807
- rubygems_version: 2.5.1
1807
+ rubygems_version: 2.7.8
1808
1808
  signing_key:
1809
1809
  specification_version: 4
1810
1810
  summary: Official Ruby client library to consume Microsoft Azure API Management.