azure_mgmt_relay 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-07-01/generated/azure_mgmt_relay/hybrid_connections.rb +68 -0
  3. data/lib/2016-07-01/generated/azure_mgmt_relay/models/authorization_rule.rb +6 -0
  4. data/lib/2016-07-01/generated/azure_mgmt_relay/models/authorization_rule_keys.rb +6 -0
  5. data/lib/2016-07-01/generated/azure_mgmt_relay/models/authorization_rule_list_result.rb +4 -0
  6. data/lib/2016-07-01/generated/azure_mgmt_relay/models/check_name_availability.rb +2 -0
  7. data/lib/2016-07-01/generated/azure_mgmt_relay/models/check_name_availability_result.rb +4 -0
  8. data/lib/2016-07-01/generated/azure_mgmt_relay/models/error_response.rb +3 -0
  9. data/lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb +9 -0
  10. data/lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection_list_result.rb +4 -0
  11. data/lib/2016-07-01/generated/azure_mgmt_relay/models/operation.rb +3 -0
  12. data/lib/2016-07-01/generated/azure_mgmt_relay/models/operation_display.rb +4 -0
  13. data/lib/2016-07-01/generated/azure_mgmt_relay/models/operation_list_result.rb +4 -0
  14. data/lib/2016-07-01/generated/azure_mgmt_relay/models/regenerate_keys_parameters.rb +2 -0
  15. data/lib/2016-07-01/generated/azure_mgmt_relay/models/relay_namespace.rb +13 -0
  16. data/lib/2016-07-01/generated/azure_mgmt_relay/models/relay_namespace_list_result.rb +4 -0
  17. data/lib/2016-07-01/generated/azure_mgmt_relay/models/relay_namespace_update_parameter.rb +4 -0
  18. data/lib/2016-07-01/generated/azure_mgmt_relay/models/resource.rb +4 -0
  19. data/lib/2016-07-01/generated/azure_mgmt_relay/models/sku.rb +3 -0
  20. data/lib/2016-07-01/generated/azure_mgmt_relay/models/tracked_resource.rb +7 -0
  21. data/lib/2016-07-01/generated/azure_mgmt_relay/models/wcf_relay.rb +12 -0
  22. data/lib/2016-07-01/generated/azure_mgmt_relay/models/wcf_relays_list_result.rb +4 -0
  23. data/lib/2016-07-01/generated/azure_mgmt_relay/namespaces.rb +52 -0
  24. data/lib/2016-07-01/generated/azure_mgmt_relay/relay_management_client.rb +1 -3
  25. data/lib/2016-07-01/generated/azure_mgmt_relay/wcfrelays.rb +68 -0
  26. data/lib/2017-04-01/generated/azure_mgmt_relay/hybrid_connections.rb +54 -0
  27. data/lib/2017-04-01/generated/azure_mgmt_relay/models/access_keys.rb +6 -0
  28. data/lib/2017-04-01/generated/azure_mgmt_relay/models/authorization_rule.rb +6 -0
  29. data/lib/2017-04-01/generated/azure_mgmt_relay/models/authorization_rule_list_result.rb +4 -0
  30. data/lib/2017-04-01/generated/azure_mgmt_relay/models/check_name_availability.rb +2 -0
  31. data/lib/2017-04-01/generated/azure_mgmt_relay/models/check_name_availability_result.rb +4 -0
  32. data/lib/2017-04-01/generated/azure_mgmt_relay/models/error_response.rb +3 -0
  33. data/lib/2017-04-01/generated/azure_mgmt_relay/models/hybrid_connection.rb +9 -0
  34. data/lib/2017-04-01/generated/azure_mgmt_relay/models/hybrid_connection_list_result.rb +4 -0
  35. data/lib/2017-04-01/generated/azure_mgmt_relay/models/operation.rb +3 -0
  36. data/lib/2017-04-01/generated/azure_mgmt_relay/models/operation_display.rb +4 -0
  37. data/lib/2017-04-01/generated/azure_mgmt_relay/models/operation_list_result.rb +4 -0
  38. data/lib/2017-04-01/generated/azure_mgmt_relay/models/regenerate_access_key_parameters.rb +3 -0
  39. data/lib/2017-04-01/generated/azure_mgmt_relay/models/relay_namespace.rb +13 -0
  40. data/lib/2017-04-01/generated/azure_mgmt_relay/models/relay_namespace_list_result.rb +4 -0
  41. data/lib/2017-04-01/generated/azure_mgmt_relay/models/relay_update_parameters.rb +12 -0
  42. data/lib/2017-04-01/generated/azure_mgmt_relay/models/resource.rb +4 -0
  43. data/lib/2017-04-01/generated/azure_mgmt_relay/models/resource_namespace_patch.rb +6 -0
  44. data/lib/2017-04-01/generated/azure_mgmt_relay/models/sku.rb +3 -0
  45. data/lib/2017-04-01/generated/azure_mgmt_relay/models/tracked_resource.rb +7 -0
  46. data/lib/2017-04-01/generated/azure_mgmt_relay/models/wcf_relay.rb +12 -0
  47. data/lib/2017-04-01/generated/azure_mgmt_relay/models/wcf_relays_list_result.rb +4 -0
  48. data/lib/2017-04-01/generated/azure_mgmt_relay/namespaces.rb +47 -0
  49. data/lib/2017-04-01/generated/azure_mgmt_relay/relay_management_client.rb +1 -3
  50. data/lib/2017-04-01/generated/azure_mgmt_relay/wcfrelays.rb +54 -0
  51. data/lib/profiles/latest/relay_latest_profile_client.rb +1 -3
  52. data/lib/version.rb +1 -1
  53. metadata +10 -9
  54. data/lib/2016-07-01/generated/azure_mgmt_relay/version.rb +0 -8
  55. data/lib/2017-04-01/generated/azure_mgmt_relay/version.rb +0 -8
  56. data/lib/profiles/common/configurable.rb +0 -86
  57. data/lib/profiles/common/default.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9893f9359bbf540d9d9a719e2dc7f5af050b7bb
4
- data.tar.gz: f129d791a39939bf26af10a1df423cfa8cf2eee2
3
+ metadata.gz: 29434fa3e75bd7bfb0495ae38ee491a59a13b289
4
+ data.tar.gz: ee43d68c7c699282ce7d6da762da6031d1a800c1
5
5
  SHA512:
6
- metadata.gz: 683d8d7f32112a3b9ebe42784ae48512da6bf26c8f743105fae38f50961c58be8c4fe8e38112b88fd79ba16d7706d68d8539bb0136d1de2c05e5933d53ee524b
7
- data.tar.gz: 1383ad0dec881f1f4844fb59343abe03bcf4f56a66e64e61788d22dc868d22ed1f01925555b7cc22a01a471db674bbd08930655dfe77892d6cbbe1da7bd4fef3
6
+ metadata.gz: 0947ae5d08c1cab1e5712bace19821ee34dfc6d45509d74e59fab20eb54bba123600f8801111a353f9bf3aaf627676970132825fd5c28ed93ee450aad5beeced
7
+ data.tar.gz: 3d26e7f8b9a1498fbd1d016fbce094fc198360133e76a6a37507e27b415839c53a345a3c4196877b288cf915990ceb5b53cb281e4786079d885bdde9bc3c722a
@@ -66,7 +66,11 @@ module Azure::Relay::Mgmt::V2016_07_01
66
66
  #
67
67
  def list_by_namespace_async(resource_group_name, namespace_name, custom_headers = nil)
68
68
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
69
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
70
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
69
71
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
72
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
73
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
70
74
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
71
75
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
72
76
 
@@ -169,8 +173,14 @@ module Azure::Relay::Mgmt::V2016_07_01
169
173
  #
170
174
  def create_or_update_async(resource_group_name, namespace_name, hybrid_connection_name, parameters, custom_headers = nil)
171
175
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
176
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
177
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
172
178
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
179
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
180
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
173
181
  fail ArgumentError, 'hybrid_connection_name is nil' if hybrid_connection_name.nil?
182
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MaxLength': '50'" if !hybrid_connection_name.nil? && hybrid_connection_name.length > 50
183
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MinLength': '1'" if !hybrid_connection_name.nil? && hybrid_connection_name.length < 1
174
184
  fail ArgumentError, 'parameters is nil' if parameters.nil?
175
185
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
176
186
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -276,8 +286,14 @@ module Azure::Relay::Mgmt::V2016_07_01
276
286
  #
277
287
  def delete_async(resource_group_name, namespace_name, hybrid_connection_name, custom_headers = nil)
278
288
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
289
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
290
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
279
291
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
292
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
293
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
280
294
  fail ArgumentError, 'hybrid_connection_name is nil' if hybrid_connection_name.nil?
295
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MaxLength': '50'" if !hybrid_connection_name.nil? && hybrid_connection_name.length > 50
296
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MinLength': '1'" if !hybrid_connection_name.nil? && hybrid_connection_name.length < 1
281
297
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
282
298
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
283
299
 
@@ -364,8 +380,14 @@ module Azure::Relay::Mgmt::V2016_07_01
364
380
  #
365
381
  def get_async(resource_group_name, namespace_name, hybrid_connection_name, custom_headers = nil)
366
382
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
383
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
384
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
367
385
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
386
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
387
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
368
388
  fail ArgumentError, 'hybrid_connection_name is nil' if hybrid_connection_name.nil?
389
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MaxLength': '50'" if !hybrid_connection_name.nil? && hybrid_connection_name.length > 50
390
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MinLength': '1'" if !hybrid_connection_name.nil? && hybrid_connection_name.length < 1
369
391
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
370
392
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
371
393
 
@@ -462,8 +484,14 @@ module Azure::Relay::Mgmt::V2016_07_01
462
484
  #
463
485
  def list_authorization_rules_async(resource_group_name, namespace_name, hybrid_connection_name, custom_headers = nil)
464
486
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
487
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
488
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
465
489
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
490
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
491
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
466
492
  fail ArgumentError, 'hybrid_connection_name is nil' if hybrid_connection_name.nil?
493
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MaxLength': '50'" if !hybrid_connection_name.nil? && hybrid_connection_name.length > 50
494
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MinLength': '1'" if !hybrid_connection_name.nil? && hybrid_connection_name.length < 1
467
495
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
468
496
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
469
497
 
@@ -566,9 +594,17 @@ module Azure::Relay::Mgmt::V2016_07_01
566
594
  #
567
595
  def create_or_update_authorization_rule_async(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, parameters, custom_headers = nil)
568
596
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
597
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
598
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
569
599
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
600
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
601
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
570
602
  fail ArgumentError, 'hybrid_connection_name is nil' if hybrid_connection_name.nil?
603
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MaxLength': '50'" if !hybrid_connection_name.nil? && hybrid_connection_name.length > 50
604
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MinLength': '1'" if !hybrid_connection_name.nil? && hybrid_connection_name.length < 1
571
605
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
606
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
607
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
572
608
  fail ArgumentError, 'parameters is nil' if parameters.nil?
573
609
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
574
610
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -677,9 +713,17 @@ module Azure::Relay::Mgmt::V2016_07_01
677
713
  #
678
714
  def delete_authorization_rule_async(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, custom_headers = nil)
679
715
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
716
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
717
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
680
718
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
719
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
720
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
681
721
  fail ArgumentError, 'hybrid_connection_name is nil' if hybrid_connection_name.nil?
722
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MaxLength': '50'" if !hybrid_connection_name.nil? && hybrid_connection_name.length > 50
723
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MinLength': '1'" if !hybrid_connection_name.nil? && hybrid_connection_name.length < 1
682
724
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
725
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
726
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
683
727
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
684
728
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
685
729
 
@@ -769,9 +813,17 @@ module Azure::Relay::Mgmt::V2016_07_01
769
813
  #
770
814
  def get_authorization_rule_async(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, custom_headers = nil)
771
815
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
816
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
817
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
772
818
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
819
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
820
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
773
821
  fail ArgumentError, 'hybrid_connection_name is nil' if hybrid_connection_name.nil?
822
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MaxLength': '50'" if !hybrid_connection_name.nil? && hybrid_connection_name.length > 50
823
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MinLength': '1'" if !hybrid_connection_name.nil? && hybrid_connection_name.length < 1
774
824
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
825
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
826
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
775
827
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
776
828
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
777
829
 
@@ -871,9 +923,17 @@ module Azure::Relay::Mgmt::V2016_07_01
871
923
  #
872
924
  def list_keys_async(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, custom_headers = nil)
873
925
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
926
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
927
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
874
928
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
929
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
930
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
875
931
  fail ArgumentError, 'hybrid_connection_name is nil' if hybrid_connection_name.nil?
932
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MaxLength': '50'" if !hybrid_connection_name.nil? && hybrid_connection_name.length > 50
933
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MinLength': '1'" if !hybrid_connection_name.nil? && hybrid_connection_name.length < 1
876
934
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
935
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
936
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
877
937
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
878
938
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
879
939
 
@@ -982,9 +1042,17 @@ module Azure::Relay::Mgmt::V2016_07_01
982
1042
  #
983
1043
  def regenerate_keys_async(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, parameters, custom_headers = nil)
984
1044
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1045
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1046
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
985
1047
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
1048
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
1049
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
986
1050
  fail ArgumentError, 'hybrid_connection_name is nil' if hybrid_connection_name.nil?
1051
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MaxLength': '50'" if !hybrid_connection_name.nil? && hybrid_connection_name.length > 50
1052
+ fail ArgumentError, "'hybrid_connection_name' should satisfy the constraint - 'MinLength': '1'" if !hybrid_connection_name.nil? && hybrid_connection_name.length < 1
987
1053
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
1054
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
1055
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
988
1056
  fail ArgumentError, 'parameters is nil' if parameters.nil?
989
1057
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
990
1058
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -22,6 +22,7 @@ module Azure::Relay::Mgmt::V2016_07_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'AuthorizationRule',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Relay::Mgmt::V2016_07_01
29
30
  class_name: 'AuthorizationRule',
30
31
  model_properties: {
31
32
  id: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  read_only: true,
34
36
  serialized_name: 'id',
@@ -37,6 +39,7 @@ module Azure::Relay::Mgmt::V2016_07_01
37
39
  }
38
40
  },
39
41
  name: {
42
+ client_side_validation: true,
40
43
  required: false,
41
44
  read_only: true,
42
45
  serialized_name: 'name',
@@ -45,6 +48,7 @@ module Azure::Relay::Mgmt::V2016_07_01
45
48
  }
46
49
  },
47
50
  type: {
51
+ client_side_validation: true,
48
52
  required: false,
49
53
  read_only: true,
50
54
  serialized_name: 'type',
@@ -53,6 +57,7 @@ module Azure::Relay::Mgmt::V2016_07_01
53
57
  }
54
58
  },
55
59
  rights: {
60
+ client_side_validation: true,
56
61
  required: true,
57
62
  serialized_name: 'properties.rights',
58
63
  constraints: {
@@ -61,6 +66,7 @@ module Azure::Relay::Mgmt::V2016_07_01
61
66
  type: {
62
67
  name: 'Sequence',
63
68
  element: {
69
+ client_side_validation: true,
64
70
  required: false,
65
71
  serialized_name: 'AccessRightsElementType',
66
72
  type: {
@@ -38,6 +38,7 @@ module Azure::Relay::Mgmt::V2016_07_01
38
38
  #
39
39
  def self.mapper()
40
40
  {
41
+ client_side_validation: true,
41
42
  required: false,
42
43
  serialized_name: 'AuthorizationRuleKeys',
43
44
  type: {
@@ -45,6 +46,7 @@ module Azure::Relay::Mgmt::V2016_07_01
45
46
  class_name: 'AuthorizationRuleKeys',
46
47
  model_properties: {
47
48
  primary_connection_string: {
49
+ client_side_validation: true,
48
50
  required: false,
49
51
  serialized_name: 'primaryConnectionString',
50
52
  type: {
@@ -52,6 +54,7 @@ module Azure::Relay::Mgmt::V2016_07_01
52
54
  }
53
55
  },
54
56
  secondary_connection_string: {
57
+ client_side_validation: true,
55
58
  required: false,
56
59
  serialized_name: 'secondaryConnectionString',
57
60
  type: {
@@ -59,6 +62,7 @@ module Azure::Relay::Mgmt::V2016_07_01
59
62
  }
60
63
  },
61
64
  primary_key: {
65
+ client_side_validation: true,
62
66
  required: false,
63
67
  serialized_name: 'primaryKey',
64
68
  type: {
@@ -66,6 +70,7 @@ module Azure::Relay::Mgmt::V2016_07_01
66
70
  }
67
71
  },
68
72
  secondary_key: {
73
+ client_side_validation: true,
69
74
  required: false,
70
75
  serialized_name: 'secondaryKey',
71
76
  type: {
@@ -73,6 +78,7 @@ module Azure::Relay::Mgmt::V2016_07_01
73
78
  }
74
79
  },
75
80
  key_name: {
81
+ client_side_validation: true,
76
82
  required: false,
77
83
  serialized_name: 'keyName',
78
84
  type: {
@@ -59,6 +59,7 @@ module Azure::Relay::Mgmt::V2016_07_01
59
59
  #
60
60
  def self.mapper()
61
61
  {
62
+ client_side_validation: true,
62
63
  required: false,
63
64
  serialized_name: 'AuthorizationRuleListResult',
64
65
  type: {
@@ -66,11 +67,13 @@ module Azure::Relay::Mgmt::V2016_07_01
66
67
  class_name: 'AuthorizationRuleListResult',
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: 'AuthorizationRuleElementType',
76
79
  type: {
@@ -81,6 +84,7 @@ module Azure::Relay::Mgmt::V2016_07_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: {
@@ -25,6 +25,7 @@ module Azure::Relay::Mgmt::V2016_07_01
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'CheckNameAvailability',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::Relay::Mgmt::V2016_07_01
32
33
  class_name: 'CheckNameAvailability',
33
34
  model_properties: {
34
35
  name: {
36
+ client_side_validation: true,
35
37
  required: true,
36
38
  serialized_name: 'name',
37
39
  type: {
@@ -33,6 +33,7 @@ module Azure::Relay::Mgmt::V2016_07_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::Relay::Mgmt::V2016_07_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::Relay::Mgmt::V2016_07_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::Relay::Mgmt::V2016_07_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',
@@ -26,6 +26,7 @@ module Azure::Relay::Mgmt::V2016_07_01
26
26
  #
27
27
  def self.mapper()
28
28
  {
29
+ client_side_validation: true,
29
30
  required: false,
30
31
  serialized_name: 'ErrorResponse',
31
32
  type: {
@@ -33,6 +34,7 @@ module Azure::Relay::Mgmt::V2016_07_01
33
34
  class_name: 'ErrorResponse',
34
35
  model_properties: {
35
36
  code: {
37
+ client_side_validation: true,
36
38
  required: false,
37
39
  serialized_name: 'code',
38
40
  type: {
@@ -40,6 +42,7 @@ module Azure::Relay::Mgmt::V2016_07_01
40
42
  }
41
43
  },
42
44
  message: {
45
+ client_side_validation: true,
43
46
  required: false,
44
47
  serialized_name: 'message',
45
48
  type: {
@@ -39,6 +39,7 @@ module Azure::Relay::Mgmt::V2016_07_01
39
39
  #
40
40
  def self.mapper()
41
41
  {
42
+ client_side_validation: true,
42
43
  required: false,
43
44
  serialized_name: 'HybridConnection',
44
45
  type: {
@@ -46,6 +47,7 @@ module Azure::Relay::Mgmt::V2016_07_01
46
47
  class_name: 'HybridConnection',
47
48
  model_properties: {
48
49
  id: {
50
+ client_side_validation: true,
49
51
  required: false,
50
52
  read_only: true,
51
53
  serialized_name: 'id',
@@ -54,6 +56,7 @@ module Azure::Relay::Mgmt::V2016_07_01
54
56
  }
55
57
  },
56
58
  name: {
59
+ client_side_validation: true,
57
60
  required: false,
58
61
  read_only: true,
59
62
  serialized_name: 'name',
@@ -62,6 +65,7 @@ module Azure::Relay::Mgmt::V2016_07_01
62
65
  }
63
66
  },
64
67
  type: {
68
+ client_side_validation: true,
65
69
  required: false,
66
70
  read_only: true,
67
71
  serialized_name: 'type',
@@ -70,6 +74,7 @@ module Azure::Relay::Mgmt::V2016_07_01
70
74
  }
71
75
  },
72
76
  created_at: {
77
+ client_side_validation: true,
73
78
  required: false,
74
79
  read_only: true,
75
80
  serialized_name: 'properties.createdAt',
@@ -78,6 +83,7 @@ module Azure::Relay::Mgmt::V2016_07_01
78
83
  }
79
84
  },
80
85
  updated_at: {
86
+ client_side_validation: true,
81
87
  required: false,
82
88
  read_only: true,
83
89
  serialized_name: 'properties.updatedAt',
@@ -86,6 +92,7 @@ module Azure::Relay::Mgmt::V2016_07_01
86
92
  }
87
93
  },
88
94
  listener_count: {
95
+ client_side_validation: true,
89
96
  required: false,
90
97
  read_only: true,
91
98
  serialized_name: 'properties.listenerCount',
@@ -98,6 +105,7 @@ module Azure::Relay::Mgmt::V2016_07_01
98
105
  }
99
106
  },
100
107
  requires_client_authorization: {
108
+ client_side_validation: true,
101
109
  required: false,
102
110
  serialized_name: 'properties.requiresClientAuthorization',
103
111
  type: {
@@ -105,6 +113,7 @@ module Azure::Relay::Mgmt::V2016_07_01
105
113
  }
106
114
  },
107
115
  user_metadata: {
116
+ client_side_validation: true,
108
117
  required: false,
109
118
  serialized_name: 'properties.userMetadata',
110
119
  type: {
@@ -58,6 +58,7 @@ module Azure::Relay::Mgmt::V2016_07_01
58
58
  #
59
59
  def self.mapper()
60
60
  {
61
+ client_side_validation: true,
61
62
  required: false,
62
63
  serialized_name: 'HybridConnectionListResult',
63
64
  type: {
@@ -65,11 +66,13 @@ module Azure::Relay::Mgmt::V2016_07_01
65
66
  class_name: 'HybridConnectionListResult',
66
67
  model_properties: {
67
68
  value: {
69
+ client_side_validation: true,
68
70
  required: false,
69
71
  serialized_name: 'value',
70
72
  type: {
71
73
  name: 'Sequence',
72
74
  element: {
75
+ client_side_validation: true,
73
76
  required: false,
74
77
  serialized_name: 'HybridConnectionElementType',
75
78
  type: {
@@ -80,6 +83,7 @@ module Azure::Relay::Mgmt::V2016_07_01
80
83
  }
81
84
  },
82
85
  next_link: {
86
+ client_side_validation: true,
83
87
  required: false,
84
88
  serialized_name: 'nextLink',
85
89
  type: {