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
@@ -111,7 +111,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
111
111
  fail ArgumentError, 'product_id is nil' if product_id.nil?
112
112
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
113
113
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
114
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
115
114
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
116
115
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
117
116
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -147,6 +146,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
147
146
  end
148
147
 
149
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?
150
151
  # Deserialize Response
151
152
  if status_code == 200
152
153
  begin
@@ -229,7 +230,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
229
230
  fail ArgumentError, 'product_id is nil' if product_id.nil?
230
231
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
231
232
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
232
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
233
233
  fail ArgumentError, 'api_id is nil' if api_id.nil?
234
234
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
235
235
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
@@ -267,6 +267,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
267
267
  end
268
268
 
269
269
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
270
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
271
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
270
272
 
271
273
  result
272
274
  end
@@ -337,7 +339,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
337
339
  fail ArgumentError, 'product_id is nil' if product_id.nil?
338
340
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
339
341
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
340
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
341
342
  fail ArgumentError, 'api_id is nil' if api_id.nil?
342
343
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
343
344
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
@@ -375,6 +376,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
375
376
  end
376
377
 
377
378
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
379
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
380
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
378
381
  # Deserialize Response
379
382
  if status_code == 201
380
383
  begin
@@ -464,7 +467,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
464
467
  fail ArgumentError, 'product_id is nil' if product_id.nil?
465
468
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
466
469
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
467
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
468
470
  fail ArgumentError, 'api_id is nil' if api_id.nil?
469
471
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
470
472
  fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
@@ -502,6 +504,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
502
504
  end
503
505
 
504
506
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
507
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
508
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
505
509
 
506
510
  result
507
511
  end
@@ -580,6 +584,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
580
584
  end
581
585
 
582
586
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
587
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
588
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
583
589
  # Deserialize Response
584
590
  if status_code == 200
585
591
  begin
@@ -99,7 +99,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
99
99
  fail ArgumentError, 'product_id is nil' if product_id.nil?
100
100
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
101
101
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
102
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
103
102
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
104
103
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
105
104
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -135,6 +134,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
135
134
  end
136
135
 
137
136
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
137
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
138
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
138
139
  # Deserialize Response
139
140
  if status_code == 200
140
141
  begin
@@ -214,11 +215,9 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
214
215
  fail ArgumentError, 'product_id is nil' if product_id.nil?
215
216
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
216
217
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
217
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
218
218
  fail ArgumentError, 'group_id is nil' if group_id.nil?
219
219
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
220
220
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
221
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
222
221
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
223
222
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
224
223
 
@@ -252,6 +251,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
252
251
  end
253
252
 
254
253
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
254
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
255
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
255
256
 
256
257
  result
257
258
  end
@@ -322,11 +323,9 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
322
323
  fail ArgumentError, 'product_id is nil' if product_id.nil?
323
324
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
324
325
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
325
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
326
326
  fail ArgumentError, 'group_id is nil' if group_id.nil?
327
327
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
328
328
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
329
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
330
329
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
331
330
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
332
331
 
@@ -360,6 +359,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
360
359
  end
361
360
 
362
361
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
362
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
363
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
363
364
  # Deserialize Response
364
365
  if status_code == 201
365
366
  begin
@@ -446,11 +447,9 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
446
447
  fail ArgumentError, 'product_id is nil' if product_id.nil?
447
448
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
448
449
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
449
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
450
450
  fail ArgumentError, 'group_id is nil' if group_id.nil?
451
451
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MaxLength': '256'" if !group_id.nil? && group_id.length > 256
452
452
  fail ArgumentError, "'group_id' should satisfy the constraint - 'MinLength': '1'" if !group_id.nil? && group_id.length < 1
453
- fail ArgumentError, "'group_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !group_id.nil? && group_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
454
453
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
455
454
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
456
455
 
@@ -484,6 +483,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
484
483
  end
485
484
 
486
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?
487
488
 
488
489
  result
489
490
  end
@@ -565,6 +566,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
565
566
  end
566
567
 
567
568
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
569
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
570
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
568
571
  # Deserialize Response
569
572
  if status_code == 200
570
573
  begin
@@ -75,7 +75,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
75
75
  fail ArgumentError, 'product_id is nil' if product_id.nil?
76
76
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
77
77
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
78
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_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
@@ -179,7 +180,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
179
180
  fail ArgumentError, 'product_id is nil' if product_id.nil?
180
181
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
181
182
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
182
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
183
183
  policy_id = 'policy'
184
184
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
185
185
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -214,6 +214,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
214
214
  end
215
215
 
216
216
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
217
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
218
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
217
219
 
218
220
  result
219
221
  end
@@ -281,7 +283,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
281
283
  fail ArgumentError, 'product_id is nil' if product_id.nil?
282
284
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
283
285
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
284
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
285
286
  policy_id = 'policy'
286
287
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
287
288
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -316,6 +317,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
316
317
  end
317
318
 
318
319
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
320
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
321
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
319
322
  # Deserialize Response
320
323
  if status_code == 200
321
324
  begin
@@ -396,7 +399,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
396
399
  fail ArgumentError, 'product_id is nil' if product_id.nil?
397
400
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
398
401
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
399
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
400
402
  policy_id = 'policy'
401
403
  fail ArgumentError, 'parameters is nil' if parameters.nil?
402
404
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -440,6 +442,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
440
442
  end
441
443
 
442
444
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
445
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
446
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
443
447
  # Deserialize Response
444
448
  if status_code == 201
445
449
  begin
@@ -529,7 +533,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
529
533
  fail ArgumentError, 'product_id is nil' if product_id.nil?
530
534
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
531
535
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
532
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
533
536
  policy_id = 'policy'
534
537
  fail ArgumentError, 'if_match is nil' if if_match.nil?
535
538
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -566,6 +569,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
566
569
  end
567
570
 
568
571
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
572
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
573
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
569
574
 
570
575
  result
571
576
  end
@@ -120,7 +120,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
120
120
  fail ArgumentError, 'product_id is nil' if product_id.nil?
121
121
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
122
122
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
123
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
124
123
  fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
125
124
  fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
126
125
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -156,6 +155,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
156
155
  end
157
156
 
158
157
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
158
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
159
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
159
160
  # Deserialize Response
160
161
  if status_code == 200
161
162
  begin
@@ -244,6 +245,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
244
245
  end
245
246
 
246
247
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
248
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
249
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
247
250
  # Deserialize Response
248
251
  if status_code == 200
249
252
  begin
@@ -125,6 +125,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
125
125
  end
126
126
 
127
127
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
128
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
129
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
128
130
  # Deserialize Response
129
131
  if status_code == 200
130
132
  begin
@@ -228,6 +230,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
228
230
  end
229
231
 
230
232
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
233
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
234
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
231
235
 
232
236
  result
233
237
  end
@@ -319,6 +323,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
319
323
  end
320
324
 
321
325
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
326
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
327
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
322
328
  # Deserialize Response
323
329
  if status_code == 200
324
330
  begin
@@ -438,6 +444,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
438
444
  end
439
445
 
440
446
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
447
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
448
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
441
449
  # Deserialize Response
442
450
  if status_code == 201
443
451
  begin
@@ -570,6 +578,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
570
578
  end
571
579
 
572
580
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
581
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
582
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
573
583
 
574
584
  result
575
585
  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
@@ -749,6 +761,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
749
761
  end
750
762
 
751
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?
752
766
  # Deserialize Response
753
767
  if status_code == 200
754
768
  begin
@@ -121,6 +121,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
121
121
  end
122
122
 
123
123
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
124
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
125
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
124
126
  # Deserialize Response
125
127
  if status_code == 200
126
128
  begin
@@ -251,6 +253,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
251
253
  end
252
254
 
253
255
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
256
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
257
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
254
258
 
255
259
  result
256
260
  end
@@ -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
@@ -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
  # Deserialize Response
103
105
  if status_code == 200
104
106
  begin
@@ -187,6 +189,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
187
189
  end
188
190
 
189
191
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
192
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
193
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
190
194
  # Deserialize Response
191
195
  if status_code == 200
192
196
  begin
@@ -114,6 +114,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
114
114
  end
115
115
 
116
116
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
117
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
118
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
117
119
  # Deserialize Response
118
120
  if status_code == 200
119
121
  begin
@@ -272,6 +274,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
272
274
  end
273
275
 
274
276
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
277
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
278
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
275
279
  # Deserialize Response
276
280
  if status_code == 200
277
281
  begin
@@ -430,6 +434,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
430
434
  end
431
435
 
432
436
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
437
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
438
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
433
439
  # Deserialize Response
434
440
  if status_code == 200
435
441
  begin
@@ -585,6 +591,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
585
591
  end
586
592
 
587
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?
588
596
  # Deserialize Response
589
597
  if status_code == 200
590
598
  begin
@@ -737,6 +745,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
737
745
  end
738
746
 
739
747
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
748
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
749
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
740
750
  # Deserialize Response
741
751
  if status_code == 200
742
752
  begin
@@ -892,6 +902,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
892
902
  end
893
903
 
894
904
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
905
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
906
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
895
907
  # Deserialize Response
896
908
  if status_code == 200
897
909
  begin
@@ -1060,6 +1072,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1060
1072
  end
1061
1073
 
1062
1074
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1075
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1076
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1063
1077
  # Deserialize Response
1064
1078
  if status_code == 200
1065
1079
  begin
@@ -1185,6 +1199,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1185
1199
  end
1186
1200
 
1187
1201
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1202
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1203
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1188
1204
  # Deserialize Response
1189
1205
  if status_code == 200
1190
1206
  begin
@@ -1273,6 +1289,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1273
1289
  end
1274
1290
 
1275
1291
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1292
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1293
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1276
1294
  # Deserialize Response
1277
1295
  if status_code == 200
1278
1296
  begin
@@ -1361,6 +1379,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1361
1379
  end
1362
1380
 
1363
1381
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1382
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1383
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1364
1384
  # Deserialize Response
1365
1385
  if status_code == 200
1366
1386
  begin
@@ -1449,6 +1469,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1449
1469
  end
1450
1470
 
1451
1471
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1472
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1473
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1452
1474
  # Deserialize Response
1453
1475
  if status_code == 200
1454
1476
  begin
@@ -1537,6 +1559,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1537
1559
  end
1538
1560
 
1539
1561
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1562
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1563
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1540
1564
  # Deserialize Response
1541
1565
  if status_code == 200
1542
1566
  begin
@@ -1625,6 +1649,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1625
1649
  end
1626
1650
 
1627
1651
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1652
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1653
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1628
1654
  # Deserialize Response
1629
1655
  if status_code == 200
1630
1656
  begin
@@ -1713,6 +1739,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1713
1739
  end
1714
1740
 
1715
1741
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1742
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1743
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1716
1744
  # Deserialize Response
1717
1745
  if status_code == 200
1718
1746
  begin
@@ -1801,6 +1829,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1801
1829
  end
1802
1830
 
1803
1831
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1832
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1833
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1804
1834
  # Deserialize Response
1805
1835
  if status_code == 200
1806
1836
  begin