azure_mgmt_event_hub 0.17.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2014-09-01/generated/azure_mgmt_event_hub.rb +59 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/consumer_groups.rb +598 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +145 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/event_hubs.rb +1239 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/access_rights.rb +17 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb +46 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb +75 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_create_or_update_parameters.rb +115 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +100 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/consumer_group_resource.rb +117 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/entity_status.rb +23 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/event_hub_create_or_update_parameters.rb +150 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +100 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/event_hub_resource.rb +152 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_create_or_update_parameters.rb +160 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_list_result.rb +100 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_resource.rb +181 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_state.rb +27 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/namespace_update_parameter.rb +66 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/operation.rb +59 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/operation_display.rb +72 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +103 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/resource.rb +91 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_create_or_update_parameters.rb +79 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb +102 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_post_resource.rb +175 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_resource.rb +90 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/sku.rb +70 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/sku_name.rb +16 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/sku_tier.rb +17 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb +89 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/models/unavailable_reason.rb +20 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/module_definition.rb +9 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/namespaces.rb +2044 -0
- data/lib/2014-09-01/generated/azure_mgmt_event_hub/operations.rb +219 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/consumer_groups.rb +10 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb +31 -5
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/resource.rb +9 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/namespaces.rb +32 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/operations.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub.rb +20 -13
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/consumer_groups.rb +14 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/disaster_recovery_configs.rb +27 -3
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hubs.rb +33 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/authorization_rule_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb +11 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/default_action.rb +16 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb +13 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb +15 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set.rb +114 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set_list_result.rb +100 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb +59 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb +59 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb +9 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku.rb +1 -1
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb +46 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/namespaces.rb +461 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/operations.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/regions.rb +4 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub.rb +22 -7
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb +483 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/configuration.rb +4 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/event_hub2018preview_management_client.rb +1 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/available_cluster.rb +47 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/available_clusters_list.rb +56 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster.rb +12 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster_list_result.rb +1 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/default_action.rb +16 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace.rb +36 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_container.rb +46 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_list_result.rb +56 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb +1 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/encryption.rb +62 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/identity.rb +72 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/identity_type.rb +15 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ip_filter_rule_list_result.rb +1 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/key_source.rb +15 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/key_vault_properties.rb +57 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb +15 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_set.rb +114 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb +58 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb +59 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/operation_list_result.rb +1 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/resource.rb +9 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/sku.rb +1 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/subnet.rb +46 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/virtual_network_rule_list_result.rb +6 -6
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb +260 -11
- data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/operations.rb +4 -0
- data/lib/azure_mgmt_event_hub.rb +2 -1
- data/lib/profiles/latest/modules/eventhub_profile_module.rb +82 -22
- data/lib/version.rb +1 -1
- metadata +62 -5
@@ -25,6 +25,15 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
25
25
|
attr_accessor :type
|
26
26
|
|
27
27
|
|
28
|
+
# @return [String] the name of the resource group of the resource.
|
29
|
+
def resource_group
|
30
|
+
unless self.id.nil?
|
31
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
32
|
+
groups.captures[0].strip if groups
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
|
28
37
|
#
|
29
38
|
# Mapper for Resource class as Ruby Hash.
|
30
39
|
# This will be used for serialization/deserialization.
|
@@ -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
|
@@ -29,25 +29,29 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
29
29
|
autoload :EventHubManagementClient, '2017-04-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb'
|
30
30
|
|
31
31
|
module Models
|
32
|
-
autoload :
|
33
|
-
autoload :CaptureDescription, '2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb'
|
34
|
-
autoload :Resource, '2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb'
|
35
|
-
autoload :ErrorResponse, '2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb'
|
36
|
-
autoload :ArmDisasterRecoveryListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery_list_result.rb'
|
32
|
+
autoload :CheckNameAvailabilityResult, '2017-04-01/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb'
|
37
33
|
autoload :EventHubListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb'
|
38
|
-
autoload :
|
39
|
-
autoload :
|
34
|
+
autoload :Resource, '2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb'
|
35
|
+
autoload :NWRuleSetIpRules, '2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb'
|
40
36
|
autoload :ConsumerGroupListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb'
|
41
|
-
autoload :
|
37
|
+
autoload :NetworkRuleSetListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set_list_result.rb'
|
42
38
|
autoload :CheckNameAvailabilityParameter, '2017-04-01/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb'
|
43
|
-
autoload :
|
44
|
-
autoload :
|
45
|
-
autoload :
|
39
|
+
autoload :AccessKeys, '2017-04-01/generated/azure_mgmt_event_hub/models/access_keys.rb'
|
40
|
+
autoload :Subnet, '2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb'
|
41
|
+
autoload :Destination, '2017-04-01/generated/azure_mgmt_event_hub/models/destination.rb'
|
46
42
|
autoload :OperationDisplay, '2017-04-01/generated/azure_mgmt_event_hub/models/operation_display.rb'
|
47
|
-
autoload :
|
43
|
+
autoload :NWRuleSetVirtualNetworkRules, '2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb'
|
48
44
|
autoload :Operation, '2017-04-01/generated/azure_mgmt_event_hub/models/operation.rb'
|
49
|
-
autoload :
|
45
|
+
autoload :EHNamespaceListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb'
|
50
46
|
autoload :OperationListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb'
|
47
|
+
autoload :RegenerateAccessKeyParameters, '2017-04-01/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb'
|
48
|
+
autoload :ErrorResponse, '2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb'
|
49
|
+
autoload :Sku, '2017-04-01/generated/azure_mgmt_event_hub/models/sku.rb'
|
50
|
+
autoload :MessagingRegionsListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_list_result.rb'
|
51
|
+
autoload :CaptureDescription, '2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb'
|
52
|
+
autoload :ArmDisasterRecoveryListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery_list_result.rb'
|
53
|
+
autoload :AuthorizationRuleListResult, '2017-04-01/generated/azure_mgmt_event_hub/models/authorization_rule_list_result.rb'
|
54
|
+
autoload :MessagingRegionsProperties, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_properties.rb'
|
51
55
|
autoload :TrackedResource, '2017-04-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb'
|
52
56
|
autoload :EHNamespace, '2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb'
|
53
57
|
autoload :AuthorizationRule, '2017-04-01/generated/azure_mgmt_event_hub/models/authorization_rule.rb'
|
@@ -56,6 +60,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
56
60
|
autoload :ArmDisasterRecovery, '2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery.rb'
|
57
61
|
autoload :MessagingRegions, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions.rb'
|
58
62
|
autoload :MessagingPlan, '2017-04-01/generated/azure_mgmt_event_hub/models/messaging_plan.rb'
|
63
|
+
autoload :NetworkRuleSet, '2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set.rb'
|
59
64
|
autoload :SkuName, '2017-04-01/generated/azure_mgmt_event_hub/models/sku_name.rb'
|
60
65
|
autoload :SkuTier, '2017-04-01/generated/azure_mgmt_event_hub/models/sku_tier.rb'
|
61
66
|
autoload :AccessRights, '2017-04-01/generated/azure_mgmt_event_hub/models/access_rights.rb'
|
@@ -65,5 +70,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
65
70
|
autoload :UnavailableReason, '2017-04-01/generated/azure_mgmt_event_hub/models/unavailable_reason.rb'
|
66
71
|
autoload :ProvisioningStateDR, '2017-04-01/generated/azure_mgmt_event_hub/models/provisioning_state_dr.rb'
|
67
72
|
autoload :RoleDisasterRecovery, '2017-04-01/generated/azure_mgmt_event_hub/models/role_disaster_recovery.rb'
|
73
|
+
autoload :NetworkRuleIPAction, '2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb'
|
74
|
+
autoload :DefaultAction, '2017-04-01/generated/azure_mgmt_event_hub/models/default_action.rb'
|
68
75
|
end
|
69
76
|
end
|
@@ -86,6 +86,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
86
86
|
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
87
87
|
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
88
88
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
89
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
89
90
|
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
90
91
|
fail ArgumentError, 'consumer_group_name is nil' if consumer_group_name.nil?
|
91
92
|
fail ArgumentError, "'consumer_group_name' should satisfy the constraint - 'MaxLength': '50'" if !consumer_group_name.nil? && consumer_group_name.length > 50
|
@@ -131,6 +132,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
131
132
|
end
|
132
133
|
|
133
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?
|
134
137
|
# Deserialize Response
|
135
138
|
if status_code == 200
|
136
139
|
begin
|
@@ -203,6 +206,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
203
206
|
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
204
207
|
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
205
208
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
209
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
206
210
|
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
207
211
|
fail ArgumentError, 'consumer_group_name is nil' if consumer_group_name.nil?
|
208
212
|
fail ArgumentError, "'consumer_group_name' should satisfy the constraint - 'MaxLength': '50'" if !consumer_group_name.nil? && consumer_group_name.length > 50
|
@@ -240,6 +244,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
240
244
|
end
|
241
245
|
|
242
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?
|
243
249
|
|
244
250
|
result
|
245
251
|
end
|
@@ -303,6 +309,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
303
309
|
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
304
310
|
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
305
311
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
312
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
306
313
|
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
307
314
|
fail ArgumentError, 'consumer_group_name is nil' if consumer_group_name.nil?
|
308
315
|
fail ArgumentError, "'consumer_group_name' should satisfy the constraint - 'MaxLength': '50'" if !consumer_group_name.nil? && consumer_group_name.length > 50
|
@@ -340,6 +347,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
340
347
|
end
|
341
348
|
|
342
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?
|
343
352
|
# Deserialize Response
|
344
353
|
if status_code == 200
|
345
354
|
begin
|
@@ -431,6 +440,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
431
440
|
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
432
441
|
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
433
442
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
443
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
434
444
|
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
435
445
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
436
446
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -469,6 +479,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
469
479
|
end
|
470
480
|
|
471
481
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
482
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
483
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
472
484
|
# Deserialize Response
|
473
485
|
if status_code == 200
|
474
486
|
begin
|
@@ -560,6 +572,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
560
572
|
end
|
561
573
|
|
562
574
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
575
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
576
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
563
577
|
# Deserialize Response
|
564
578
|
if status_code == 200
|
565
579
|
begin
|
@@ -117,6 +117,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
117
117
|
end
|
118
118
|
|
119
119
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
120
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
121
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
120
122
|
# Deserialize Response
|
121
123
|
if status_code == 200
|
122
124
|
begin
|
@@ -216,6 +218,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
216
218
|
end
|
217
219
|
|
218
220
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
221
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
222
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
219
223
|
# Deserialize Response
|
220
224
|
if status_code == 200
|
221
225
|
begin
|
@@ -335,6 +339,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
335
339
|
end
|
336
340
|
|
337
341
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
342
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
343
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
338
344
|
# Deserialize Response
|
339
345
|
if status_code == 200
|
340
346
|
begin
|
@@ -439,6 +445,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
439
445
|
end
|
440
446
|
|
441
447
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
448
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
449
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
442
450
|
|
443
451
|
result
|
444
452
|
end
|
@@ -537,6 +545,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
537
545
|
end
|
538
546
|
|
539
547
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
548
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
549
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
540
550
|
# Deserialize Response
|
541
551
|
if status_code == 200
|
542
552
|
begin
|
@@ -644,6 +654,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
644
654
|
end
|
645
655
|
|
646
656
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
657
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
658
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
647
659
|
|
648
660
|
result
|
649
661
|
end
|
@@ -652,7 +664,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
652
664
|
end
|
653
665
|
|
654
666
|
#
|
655
|
-
#
|
667
|
+
# Invokes GEO DR failover and reconfigure the alias to point to the secondary
|
656
668
|
# namespace
|
657
669
|
#
|
658
670
|
# @param resource_group_name [String] Name of the resource group within the
|
@@ -669,7 +681,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
669
681
|
end
|
670
682
|
|
671
683
|
#
|
672
|
-
#
|
684
|
+
# Invokes GEO DR failover and reconfigure the alias to point to the secondary
|
673
685
|
# namespace
|
674
686
|
#
|
675
687
|
# @param resource_group_name [String] Name of the resource group within the
|
@@ -686,7 +698,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
686
698
|
end
|
687
699
|
|
688
700
|
#
|
689
|
-
#
|
701
|
+
# Invokes GEO DR failover and reconfigure the alias to point to the secondary
|
690
702
|
# namespace
|
691
703
|
#
|
692
704
|
# @param resource_group_name [String] Name of the resource group within the
|
@@ -741,6 +753,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
741
753
|
end
|
742
754
|
|
743
755
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
756
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
757
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
744
758
|
|
745
759
|
result
|
746
760
|
end
|
@@ -836,6 +850,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
836
850
|
end
|
837
851
|
|
838
852
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
853
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
854
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
839
855
|
# Deserialize Response
|
840
856
|
if status_code == 200
|
841
857
|
begin
|
@@ -946,6 +962,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
946
962
|
end
|
947
963
|
|
948
964
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
965
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
966
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
949
967
|
# Deserialize Response
|
950
968
|
if status_code == 200
|
951
969
|
begin
|
@@ -1056,6 +1074,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
1056
1074
|
end
|
1057
1075
|
|
1058
1076
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1077
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1078
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1059
1079
|
# Deserialize Response
|
1060
1080
|
if status_code == 200
|
1061
1081
|
begin
|
@@ -1144,6 +1164,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
1144
1164
|
end
|
1145
1165
|
|
1146
1166
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1167
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1168
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1147
1169
|
# Deserialize Response
|
1148
1170
|
if status_code == 200
|
1149
1171
|
begin
|
@@ -1232,6 +1254,8 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
1232
1254
|
end
|
1233
1255
|
|
1234
1256
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1257
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1258
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1235
1259
|
# Deserialize Response
|
1236
1260
|
if status_code == 200
|
1237
1261
|
begin
|
@@ -146,7 +146,7 @@ module Azure::EventHub::Mgmt::V2017_04_01
|
|
146
146
|
#
|
147
147
|
def add_telemetry
|
148
148
|
sdk_information = 'azure_mgmt_event_hub'
|
149
|
-
sdk_information = "#{sdk_information}/0.
|
149
|
+
sdk_information = "#{sdk_information}/0.18.1"
|
150
150
|
add_user_agent_information(sdk_information)
|
151
151
|
end
|
152
152
|
end
|