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
@@ -72,14 +72,38 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
72
72
  attr_accessor :additional_locations
73
73
 
74
74
  # @return [Hash{String => String}] Custom properties of the API
75
- # Management service. Setting
75
+ # Management service.</br>Setting
76
76
  # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168`
77
77
  # will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0,
78
- # 1.1 and 1.2). Setting
78
+ # 1.1 and 1.2).</br>Setting
79
79
  # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11`
80
- # can be used to disable just TLS 1.1 and setting
80
+ # can be used to disable just TLS 1.1.</br>Setting
81
81
  # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10`
82
- # can be used to disable TLS 1.0 on an API Management service.
82
+ # can be used to disable TLS 1.0 on an API Management
83
+ # service.</br>Setting
84
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11`
85
+ # can be used to disable just TLS 1.1 for communications with
86
+ # backends.</br>Setting
87
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10`
88
+ # can be used to disable TLS 1.0 for communications with
89
+ # backends.</br>Setting
90
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2`
91
+ # can be used to enable HTTP2 protocol on an API Management
92
+ # service.</br>Not specifying any of these properties on PATCH operation
93
+ # will reset omitted properties' values to their defaults. For all the
94
+ # settings except Http2 the default value is `True` if the service was
95
+ # created on or before April 1st 2018 and `False` otherwise. Http2
96
+ # setting's default value is `False`.</br></br>You can disable any of
97
+ # next ciphers by using settings
98
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`:
99
+ # TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
100
+ # TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
101
+ # TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
102
+ # TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256,
103
+ # TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA,
104
+ # TLS_RSA_WITH_AES_128_CBC_SHA. For example,
105
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`.
106
+ # The default value is `true` for them.
83
107
  attr_accessor :custom_properties
84
108
 
85
109
  # @return [Array<CertificateConfiguration>] List of Certificates that
@@ -72,14 +72,38 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
72
72
  attr_accessor :additional_locations
73
73
 
74
74
  # @return [Hash{String => String}] Custom properties of the API
75
- # Management service. Setting
75
+ # Management service.</br>Setting
76
76
  # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168`
77
77
  # will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0,
78
- # 1.1 and 1.2). Setting
78
+ # 1.1 and 1.2).</br>Setting
79
79
  # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11`
80
- # can be used to disable just TLS 1.1 and setting
80
+ # can be used to disable just TLS 1.1.</br>Setting
81
81
  # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10`
82
- # can be used to disable TLS 1.0 on an API Management service.
82
+ # can be used to disable TLS 1.0 on an API Management
83
+ # service.</br>Setting
84
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11`
85
+ # can be used to disable just TLS 1.1 for communications with
86
+ # backends.</br>Setting
87
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10`
88
+ # can be used to disable TLS 1.0 for communications with
89
+ # backends.</br>Setting
90
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2`
91
+ # can be used to enable HTTP2 protocol on an API Management
92
+ # service.</br>Not specifying any of these properties on PATCH operation
93
+ # will reset omitted properties' values to their defaults. For all the
94
+ # settings except Http2 the default value is `True` if the service was
95
+ # created on or before April 1st 2018 and `False` otherwise. Http2
96
+ # setting's default value is `False`.</br></br>You can disable any of
97
+ # next ciphers by using settings
98
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`:
99
+ # TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
100
+ # TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
101
+ # TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
102
+ # TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256,
103
+ # TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA,
104
+ # TLS_RSA_WITH_AES_128_CBC_SHA. For example,
105
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`.
106
+ # The default value is `true` for them.
83
107
  attr_accessor :custom_properties
84
108
 
85
109
  # @return [Array<CertificateConfiguration>] List of Certificates that
@@ -72,14 +72,38 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
72
72
  attr_accessor :additional_locations
73
73
 
74
74
  # @return [Hash{String => String}] Custom properties of the API
75
- # Management service. Setting
75
+ # Management service.</br>Setting
76
76
  # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168`
77
77
  # will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0,
78
- # 1.1 and 1.2). Setting
78
+ # 1.1 and 1.2).</br>Setting
79
79
  # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11`
80
- # can be used to disable just TLS 1.1 and setting
80
+ # can be used to disable just TLS 1.1.</br>Setting
81
81
  # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10`
82
- # can be used to disable TLS 1.0 on an API Management service.
82
+ # can be used to disable TLS 1.0 on an API Management
83
+ # service.</br>Setting
84
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11`
85
+ # can be used to disable just TLS 1.1 for communications with
86
+ # backends.</br>Setting
87
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10`
88
+ # can be used to disable TLS 1.0 for communications with
89
+ # backends.</br>Setting
90
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2`
91
+ # can be used to enable HTTP2 protocol on an API Management
92
+ # service.</br>Not specifying any of these properties on PATCH operation
93
+ # will reset omitted properties' values to their defaults. For all the
94
+ # settings except Http2 the default value is `True` if the service was
95
+ # created on or before April 1st 2018 and `False` otherwise. Http2
96
+ # setting's default value is `False`.</br></br>You can disable any of
97
+ # next ciphers by using settings
98
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`:
99
+ # TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
100
+ # TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
101
+ # TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
102
+ # TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256,
103
+ # TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA,
104
+ # TLS_RSA_WITH_AES_128_CBC_SHA. For example,
105
+ # `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`.
106
+ # The default value is `true` for them.
83
107
  attr_accessor :custom_properties
84
108
 
85
109
  # @return [Array<CertificateConfiguration>] List of Certificates that
@@ -105,6 +105,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
105
105
  end
106
106
 
107
107
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
108
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
109
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
108
110
  # Deserialize Response
109
111
  if status_code == 200
110
112
  begin
@@ -233,6 +235,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
233
235
  end
234
236
 
235
237
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
238
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
239
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
236
240
  # Deserialize Response
237
241
  if status_code == 200
238
242
  begin
@@ -107,6 +107,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
107
107
  end
108
108
 
109
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?
110
112
  # Deserialize Response
111
113
  if status_code == 200
112
114
  begin
@@ -218,6 +220,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
218
220
  end
219
221
 
220
222
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
223
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
224
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
221
225
  # Deserialize Response
222
226
  if status_code == 200
223
227
  begin
@@ -336,6 +340,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
336
340
  end
337
341
 
338
342
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
343
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
344
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
339
345
  # Deserialize Response
340
346
  if status_code == 200
341
347
  begin
@@ -424,6 +430,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
424
430
  end
425
431
 
426
432
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
433
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
434
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
427
435
  # Deserialize Response
428
436
  if status_code == 200
429
437
  begin
@@ -118,6 +118,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
118
118
  end
119
119
 
120
120
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
121
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
122
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
121
123
  # Deserialize Response
122
124
  if status_code == 200
123
125
  begin
@@ -234,6 +236,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
234
236
 
235
237
  result.body = (status_code == 204)
236
238
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
239
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
240
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
237
241
 
238
242
  result
239
243
  end
@@ -339,6 +343,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
339
343
  end
340
344
 
341
345
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
346
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
347
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
342
348
  # Deserialize Response
343
349
  if status_code == 201
344
350
  begin
@@ -463,6 +469,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
463
469
  end
464
470
 
465
471
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
472
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
473
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
466
474
 
467
475
  result
468
476
  end
@@ -118,6 +118,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
118
118
  end
119
119
 
120
120
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
121
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
122
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
121
123
  # Deserialize Response
122
124
  if status_code == 200
123
125
  begin
@@ -208,7 +210,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
208
210
  fail ArgumentError, 'user_id is nil' if user_id.nil?
209
211
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
210
212
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
211
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
212
213
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
213
214
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
214
215
 
@@ -243,6 +244,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
243
244
 
244
245
  result.body = (status_code == 204)
245
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?
246
249
 
247
250
  result
248
251
  end
@@ -320,7 +323,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
320
323
  fail ArgumentError, 'user_id is nil' if user_id.nil?
321
324
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
322
325
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
323
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
324
326
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
325
327
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
326
328
 
@@ -354,6 +356,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
354
356
  end
355
357
 
356
358
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
359
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
360
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
357
361
  # Deserialize Response
358
362
  if status_code == 201
359
363
  begin
@@ -450,7 +454,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
450
454
  fail ArgumentError, 'user_id is nil' if user_id.nil?
451
455
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
452
456
  fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
453
- fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
454
457
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
455
458
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
456
459
 
@@ -484,6 +487,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
484
487
  end
485
488
 
486
489
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
490
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
491
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
487
492
 
488
493
  result
489
494
  end
@@ -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
@@ -674,6 +684,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
674
684
  end
675
685
 
676
686
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
687
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
688
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
677
689
 
678
690
  result
679
691
  end
@@ -752,6 +764,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
752
764
  end
753
765
 
754
766
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
767
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
768
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
755
769
  # Deserialize Response
756
770
  if status_code == 200
757
771
  begin
@@ -156,6 +156,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
156
156
  end
157
157
 
158
158
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
159
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
160
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
159
161
  # Deserialize Response
160
162
  if status_code == 200
161
163
  begin
@@ -244,6 +246,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
244
246
  end
245
247
 
246
248
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
249
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
250
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
247
251
  # Deserialize Response
248
252
  if status_code == 200
249
253
  begin
@@ -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
@@ -197,6 +199,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
197
199
  end
198
200
 
199
201
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
202
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
203
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
200
204
 
201
205
  result
202
206
  end
@@ -289,6 +293,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
289
293
  end
290
294
 
291
295
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
296
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
297
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
292
298
  # Deserialize Response
293
299
  if status_code == 200
294
300
  begin
@@ -406,6 +412,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
406
412
  end
407
413
 
408
414
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
415
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
416
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
409
417
  # Deserialize Response
410
418
  if status_code == 201
411
419
  begin
@@ -522,6 +530,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
522
530
  end
523
531
 
524
532
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
533
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
534
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
525
535
 
526
536
  result
527
537
  end
@@ -105,6 +105,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
105
105
  end
106
106
 
107
107
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
108
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
109
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
108
110
  # Deserialize Response
109
111
  if status_code == 200
110
112
  begin
@@ -146,6 +146,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
146
146
  end
147
147
 
148
148
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
149
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
150
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
149
151
  # Deserialize Response
150
152
  if status_code == 200
151
153
  begin
@@ -219,7 +221,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
219
221
  fail ArgumentError, 'product_id is nil' if product_id.nil?
220
222
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
221
223
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
222
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
223
224
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
224
225
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
225
226
 
@@ -253,6 +254,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
253
254
  end
254
255
 
255
256
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
257
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
258
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
256
259
 
257
260
  result
258
261
  end
@@ -314,7 +317,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
314
317
  fail ArgumentError, 'product_id is nil' if product_id.nil?
315
318
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
316
319
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
317
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
318
320
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
319
321
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
320
322
 
@@ -348,6 +350,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
348
350
  end
349
351
 
350
352
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
353
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
354
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
351
355
  # Deserialize Response
352
356
  if status_code == 200
353
357
  begin
@@ -428,7 +432,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
428
432
  fail ArgumentError, 'product_id is nil' if product_id.nil?
429
433
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
430
434
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
431
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
432
435
  fail ArgumentError, 'parameters is nil' if parameters.nil?
433
436
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
434
437
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -471,6 +474,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
471
474
  end
472
475
 
473
476
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
477
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
478
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
474
479
  # Deserialize Response
475
480
  if status_code == 201
476
481
  begin
@@ -563,7 +568,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
563
568
  fail ArgumentError, 'product_id is nil' if product_id.nil?
564
569
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
565
570
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
566
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
567
571
  fail ArgumentError, 'parameters is nil' if parameters.nil?
568
572
  fail ArgumentError, 'if_match is nil' if if_match.nil?
569
573
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -607,6 +611,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
607
611
  end
608
612
 
609
613
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
614
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
615
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
610
616
 
611
617
  result
612
618
  end
@@ -682,7 +688,6 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
682
688
  fail ArgumentError, 'product_id is nil' if product_id.nil?
683
689
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
684
690
  fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
685
- fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_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
@@ -844,6 +851,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
844
851
  end
845
852
 
846
853
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
854
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
855
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
847
856
  # Deserialize Response
848
857
  if status_code == 200
849
858
  begin
@@ -932,6 +941,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
932
941
  end
933
942
 
934
943
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
944
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
945
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
935
946
  # Deserialize Response
936
947
  if status_code == 200
937
948
  begin
@@ -1020,6 +1031,8 @@ module Azure::ApiManagement::Mgmt::V2019_01_01
1020
1031
  end
1021
1032
 
1022
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?
1023
1036
  # Deserialize Response
1024
1037
  if status_code == 200
1025
1038
  begin