azure_mgmt_event_hub 0.17.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2014-09-01/generated/azure_mgmt_event_hub.rb +59 -0
  3. data/lib/2014-09-01/generated/azure_mgmt_event_hub/consumer_groups.rb +598 -0
  4. data/lib/{2018-01-01-preview/generated/azure_mgmt_event_hub/event_hub2018preview_management_client.rb → 2014-09-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb} +14 -14
  5. data/lib/2014-09-01/generated/azure_mgmt_event_hub/event_hubs.rb +1239 -0
  6. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/access_rights.rb +17 -0
  7. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb +46 -0
  8. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb +75 -0
  9. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_create_or_update_parameters.rb +115 -0
  10. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +100 -0
  11. data/lib/{2017-04-01/generated/azure_mgmt_event_hub/models/messaging_plan.rb → 2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_resource.rb} +26 -43
  12. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/entity_status.rb +23 -0
  13. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/event_hub_create_or_update_parameters.rb +150 -0
  14. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +100 -0
  15. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/event_hub_resource.rb +152 -0
  16. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_create_or_update_parameters.rb +160 -0
  17. data/lib/{2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb → 2014-09-01/generated/azure_mgmt_event_hub/models/namespace_list_result.rb} +13 -12
  18. data/lib/{2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb → 2014-09-01/generated/azure_mgmt_event_hub/models/namespace_resource.rb} +31 -38
  19. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_state.rb +27 -0
  20. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_update_parameter.rb +66 -0
  21. data/lib/{2018-01-01-preview → 2014-09-01}/generated/azure_mgmt_event_hub/models/operation.rb +1 -1
  22. data/lib/{2018-01-01-preview → 2014-09-01}/generated/azure_mgmt_event_hub/models/operation_display.rb +1 -1
  23. data/lib/{2018-01-01-preview → 2014-09-01}/generated/azure_mgmt_event_hub/models/operation_list_result.rb +2 -2
  24. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/resource.rb +91 -0
  25. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_create_or_update_parameters.rb +79 -0
  26. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb +102 -0
  27. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_post_resource.rb +175 -0
  28. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_resource.rb +90 -0
  29. data/lib/{2017-04-01 → 2014-09-01}/generated/azure_mgmt_event_hub/models/sku.rb +6 -11
  30. data/lib/{2017-04-01 → 2014-09-01}/generated/azure_mgmt_event_hub/models/sku_name.rb +1 -1
  31. data/lib/{2017-04-01 → 2014-09-01}/generated/azure_mgmt_event_hub/models/sku_tier.rb +2 -1
  32. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb +89 -0
  33. data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/unavailable_reason.rb +20 -0
  34. data/lib/2014-09-01/generated/azure_mgmt_event_hub/module_definition.rb +9 -0
  35. data/lib/2014-09-01/generated/azure_mgmt_event_hub/namespaces.rb +2044 -0
  36. data/lib/{2018-01-01-preview → 2014-09-01}/generated/azure_mgmt_event_hub/operations.rb +11 -8
  37. data/lib/2015-08-01/generated/azure_mgmt_event_hub/consumer_groups.rb +10 -0
  38. data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
  39. data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb +31 -5
  40. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +1 -1
  41. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +1 -1
  42. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_list_result.rb +1 -1
  43. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +1 -1
  44. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb +1 -1
  45. data/lib/2015-08-01/generated/azure_mgmt_event_hub/namespaces.rb +32 -0
  46. data/lib/2015-08-01/generated/azure_mgmt_event_hub/operations.rb +4 -0
  47. data/lib/2017-04-01/generated/azure_mgmt_event_hub.rb +16 -22
  48. data/lib/2017-04-01/generated/azure_mgmt_event_hub/consumer_groups.rb +15 -1
  49. data/lib/2017-04-01/generated/azure_mgmt_event_hub/disaster_recovery_configs.rb +263 -239
  50. data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +5 -5
  51. data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hubs.rb +302 -263
  52. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery.rb +1 -1
  53. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery_list_result.rb +1 -1
  54. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/authorization_rule_list_result.rb +1 -1
  55. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb +11 -0
  56. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group.rb +1 -1
  57. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +1 -1
  58. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb +1 -1
  59. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +1 -1
  60. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions.rb +1 -1
  61. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_list_result.rb +1 -1
  62. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_properties.rb +1 -2
  63. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +1 -1
  64. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb +1 -1
  65. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb +4 -4
  66. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb +3 -3
  67. data/lib/2017-04-01/generated/azure_mgmt_event_hub/namespaces.rb +193 -1212
  68. data/lib/2017-04-01/generated/azure_mgmt_event_hub/operations.rb +4 -0
  69. data/lib/2017-04-01/generated/azure_mgmt_event_hub/regions.rb +4 -0
  70. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub.rb +35 -14
  71. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb +530 -29
  72. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/configuration.rb +11 -7
  73. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/event_hub_management_client.rb +149 -0
  74. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/available_cluster.rb +47 -0
  75. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/available_clusters_list.rb +56 -0
  76. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster.rb +18 -6
  77. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster_list_result.rb +1 -1
  78. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/connection_state.rb +59 -0
  79. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/default_action.rb +16 -0
  80. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace.rb +36 -1
  81. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_container.rb +46 -0
  82. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_list_result.rb +56 -0
  83. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb +1 -1
  84. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/encryption.rb +70 -0
  85. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/end_point_provisioning_state.rb +20 -0
  86. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/error_response.rb +1 -1
  87. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/identity.rb +72 -0
  88. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/identity_type.rb +15 -0
  89. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ip_filter_rule_list_result.rb +1 -1
  90. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/key_source.rb +15 -0
  91. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/key_vault_properties.rb +68 -0
  92. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb +15 -0
  93. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_set.rb +126 -0
  94. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb +58 -0
  95. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb +59 -0
  96. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint.rb +46 -0
  97. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint_connection.rb +100 -0
  98. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint_connection_list_result.rb +100 -0
  99. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_connection_status.rb +18 -0
  100. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_resource.rb +119 -0
  101. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_resources_list_result.rb +67 -0
  102. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/resource.rb +4 -4
  103. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/sku.rb +1 -1
  104. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/subnet.rb +46 -0
  105. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/tracked_resource.rb +3 -3
  106. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/virtual_network_rule_list_result.rb +6 -6
  107. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb +661 -412
  108. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/private_endpoint_connections.rb +625 -0
  109. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/private_link_resources.rb +127 -0
  110. data/lib/azure_mgmt_event_hub.rb +3 -2
  111. data/lib/profiles/latest/modules/eventhub_profile_module.rb +254 -46
  112. data/lib/version.rb +1 -1
  113. metadata +66 -16
@@ -3,10 +3,9 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::EventHub::Mgmt::V2018_01_01_preview
6
+ module Azure::EventHub::Mgmt::V2014_09_01
7
7
  #
8
- # Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and
9
- # VirtualNetworkRules resources.
8
+ # Azure Event Hubs client
10
9
  #
11
10
  class Operations
12
11
  include MsRestAzure
@@ -19,7 +18,7 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
19
18
  @client = client
20
19
  end
21
20
 
22
- # @return [EventHub2018PreviewManagementClient] reference to the EventHub2018PreviewManagementClient
21
+ # @return [EventHubManagementClient] reference to the EventHubManagementClient
23
22
  attr_reader :client
24
23
 
25
24
  #
@@ -83,15 +82,17 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
83
82
  response_content = http_response.body
84
83
  unless status_code == 200
85
84
  error_model = JSON.load(response_content)
86
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
85
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
87
86
  end
88
87
 
89
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
90
91
  # Deserialize Response
91
92
  if status_code == 200
92
93
  begin
93
94
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
94
- result_mapper = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult.mapper()
95
+ result_mapper = Azure::EventHub::Mgmt::V2014_09_01::Models::OperationListResult.mapper()
95
96
  result.body = @client.deserialize(result_mapper, parsed_response)
96
97
  rescue Exception => e
97
98
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -171,15 +172,17 @@ module Azure::EventHub::Mgmt::V2018_01_01_preview
171
172
  response_content = http_response.body
172
173
  unless status_code == 200
173
174
  error_model = JSON.load(response_content)
174
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
175
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
175
176
  end
176
177
 
177
178
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
179
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
180
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
178
181
  # Deserialize Response
179
182
  if status_code == 200
180
183
  begin
181
184
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
182
- result_mapper = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult.mapper()
185
+ result_mapper = Azure::EventHub::Mgmt::V2014_09_01::Models::OperationListResult.mapper()
183
186
  result.body = @client.deserialize(result_mapper, parsed_response)
184
187
  rescue Exception => e
185
188
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -132,6 +132,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
132
132
  end
133
133
 
134
134
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
135
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
136
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
135
137
  # Deserialize Response
136
138
  if status_code == 200
137
139
  begin
@@ -242,6 +244,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
242
244
  end
243
245
 
244
246
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
247
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
248
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
245
249
 
246
250
  result
247
251
  end
@@ -343,6 +347,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
343
347
  end
344
348
 
345
349
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
350
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
351
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
346
352
  # Deserialize Response
347
353
  if status_code == 200
348
354
  begin
@@ -451,6 +457,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
451
457
  end
452
458
 
453
459
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
460
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
461
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
454
462
  # Deserialize Response
455
463
  if status_code == 200
456
464
  begin
@@ -542,6 +550,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
542
550
  end
543
551
 
544
552
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
553
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
554
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
545
555
  # Deserialize Response
546
556
  if status_code == 200
547
557
  begin
@@ -138,7 +138,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_event_hub'
141
- sdk_information = "#{sdk_information}/0.17.1"
141
+ sdk_information = "#{sdk_information}/0.18.2"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  end
@@ -103,6 +103,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
103
103
  end
104
104
 
105
105
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
106
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
107
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
106
108
  # Deserialize Response
107
109
  if status_code == 200
108
110
  begin
@@ -222,6 +224,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
222
224
  end
223
225
 
224
226
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
227
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
228
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
225
229
  # Deserialize Response
226
230
  if status_code == 200
227
231
  begin
@@ -326,6 +330,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
326
330
  end
327
331
 
328
332
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
333
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
334
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
329
335
 
330
336
  result
331
337
  end
@@ -421,6 +427,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
421
427
  end
422
428
 
423
429
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
430
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
431
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
424
432
  # Deserialize Response
425
433
  if status_code == 200
426
434
  begin
@@ -526,6 +534,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
526
534
  end
527
535
 
528
536
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
537
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
538
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
529
539
  # Deserialize Response
530
540
  if status_code == 200
531
541
  begin
@@ -651,6 +661,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
651
661
  end
652
662
 
653
663
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
664
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
665
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
654
666
  # Deserialize Response
655
667
  if status_code == 200
656
668
  begin
@@ -762,6 +774,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
762
774
  end
763
775
 
764
776
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
777
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
778
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
765
779
  # Deserialize Response
766
780
  if status_code == 200
767
781
  begin
@@ -792,8 +806,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
792
806
  #
793
807
  # @return [SharedAccessAuthorizationRuleResource] operation results.
794
808
  #
795
- def postt_authorization_rule(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:nil)
796
- response = postt_authorization_rule_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:custom_headers).value!
809
+ def post_authorization_rule(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:nil)
810
+ response = post_authorization_rule_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:custom_headers).value!
797
811
  response.body unless response.nil?
798
812
  end
799
813
 
@@ -810,8 +824,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
810
824
  #
811
825
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
812
826
  #
813
- def postt_authorization_rule_with_http_info(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:nil)
814
- postt_authorization_rule_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:custom_headers).value!
827
+ def post_authorization_rule_with_http_info(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:nil)
828
+ post_authorization_rule_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:custom_headers).value!
815
829
  end
816
830
 
817
831
  #
@@ -827,7 +841,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
827
841
  #
828
842
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
829
843
  #
830
- def postt_authorization_rule_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:nil)
844
+ def post_authorization_rule_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:nil)
831
845
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
832
846
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
833
847
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
@@ -873,6 +887,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
873
887
  end
874
888
 
875
889
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
890
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
891
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
876
892
  # Deserialize Response
877
893
  if status_code == 200
878
894
  begin
@@ -983,6 +999,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
983
999
  end
984
1000
 
985
1001
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1002
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1003
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
986
1004
 
987
1005
  result
988
1006
  end
@@ -1084,6 +1102,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1084
1102
  end
1085
1103
 
1086
1104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1087
1107
  # Deserialize Response
1088
1108
  if status_code == 200
1089
1109
  begin
@@ -1209,6 +1229,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1209
1229
  end
1210
1230
 
1211
1231
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1232
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1233
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1212
1234
  # Deserialize Response
1213
1235
  if status_code == 200
1214
1236
  begin
@@ -1297,6 +1319,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1297
1319
  end
1298
1320
 
1299
1321
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1322
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1323
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1300
1324
  # Deserialize Response
1301
1325
  if status_code == 200
1302
1326
  begin
@@ -1385,6 +1409,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1385
1409
  end
1386
1410
 
1387
1411
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1412
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1413
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1388
1414
  # Deserialize Response
1389
1415
  if status_code == 200
1390
1416
  begin
@@ -32,7 +32,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
32
32
  def get_all_items
33
33
  items = @value
34
34
  page = self
35
- while page.next_link != nil do
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
36
  page = page.get_next_page
37
37
  items.concat(page.value)
38
38
  end
@@ -32,7 +32,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
32
32
  def get_all_items
33
33
  items = @value
34
34
  page = self
35
- while page.next_link != nil do
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
36
  page = page.get_next_page
37
37
  items.concat(page.value)
38
38
  end
@@ -32,7 +32,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
32
32
  def get_all_items
33
33
  items = @value
34
34
  page = self
35
- while page.next_link != nil do
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
36
  page = page.get_next_page
37
37
  items.concat(page.value)
38
38
  end
@@ -33,7 +33,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
33
33
  def get_all_items
34
34
  items = @value
35
35
  page = self
36
- while page.next_link != nil do
36
+ while page.next_link != nil && !page.next_link.strip.empty? do
37
37
  page = page.get_next_page
38
38
  items.concat(page.value)
39
39
  end
@@ -33,7 +33,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
33
33
  def get_all_items
34
34
  items = @value
35
35
  page = self
36
- while page.next_link != nil do
36
+ while page.next_link != nil && !page.next_link.strip.empty? do
37
37
  page = page.get_next_page
38
38
  items.concat(page.value)
39
39
  end
@@ -102,6 +102,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
105
107
  # Deserialize Response
106
108
  if status_code == 200
107
109
  begin
@@ -189,6 +191,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
189
191
  end
190
192
 
191
193
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
194
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
195
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
192
196
  # Deserialize Response
193
197
  if status_code == 200
194
198
  begin
@@ -282,6 +286,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
282
286
  end
283
287
 
284
288
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
289
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
290
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
285
291
  # Deserialize Response
286
292
  if status_code == 200
287
293
  begin
@@ -471,6 +477,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
471
477
  end
472
478
 
473
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?
474
482
  # Deserialize Response
475
483
  if status_code == 200
476
484
  begin
@@ -597,6 +605,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
597
605
  end
598
606
 
599
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?
600
610
  # Deserialize Response
601
611
  if status_code == 201
602
612
  begin
@@ -706,6 +716,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
706
716
  end
707
717
 
708
718
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
719
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
720
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
709
721
  # Deserialize Response
710
722
  if status_code == 200
711
723
  begin
@@ -825,6 +837,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
825
837
  end
826
838
 
827
839
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
840
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
841
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
828
842
  # Deserialize Response
829
843
  if status_code == 200
830
844
  begin
@@ -929,6 +943,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
929
943
  end
930
944
 
931
945
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
946
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
947
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
932
948
 
933
949
  result
934
950
  end
@@ -1024,6 +1040,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1024
1040
  end
1025
1041
 
1026
1042
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1043
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1044
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1027
1045
  # Deserialize Response
1028
1046
  if status_code == 200
1029
1047
  begin
@@ -1129,6 +1147,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1129
1147
  end
1130
1148
 
1131
1149
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1150
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1151
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1132
1152
  # Deserialize Response
1133
1153
  if status_code == 200
1134
1154
  begin
@@ -1251,6 +1271,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1251
1271
  end
1252
1272
 
1253
1273
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1274
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1275
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1254
1276
  # Deserialize Response
1255
1277
  if status_code == 200
1256
1278
  begin
@@ -1367,6 +1389,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1367
1389
  end
1368
1390
 
1369
1391
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1392
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1393
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1370
1394
  # Deserialize Response
1371
1395
  if status_code == 201
1372
1396
  begin
@@ -1478,6 +1502,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1478
1502
  end
1479
1503
 
1480
1504
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1505
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1506
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1481
1507
 
1482
1508
  result
1483
1509
  end
@@ -1559,6 +1585,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1559
1585
  end
1560
1586
 
1561
1587
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1588
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1589
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1562
1590
  # Deserialize Response
1563
1591
  if status_code == 200
1564
1592
  begin
@@ -1647,6 +1675,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1647
1675
  end
1648
1676
 
1649
1677
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1678
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1679
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1650
1680
  # Deserialize Response
1651
1681
  if status_code == 200
1652
1682
  begin
@@ -1735,6 +1765,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
1735
1765
  end
1736
1766
 
1737
1767
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1768
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1769
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1738
1770
  # Deserialize Response
1739
1771
  if status_code == 200
1740
1772
  begin
@@ -86,6 +86,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin
@@ -174,6 +176,8 @@ module Azure::EventHub::Mgmt::V2015_08_01
174
176
  end
175
177
 
176
178
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
179
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
180
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
177
181
  # Deserialize Response
178
182
  if status_code == 200
179
183
  begin