azure_mgmt_event_hub 0.15.1 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/consumer_groups.rb +30 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -3
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb +68 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb +2 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/consumer_group_create_or_update_parameters.rb +8 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/consumer_group_resource.rb +9 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_create_or_update_parameters.rb +11 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_resource.rb +12 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_create_or_update_parameters.rb +12 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_list_result.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_resource.rb +15 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_update_parameter.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/operation.rb +3 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/operation_display.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/regenerate_keys_parameters.rb +2 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/resource.rb +5 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/resource_list_keys.rb +6 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_create_or_update_parameters.rb +5 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_resource.rb +7 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/sku.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb +7 -0
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/namespaces.rb +52 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/consumer_groups.rb +26 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/disaster_recovery_configs.rb +34 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -3
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hubs.rb +54 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/access_keys.rb +8 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery.rb +7 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/arm_disaster_recovery_list_result.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/authorization_rule.rb +6 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/authorization_rule_list_result.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/capture_description.rb +6 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb +2 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group.rb +7 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/destination.rb +5 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb +15 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb +3 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/eventhub.rb +12 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation.rb +3 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation_display.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb +3 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku.rb +4 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb +7 -0
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/namespaces.rb +47 -0
- data/lib/profiles/latest/eventhub_latest_profile_client.rb +1 -3
- data/lib/version.rb +1 -1
- metadata +10 -9
- data/lib/2015-08-01/generated/azure_mgmt_event_hub/version.rb +0 -8
- data/lib/2017-04-01/generated/azure_mgmt_event_hub/version.rb +0 -8
- data/lib/profiles/common/configurable.rb +0 -86
- data/lib/profiles/common/default.rb +0 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aefac1eddc8d8233aa079c01f5cdee8cd508042
|
4
|
+
data.tar.gz: 0d3af2df9831fb1c95d95ff3daafad1b108d2b94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90e031596568dd8a6968bd54497ff5001db08a83160230ab751bfb15b4fc177571f0599e647653f70be0483be185c4c823bfc2c4a1b458bcfa9ce5c0a89842c4
|
7
|
+
data.tar.gz: 41fa02798d109cca336d2534bbee2328cc30a448e513cc407f4777025d436f0647f4dcf92529b615de94a9f7fe502747628cddb0897a44623e1e38fbf1504c3f
|
@@ -80,9 +80,17 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
80
80
|
#
|
81
81
|
def create_or_update_async(resource_group_name, namespace_name, event_hub_name, consumer_group_name, parameters, custom_headers = nil)
|
82
82
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
83
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
84
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
83
85
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
86
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
87
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
84
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
|
90
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
85
91
|
fail ArgumentError, 'consumer_group_name is nil' if consumer_group_name.nil?
|
92
|
+
fail ArgumentError, "'consumer_group_name' should satisfy the constraint - 'MaxLength': '50'" if !consumer_group_name.nil? && consumer_group_name.length > 50
|
93
|
+
fail ArgumentError, "'consumer_group_name' should satisfy the constraint - 'MinLength': '1'" if !consumer_group_name.nil? && consumer_group_name.length < 1
|
86
94
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
87
95
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
88
96
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -191,9 +199,17 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
191
199
|
#
|
192
200
|
def delete_async(resource_group_name, namespace_name, event_hub_name, consumer_group_name, custom_headers = nil)
|
193
201
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
202
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
203
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
194
204
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
205
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
206
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
195
207
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
208
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
209
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
196
210
|
fail ArgumentError, 'consumer_group_name is nil' if consumer_group_name.nil?
|
211
|
+
fail ArgumentError, "'consumer_group_name' should satisfy the constraint - 'MaxLength': '50'" if !consumer_group_name.nil? && consumer_group_name.length > 50
|
212
|
+
fail ArgumentError, "'consumer_group_name' should satisfy the constraint - 'MinLength': '1'" if !consumer_group_name.nil? && consumer_group_name.length < 1
|
197
213
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
198
214
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
199
215
|
|
@@ -283,9 +299,17 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
283
299
|
#
|
284
300
|
def get_async(resource_group_name, namespace_name, event_hub_name, consumer_group_name, custom_headers = nil)
|
285
301
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
302
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
303
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
286
304
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
305
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
306
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
287
307
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
308
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
309
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
288
310
|
fail ArgumentError, 'consumer_group_name is nil' if consumer_group_name.nil?
|
311
|
+
fail ArgumentError, "'consumer_group_name' should satisfy the constraint - 'MaxLength': '50'" if !consumer_group_name.nil? && consumer_group_name.length > 50
|
312
|
+
fail ArgumentError, "'consumer_group_name' should satisfy the constraint - 'MinLength': '1'" if !consumer_group_name.nil? && consumer_group_name.length < 1
|
289
313
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
290
314
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
291
315
|
|
@@ -385,8 +409,14 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
385
409
|
#
|
386
410
|
def list_all_async(resource_group_name, namespace_name, event_hub_name, custom_headers = nil)
|
387
411
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
412
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
413
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
388
414
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
415
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
416
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
389
417
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
418
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
419
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
390
420
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
391
421
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
392
422
|
|
@@ -134,9 +134,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
134
134
|
#
|
135
135
|
def add_telemetry
|
136
136
|
sdk_information = 'azure_mgmt_event_hub'
|
137
|
-
|
138
|
-
sdk_information = "#{sdk_information}/#{Azure::EventHub::Mgmt::V2015_08_01::VERSION}"
|
139
|
-
end
|
137
|
+
sdk_information = "#{sdk_information}/0.15.2"
|
140
138
|
add_user_agent_information(sdk_information)
|
141
139
|
end
|
142
140
|
end
|
@@ -65,7 +65,11 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
65
65
|
#
|
66
66
|
def list_all_async(resource_group_name, namespace_name, custom_headers = nil)
|
67
67
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
68
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
69
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
68
70
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
71
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
72
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
69
73
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
70
74
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
75
|
|
@@ -168,8 +172,14 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
168
172
|
#
|
169
173
|
def create_or_update_async(resource_group_name, namespace_name, event_hub_name, parameters, custom_headers = nil)
|
170
174
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
175
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
176
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
171
177
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
178
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
179
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
172
180
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
181
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
182
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
173
183
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
174
184
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
175
185
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -275,8 +285,14 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
275
285
|
#
|
276
286
|
def delete_async(resource_group_name, namespace_name, event_hub_name, custom_headers = nil)
|
277
287
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
288
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
289
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
278
290
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
291
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
292
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
279
293
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
294
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
295
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
280
296
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
281
297
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
282
298
|
|
@@ -363,8 +379,14 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
363
379
|
#
|
364
380
|
def get_async(resource_group_name, namespace_name, event_hub_name, custom_headers = nil)
|
365
381
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
382
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
383
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
366
384
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
385
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
386
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
367
387
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
388
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
389
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
368
390
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
369
391
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
370
392
|
|
@@ -461,8 +483,14 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
461
483
|
#
|
462
484
|
def list_authorization_rules_async(resource_group_name, namespace_name, event_hub_name, custom_headers = nil)
|
463
485
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
486
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
487
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
464
488
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
489
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
490
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
465
491
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
492
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
493
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
466
494
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
467
495
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
468
496
|
|
@@ -568,9 +596,17 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
568
596
|
#
|
569
597
|
def create_or_update_authorization_rule_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, parameters, custom_headers = nil)
|
570
598
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
599
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
600
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
571
601
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
602
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
603
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
572
604
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
605
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
606
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
573
607
|
fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
|
608
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
|
609
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
|
574
610
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
575
611
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
576
612
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -680,9 +716,17 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
680
716
|
#
|
681
717
|
def get_authorization_rule_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers = nil)
|
682
718
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
719
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
720
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
683
721
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
722
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
723
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
684
724
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
725
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
726
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
685
727
|
fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
|
728
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
|
729
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
|
686
730
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
687
731
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
688
732
|
|
@@ -781,9 +825,17 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
781
825
|
#
|
782
826
|
def delete_authorization_rule_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers = nil)
|
783
827
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
828
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
829
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
784
830
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
831
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
832
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
785
833
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
834
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
835
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
786
836
|
fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
|
837
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
|
838
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
|
787
839
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
788
840
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
789
841
|
|
@@ -873,9 +925,17 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
873
925
|
#
|
874
926
|
def list_keys_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers = nil)
|
875
927
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
928
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
929
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
876
930
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
931
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
932
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
877
933
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
934
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
935
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
878
936
|
fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
|
937
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
|
938
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
|
879
939
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
880
940
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
881
941
|
|
@@ -981,9 +1041,17 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
981
1041
|
#
|
982
1042
|
def regenerate_keys_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, parameters, custom_headers = nil)
|
983
1043
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1044
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1045
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
984
1046
|
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
1047
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
|
1048
|
+
fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
|
985
1049
|
fail ArgumentError, 'event_hub_name is nil' if event_hub_name.nil?
|
1050
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MaxLength': '50'" if !event_hub_name.nil? && event_hub_name.length > 50
|
1051
|
+
fail ArgumentError, "'event_hub_name' should satisfy the constraint - 'MinLength': '1'" if !event_hub_name.nil? && event_hub_name.length < 1
|
986
1052
|
fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
|
1053
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
|
1054
|
+
fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
|
987
1055
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
988
1056
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
989
1057
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb
CHANGED
@@ -22,6 +22,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
22
22
|
#
|
23
23
|
def self.mapper()
|
24
24
|
{
|
25
|
+
client_side_validation: true,
|
25
26
|
required: false,
|
26
27
|
serialized_name: 'CheckNameAvailabilityParameter',
|
27
28
|
type: {
|
@@ -29,6 +30,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
29
30
|
class_name: 'CheckNameAvailabilityParameter',
|
30
31
|
model_properties: {
|
31
32
|
name: {
|
33
|
+
client_side_validation: true,
|
32
34
|
required: true,
|
33
35
|
serialized_name: 'name',
|
34
36
|
type: {
|
@@ -33,6 +33,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
33
33
|
#
|
34
34
|
def self.mapper()
|
35
35
|
{
|
36
|
+
client_side_validation: true,
|
36
37
|
required: false,
|
37
38
|
serialized_name: 'CheckNameAvailabilityResult',
|
38
39
|
type: {
|
@@ -40,6 +41,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
40
41
|
class_name: 'CheckNameAvailabilityResult',
|
41
42
|
model_properties: {
|
42
43
|
name_available: {
|
44
|
+
client_side_validation: true,
|
43
45
|
required: false,
|
44
46
|
serialized_name: 'nameAvailable',
|
45
47
|
type: {
|
@@ -47,6 +49,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
47
49
|
}
|
48
50
|
},
|
49
51
|
reason: {
|
52
|
+
client_side_validation: true,
|
50
53
|
required: false,
|
51
54
|
serialized_name: 'reason',
|
52
55
|
type: {
|
@@ -55,6 +58,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
55
58
|
}
|
56
59
|
},
|
57
60
|
message: {
|
61
|
+
client_side_validation: true,
|
58
62
|
required: false,
|
59
63
|
read_only: true,
|
60
64
|
serialized_name: 'message',
|
@@ -40,6 +40,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
40
40
|
#
|
41
41
|
def self.mapper()
|
42
42
|
{
|
43
|
+
client_side_validation: true,
|
43
44
|
required: false,
|
44
45
|
serialized_name: 'ConsumerGroupCreateOrUpdateParameters',
|
45
46
|
type: {
|
@@ -47,6 +48,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
47
48
|
class_name: 'ConsumerGroupCreateOrUpdateParameters',
|
48
49
|
model_properties: {
|
49
50
|
location: {
|
51
|
+
client_side_validation: true,
|
50
52
|
required: true,
|
51
53
|
serialized_name: 'location',
|
52
54
|
type: {
|
@@ -54,6 +56,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
54
56
|
}
|
55
57
|
},
|
56
58
|
type: {
|
59
|
+
client_side_validation: true,
|
57
60
|
required: false,
|
58
61
|
serialized_name: 'type',
|
59
62
|
type: {
|
@@ -61,6 +64,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
61
64
|
}
|
62
65
|
},
|
63
66
|
name: {
|
67
|
+
client_side_validation: true,
|
64
68
|
required: false,
|
65
69
|
serialized_name: 'name',
|
66
70
|
type: {
|
@@ -68,6 +72,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
68
72
|
}
|
69
73
|
},
|
70
74
|
created_at: {
|
75
|
+
client_side_validation: true,
|
71
76
|
required: false,
|
72
77
|
read_only: true,
|
73
78
|
serialized_name: 'properties.createdAt',
|
@@ -76,6 +81,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
76
81
|
}
|
77
82
|
},
|
78
83
|
event_hub_path: {
|
84
|
+
client_side_validation: true,
|
79
85
|
required: false,
|
80
86
|
read_only: true,
|
81
87
|
serialized_name: 'properties.eventHubPath',
|
@@ -84,6 +90,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
84
90
|
}
|
85
91
|
},
|
86
92
|
updated_at: {
|
93
|
+
client_side_validation: true,
|
87
94
|
required: false,
|
88
95
|
read_only: true,
|
89
96
|
serialized_name: 'properties.updatedAt',
|
@@ -92,6 +99,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
92
99
|
}
|
93
100
|
},
|
94
101
|
user_metadata: {
|
102
|
+
client_side_validation: true,
|
95
103
|
required: false,
|
96
104
|
serialized_name: 'properties.userMetadata',
|
97
105
|
type: {
|
@@ -59,6 +59,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
59
59
|
#
|
60
60
|
def self.mapper()
|
61
61
|
{
|
62
|
+
client_side_validation: true,
|
62
63
|
required: false,
|
63
64
|
serialized_name: 'ConsumerGroupListResult',
|
64
65
|
type: {
|
@@ -66,11 +67,13 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
66
67
|
class_name: 'ConsumerGroupListResult',
|
67
68
|
model_properties: {
|
68
69
|
value: {
|
70
|
+
client_side_validation: true,
|
69
71
|
required: false,
|
70
72
|
serialized_name: 'value',
|
71
73
|
type: {
|
72
74
|
name: 'Sequence',
|
73
75
|
element: {
|
76
|
+
client_side_validation: true,
|
74
77
|
required: false,
|
75
78
|
serialized_name: 'ConsumerGroupResourceElementType',
|
76
79
|
type: {
|
@@ -81,6 +84,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
81
84
|
}
|
82
85
|
},
|
83
86
|
next_link: {
|
87
|
+
client_side_validation: true,
|
84
88
|
required: false,
|
85
89
|
serialized_name: 'nextLink',
|
86
90
|
type: {
|
@@ -31,6 +31,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
31
31
|
#
|
32
32
|
def self.mapper()
|
33
33
|
{
|
34
|
+
client_side_validation: true,
|
34
35
|
required: false,
|
35
36
|
serialized_name: 'ConsumerGroupResource',
|
36
37
|
type: {
|
@@ -38,6 +39,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
38
39
|
class_name: 'ConsumerGroupResource',
|
39
40
|
model_properties: {
|
40
41
|
id: {
|
42
|
+
client_side_validation: true,
|
41
43
|
required: false,
|
42
44
|
read_only: true,
|
43
45
|
serialized_name: 'id',
|
@@ -46,6 +48,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
46
48
|
}
|
47
49
|
},
|
48
50
|
name: {
|
51
|
+
client_side_validation: true,
|
49
52
|
required: false,
|
50
53
|
read_only: true,
|
51
54
|
serialized_name: 'name',
|
@@ -54,6 +57,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
54
57
|
}
|
55
58
|
},
|
56
59
|
location: {
|
60
|
+
client_side_validation: true,
|
57
61
|
required: false,
|
58
62
|
serialized_name: 'location',
|
59
63
|
type: {
|
@@ -61,6 +65,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
61
65
|
}
|
62
66
|
},
|
63
67
|
type: {
|
68
|
+
client_side_validation: true,
|
64
69
|
required: false,
|
65
70
|
read_only: true,
|
66
71
|
serialized_name: 'type',
|
@@ -69,6 +74,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
69
74
|
}
|
70
75
|
},
|
71
76
|
created_at: {
|
77
|
+
client_side_validation: true,
|
72
78
|
required: false,
|
73
79
|
read_only: true,
|
74
80
|
serialized_name: 'properties.createdAt',
|
@@ -77,6 +83,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
77
83
|
}
|
78
84
|
},
|
79
85
|
event_hub_path: {
|
86
|
+
client_side_validation: true,
|
80
87
|
required: false,
|
81
88
|
read_only: true,
|
82
89
|
serialized_name: 'properties.eventHubPath',
|
@@ -85,6 +92,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
85
92
|
}
|
86
93
|
},
|
87
94
|
updated_at: {
|
95
|
+
client_side_validation: true,
|
88
96
|
required: false,
|
89
97
|
read_only: true,
|
90
98
|
serialized_name: 'properties.updatedAt',
|
@@ -93,6 +101,7 @@ module Azure::EventHub::Mgmt::V2015_08_01
|
|
93
101
|
}
|
94
102
|
},
|
95
103
|
user_metadata: {
|
104
|
+
client_side_validation: true,
|
96
105
|
required: false,
|
97
106
|
serialized_name: 'properties.userMetadata',
|
98
107
|
type: {
|