azure_mgmt_storage 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 (193) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
  3. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
  4. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/endpoints.rb +4 -0
  5. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/resource.rb +7 -0
  6. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account.rb +18 -0
  7. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
  8. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +8 -0
  9. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_keys.rb +3 -0
  10. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_list_result.rb +4 -0
  11. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
  12. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +9 -0
  13. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/sub_resource.rb +2 -0
  14. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage.rb +5 -0
  15. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
  16. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
  17. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
  18. data/lib/2015-06-15/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
  19. data/lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
  20. data/lib/2015-06-15/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
  21. data/lib/2015-06-15/generated/azure_mgmt_storage/models/resource.rb +7 -0
  22. data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account.rb +18 -0
  23. data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
  24. data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +5 -0
  25. data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb +3 -0
  26. data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
  27. data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
  28. data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +5 -0
  29. data/lib/2015-06-15/generated/azure_mgmt_storage/models/usage.rb +5 -0
  30. data/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
  31. data/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
  32. data/lib/2015-06-15/generated/azure_mgmt_storage/storage_accounts.rb +33 -0
  33. data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
  34. data/lib/2016-01-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
  35. data/lib/2016-01-01/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
  36. data/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption.rb +3 -0
  37. data/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_service.rb +3 -0
  38. data/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_services.rb +2 -0
  39. data/lib/2016-01-01/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
  40. data/lib/2016-01-01/generated/azure_mgmt_storage/models/resource.rb +7 -0
  41. data/lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb +3 -0
  42. data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account.rb +21 -0
  43. data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
  44. data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +9 -0
  45. data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_key.rb +4 -0
  46. data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +3 -0
  47. data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
  48. data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
  49. data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +7 -0
  50. data/lib/2016-01-01/generated/azure_mgmt_storage/models/usage.rb +5 -0
  51. data/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
  52. data/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
  53. data/lib/2016-01-01/generated/azure_mgmt_storage/storage_accounts.rb +12 -0
  54. data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
  55. data/lib/2016-12-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +9 -0
  56. data/lib/2016-12-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
  57. data/lib/2016-12-01/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
  58. data/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption.rb +3 -0
  59. data/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_service.rb +3 -0
  60. data/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_services.rb +5 -0
  61. data/lib/2016-12-01/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
  62. data/lib/2016-12-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +2 -0
  63. data/lib/2016-12-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +2 -0
  64. data/lib/2016-12-01/generated/azure_mgmt_storage/models/resource.rb +7 -0
  65. data/lib/2016-12-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +19 -0
  66. data/lib/2016-12-01/generated/azure_mgmt_storage/models/sku.rb +3 -0
  67. data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account.rb +22 -0
  68. data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
  69. data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +10 -0
  70. data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_key.rb +4 -0
  71. data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +3 -0
  72. data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
  73. data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
  74. data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +8 -0
  75. data/lib/2016-12-01/generated/azure_mgmt_storage/models/usage.rb +5 -0
  76. data/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
  77. data/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
  78. data/lib/2016-12-01/generated/azure_mgmt_storage/storage_accounts.rb +43 -0
  79. data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
  80. data/lib/2017-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +9 -0
  81. data/lib/2017-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
  82. data/lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
  83. data/lib/2017-06-01/generated/azure_mgmt_storage/models/dimension.rb +3 -0
  84. data/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption.rb +4 -0
  85. data/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_service.rb +3 -0
  86. data/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_services.rb +5 -0
  87. data/lib/2017-06-01/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
  88. data/lib/2017-06-01/generated/azure_mgmt_storage/models/identity.rb +4 -0
  89. data/lib/2017-06-01/generated/azure_mgmt_storage/models/iprule.rb +3 -0
  90. data/lib/2017-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +4 -0
  91. data/lib/2017-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +2 -0
  92. data/lib/2017-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +2 -0
  93. data/lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb +11 -0
  94. data/lib/2017-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb +7 -0
  95. data/lib/2017-06-01/generated/azure_mgmt_storage/models/operation.rb +5 -0
  96. data/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_display.rb +4 -0
  97. data/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb +3 -0
  98. data/lib/2017-06-01/generated/azure_mgmt_storage/models/resource.rb +7 -0
  99. data/lib/2017-06-01/generated/azure_mgmt_storage/models/restriction.rb +5 -0
  100. data/lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +19 -0
  101. data/lib/2017-06-01/generated/azure_mgmt_storage/models/service_specification.rb +3 -0
  102. data/lib/2017-06-01/generated/azure_mgmt_storage/models/sku.rb +11 -0
  103. data/lib/2017-06-01/generated/azure_mgmt_storage/models/skucapability.rb +3 -0
  104. data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb +24 -0
  105. data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
  106. data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +12 -0
  107. data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb +4 -0
  108. data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +3 -0
  109. data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
  110. data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
  111. data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +10 -0
  112. data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +3 -0
  113. data/lib/2017-06-01/generated/azure_mgmt_storage/models/usage.rb +5 -0
  114. data/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
  115. data/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
  116. data/lib/2017-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +4 -0
  117. data/lib/2017-06-01/generated/azure_mgmt_storage/storage_accounts.rb +43 -0
  118. data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
  119. data/lib/2017-10-01/generated/azure_mgmt_storage.rb +88 -0
  120. data/lib/2017-10-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
  121. data/lib/2017-10-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
  122. data/lib/2017-10-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
  123. data/lib/{2015-06-15/generated/azure_mgmt_storage/version.rb → 2017-10-01/generated/azure_mgmt_storage/models/action.rb} +9 -2
  124. data/lib/2017-10-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
  125. data/lib/2017-10-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
  126. data/lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
  127. data/lib/2017-10-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
  128. data/lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
  129. data/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
  130. data/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
  131. data/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
  132. data/lib/2017-10-01/generated/azure_mgmt_storage/models/endpoints.rb +84 -0
  133. data/lib/2017-10-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
  134. data/lib/2017-10-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
  135. data/lib/2017-10-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
  136. data/lib/2017-10-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
  137. data/lib/2017-10-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
  138. data/lib/2017-10-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
  139. data/lib/2017-10-01/generated/azure_mgmt_storage/models/kind.rb +17 -0
  140. data/lib/2017-10-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
  141. data/lib/2017-10-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
  142. data/lib/2017-10-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
  143. data/lib/2017-10-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
  144. data/lib/2017-10-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
  145. data/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_display.rb +68 -0
  146. data/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
  147. data/lib/2017-10-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
  148. data/lib/2017-10-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
  149. data/lib/2017-10-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
  150. data/lib/2017-10-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
  151. data/lib/2017-10-01/generated/azure_mgmt_storage/models/resource.rb +102 -0
  152. data/lib/2017-10-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
  153. data/lib/2017-10-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
  154. data/lib/2017-10-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
  155. data/lib/2017-10-01/generated/azure_mgmt_storage/models/services.rb +18 -0
  156. data/lib/2017-10-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
  157. data/lib/2017-10-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
  158. data/lib/2017-10-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
  159. data/lib/2017-10-01/generated/azure_mgmt_storage/models/sku_name.rb +19 -0
  160. data/lib/2017-10-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
  161. data/lib/2017-10-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
  162. data/lib/2017-10-01/generated/azure_mgmt_storage/models/state.rb +19 -0
  163. data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account.rb +326 -0
  164. data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
  165. data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +179 -0
  166. data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
  167. data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
  168. data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
  169. data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
  170. data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +167 -0
  171. data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
  172. data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
  173. data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
  174. data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
  175. data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
  176. data/lib/2017-10-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
  177. data/lib/{2015-05-01-preview/generated/azure_mgmt_storage/version.rb → 2017-10-01/generated/azure_mgmt_storage/module_definition.rb} +4 -3
  178. data/lib/2017-10-01/generated/azure_mgmt_storage/operations.rb +106 -0
  179. data/lib/2017-10-01/generated/azure_mgmt_storage/skus.rb +111 -0
  180. data/lib/2017-10-01/generated/azure_mgmt_storage/storage_accounts.rb +1319 -0
  181. data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +141 -0
  182. data/lib/2017-10-01/generated/azure_mgmt_storage/usage_operations.rb +111 -0
  183. data/lib/azure_mgmt_storage.rb +1 -0
  184. data/lib/profiles/latest/modules/storage_profile_module.rb +119 -119
  185. data/lib/profiles/latest/storage_latest_profile_client.rb +1 -3
  186. data/lib/profiles/v2017_03_09/storage_v2017_03_09_profile_client.rb +1 -3
  187. data/lib/version.rb +1 -1
  188. metadata +74 -12
  189. data/lib/2016-01-01/generated/azure_mgmt_storage/version.rb +0 -8
  190. data/lib/2016-12-01/generated/azure_mgmt_storage/version.rb +0 -8
  191. data/lib/2017-06-01/generated/azure_mgmt_storage/version.rb +0 -8
  192. data/lib/profiles/common/configurable.rb +0 -86
  193. data/lib/profiles/common/default.rb +0 -57
@@ -28,6 +28,7 @@ module Azure::Storage::Mgmt::V2017_06_01
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'StorageAccountCheckNameAvailabilityParameters',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::Storage::Mgmt::V2017_06_01
35
36
  class_name: 'StorageAccountCheckNameAvailabilityParameters',
36
37
  model_properties: {
37
38
  name: {
39
+ client_side_validation: true,
38
40
  required: true,
39
41
  serialized_name: 'name',
40
42
  type: {
@@ -42,6 +44,7 @@ module Azure::Storage::Mgmt::V2017_06_01
42
44
  }
43
45
  },
44
46
  type: {
47
+ client_side_validation: true,
45
48
  required: true,
46
49
  is_constant: true,
47
50
  serialized_name: 'type',
@@ -67,6 +67,7 @@ module Azure::Storage::Mgmt::V2017_06_01
67
67
  #
68
68
  def self.mapper()
69
69
  {
70
+ client_side_validation: true,
70
71
  required: false,
71
72
  serialized_name: 'StorageAccountCreateParameters',
72
73
  type: {
@@ -74,6 +75,7 @@ module Azure::Storage::Mgmt::V2017_06_01
74
75
  class_name: 'StorageAccountCreateParameters',
75
76
  model_properties: {
76
77
  sku: {
78
+ client_side_validation: true,
77
79
  required: true,
78
80
  serialized_name: 'sku',
79
81
  type: {
@@ -82,6 +84,7 @@ module Azure::Storage::Mgmt::V2017_06_01
82
84
  }
83
85
  },
84
86
  kind: {
87
+ client_side_validation: true,
85
88
  required: true,
86
89
  serialized_name: 'kind',
87
90
  type: {
@@ -90,6 +93,7 @@ module Azure::Storage::Mgmt::V2017_06_01
90
93
  }
91
94
  },
92
95
  location: {
96
+ client_side_validation: true,
93
97
  required: true,
94
98
  serialized_name: 'location',
95
99
  type: {
@@ -97,11 +101,13 @@ module Azure::Storage::Mgmt::V2017_06_01
97
101
  }
98
102
  },
99
103
  tags: {
104
+ client_side_validation: true,
100
105
  required: false,
101
106
  serialized_name: 'tags',
102
107
  type: {
103
108
  name: 'Dictionary',
104
109
  value: {
110
+ client_side_validation: true,
105
111
  required: false,
106
112
  serialized_name: 'StringElementType',
107
113
  type: {
@@ -111,6 +117,7 @@ module Azure::Storage::Mgmt::V2017_06_01
111
117
  }
112
118
  },
113
119
  identity: {
120
+ client_side_validation: true,
114
121
  required: false,
115
122
  serialized_name: 'identity',
116
123
  type: {
@@ -119,6 +126,7 @@ module Azure::Storage::Mgmt::V2017_06_01
119
126
  }
120
127
  },
121
128
  custom_domain: {
129
+ client_side_validation: true,
122
130
  required: false,
123
131
  serialized_name: 'properties.customDomain',
124
132
  type: {
@@ -127,6 +135,7 @@ module Azure::Storage::Mgmt::V2017_06_01
127
135
  }
128
136
  },
129
137
  encryption: {
138
+ client_side_validation: true,
130
139
  required: false,
131
140
  serialized_name: 'properties.encryption',
132
141
  type: {
@@ -135,6 +144,7 @@ module Azure::Storage::Mgmt::V2017_06_01
135
144
  }
136
145
  },
137
146
  network_rule_set: {
147
+ client_side_validation: true,
138
148
  required: false,
139
149
  serialized_name: 'properties.networkAcls',
140
150
  type: {
@@ -143,6 +153,7 @@ module Azure::Storage::Mgmt::V2017_06_01
143
153
  }
144
154
  },
145
155
  access_tier: {
156
+ client_side_validation: true,
146
157
  required: false,
147
158
  serialized_name: 'properties.accessTier',
148
159
  type: {
@@ -151,6 +162,7 @@ module Azure::Storage::Mgmt::V2017_06_01
151
162
  }
152
163
  },
153
164
  enable_https_traffic_only: {
165
+ client_side_validation: true,
154
166
  required: false,
155
167
  serialized_name: 'properties.supportsHttpsTrafficOnly',
156
168
  default_value: false,
@@ -29,6 +29,7 @@ module Azure::Storage::Mgmt::V2017_06_01
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
+ client_side_validation: true,
32
33
  required: false,
33
34
  serialized_name: 'StorageAccountKey',
34
35
  type: {
@@ -36,6 +37,7 @@ module Azure::Storage::Mgmt::V2017_06_01
36
37
  class_name: 'StorageAccountKey',
37
38
  model_properties: {
38
39
  key_name: {
40
+ client_side_validation: true,
39
41
  required: false,
40
42
  read_only: true,
41
43
  serialized_name: 'keyName',
@@ -44,6 +46,7 @@ module Azure::Storage::Mgmt::V2017_06_01
44
46
  }
45
47
  },
46
48
  value: {
49
+ client_side_validation: true,
47
50
  required: false,
48
51
  read_only: true,
49
52
  serialized_name: 'value',
@@ -52,6 +55,7 @@ module Azure::Storage::Mgmt::V2017_06_01
52
55
  }
53
56
  },
54
57
  permissions: {
58
+ client_side_validation: true,
55
59
  required: false,
56
60
  read_only: true,
57
61
  serialized_name: 'permissions',
@@ -23,6 +23,7 @@ module Azure::Storage::Mgmt::V2017_06_01
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'StorageAccountListKeysResult',
28
29
  type: {
@@ -30,12 +31,14 @@ module Azure::Storage::Mgmt::V2017_06_01
30
31
  class_name: 'StorageAccountListKeysResult',
31
32
  model_properties: {
32
33
  keys: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  read_only: true,
35
37
  serialized_name: 'keys',
36
38
  type: {
37
39
  name: 'Sequence',
38
40
  element: {
41
+ client_side_validation: true,
39
42
  required: false,
40
43
  serialized_name: 'StorageAccountKeyElementType',
41
44
  type: {
@@ -23,6 +23,7 @@ module Azure::Storage::Mgmt::V2017_06_01
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'StorageAccountListResult',
28
29
  type: {
@@ -30,12 +31,14 @@ module Azure::Storage::Mgmt::V2017_06_01
30
31
  class_name: 'StorageAccountListResult',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  read_only: true,
35
37
  serialized_name: 'value',
36
38
  type: {
37
39
  name: 'Sequence',
38
40
  element: {
41
+ client_side_validation: true,
39
42
  required: false,
40
43
  serialized_name: 'StorageAccountElementType',
41
44
  type: {
@@ -23,6 +23,7 @@ module Azure::Storage::Mgmt::V2017_06_01
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'StorageAccountRegenerateKeyParameters',
28
29
  type: {
@@ -30,6 +31,7 @@ module Azure::Storage::Mgmt::V2017_06_01
30
31
  class_name: 'StorageAccountRegenerateKeyParameters',
31
32
  model_properties: {
32
33
  key_name: {
34
+ client_side_validation: true,
33
35
  required: true,
34
36
  serialized_name: 'keyName',
35
37
  type: {
@@ -58,6 +58,7 @@ module Azure::Storage::Mgmt::V2017_06_01
58
58
  #
59
59
  def self.mapper()
60
60
  {
61
+ client_side_validation: true,
61
62
  required: false,
62
63
  serialized_name: 'StorageAccountUpdateParameters',
63
64
  type: {
@@ -65,6 +66,7 @@ module Azure::Storage::Mgmt::V2017_06_01
65
66
  class_name: 'StorageAccountUpdateParameters',
66
67
  model_properties: {
67
68
  sku: {
69
+ client_side_validation: true,
68
70
  required: false,
69
71
  serialized_name: 'sku',
70
72
  type: {
@@ -73,11 +75,13 @@ module Azure::Storage::Mgmt::V2017_06_01
73
75
  }
74
76
  },
75
77
  tags: {
78
+ client_side_validation: true,
76
79
  required: false,
77
80
  serialized_name: 'tags',
78
81
  type: {
79
82
  name: 'Dictionary',
80
83
  value: {
84
+ client_side_validation: true,
81
85
  required: false,
82
86
  serialized_name: 'StringElementType',
83
87
  type: {
@@ -87,6 +91,7 @@ module Azure::Storage::Mgmt::V2017_06_01
87
91
  }
88
92
  },
89
93
  identity: {
94
+ client_side_validation: true,
90
95
  required: false,
91
96
  serialized_name: 'identity',
92
97
  type: {
@@ -95,6 +100,7 @@ module Azure::Storage::Mgmt::V2017_06_01
95
100
  }
96
101
  },
97
102
  custom_domain: {
103
+ client_side_validation: true,
98
104
  required: false,
99
105
  serialized_name: 'properties.customDomain',
100
106
  type: {
@@ -103,6 +109,7 @@ module Azure::Storage::Mgmt::V2017_06_01
103
109
  }
104
110
  },
105
111
  encryption: {
112
+ client_side_validation: true,
106
113
  required: false,
107
114
  serialized_name: 'properties.encryption',
108
115
  type: {
@@ -111,6 +118,7 @@ module Azure::Storage::Mgmt::V2017_06_01
111
118
  }
112
119
  },
113
120
  access_tier: {
121
+ client_side_validation: true,
114
122
  required: false,
115
123
  serialized_name: 'properties.accessTier',
116
124
  type: {
@@ -119,6 +127,7 @@ module Azure::Storage::Mgmt::V2017_06_01
119
127
  }
120
128
  },
121
129
  enable_https_traffic_only: {
130
+ client_side_validation: true,
122
131
  required: false,
123
132
  serialized_name: 'properties.supportsHttpsTrafficOnly',
124
133
  default_value: false,
@@ -127,6 +136,7 @@ module Azure::Storage::Mgmt::V2017_06_01
127
136
  }
128
137
  },
129
138
  network_rule_set: {
139
+ client_side_validation: true,
130
140
  required: false,
131
141
  serialized_name: 'properties.networkAcls',
132
142
  type: {
@@ -23,6 +23,7 @@ module Azure::Storage::Mgmt::V2017_06_01
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'StorageSkuListResult',
28
29
  type: {
@@ -30,12 +31,14 @@ module Azure::Storage::Mgmt::V2017_06_01
30
31
  class_name: 'StorageSkuListResult',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  read_only: true,
35
37
  serialized_name: 'value',
36
38
  type: {
37
39
  name: 'Sequence',
38
40
  element: {
41
+ client_side_validation: true,
39
42
  required: false,
40
43
  serialized_name: 'SkuElementType',
41
44
  type: {
@@ -35,6 +35,7 @@ module Azure::Storage::Mgmt::V2017_06_01
35
35
  #
36
36
  def self.mapper()
37
37
  {
38
+ client_side_validation: true,
38
39
  required: false,
39
40
  serialized_name: 'Usage',
40
41
  type: {
@@ -42,6 +43,7 @@ module Azure::Storage::Mgmt::V2017_06_01
42
43
  class_name: 'Usage',
43
44
  model_properties: {
44
45
  unit: {
46
+ client_side_validation: true,
45
47
  required: false,
46
48
  read_only: true,
47
49
  serialized_name: 'unit',
@@ -51,6 +53,7 @@ module Azure::Storage::Mgmt::V2017_06_01
51
53
  }
52
54
  },
53
55
  current_value: {
56
+ client_side_validation: true,
54
57
  required: false,
55
58
  read_only: true,
56
59
  serialized_name: 'currentValue',
@@ -59,6 +62,7 @@ module Azure::Storage::Mgmt::V2017_06_01
59
62
  }
60
63
  },
61
64
  limit: {
65
+ client_side_validation: true,
62
66
  required: false,
63
67
  read_only: true,
64
68
  serialized_name: 'limit',
@@ -67,6 +71,7 @@ module Azure::Storage::Mgmt::V2017_06_01
67
71
  }
68
72
  },
69
73
  name: {
74
+ client_side_validation: true,
70
75
  required: false,
71
76
  read_only: true,
72
77
  serialized_name: 'name',
@@ -23,6 +23,7 @@ module Azure::Storage::Mgmt::V2017_06_01
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'UsageListResult',
28
29
  type: {
@@ -30,11 +31,13 @@ module Azure::Storage::Mgmt::V2017_06_01
30
31
  class_name: 'UsageListResult',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'value',
35
37
  type: {
36
38
  name: 'Sequence',
37
39
  element: {
40
+ client_side_validation: true,
38
41
  required: false,
39
42
  serialized_name: 'UsageElementType',
40
43
  type: {
@@ -25,6 +25,7 @@ module Azure::Storage::Mgmt::V2017_06_01
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'UsageName',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::Storage::Mgmt::V2017_06_01
32
33
  class_name: 'UsageName',
33
34
  model_properties: {
34
35
  value: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  read_only: true,
37
39
  serialized_name: 'value',
@@ -40,6 +42,7 @@ module Azure::Storage::Mgmt::V2017_06_01
40
42
  }
41
43
  },
42
44
  localized_value: {
45
+ client_side_validation: true,
43
46
  required: false,
44
47
  read_only: true,
45
48
  serialized_name: 'localizedValue',
@@ -32,6 +32,7 @@ module Azure::Storage::Mgmt::V2017_06_01
32
32
  #
33
33
  def self.mapper()
34
34
  {
35
+ client_side_validation: true,
35
36
  required: false,
36
37
  serialized_name: 'VirtualNetworkRule',
37
38
  type: {
@@ -39,6 +40,7 @@ module Azure::Storage::Mgmt::V2017_06_01
39
40
  class_name: 'VirtualNetworkRule',
40
41
  model_properties: {
41
42
  virtual_network_resource_id: {
43
+ client_side_validation: true,
42
44
  required: true,
43
45
  serialized_name: 'id',
44
46
  type: {
@@ -46,6 +48,7 @@ module Azure::Storage::Mgmt::V2017_06_01
46
48
  }
47
49
  },
48
50
  action: {
51
+ client_side_validation: true,
49
52
  required: false,
50
53
  serialized_name: 'action',
51
54
  default_value: 'Allow',
@@ -55,6 +58,7 @@ module Azure::Storage::Mgmt::V2017_06_01
55
58
  }
56
59
  },
57
60
  state: {
61
+ client_side_validation: true,
58
62
  required: false,
59
63
  serialized_name: 'state',
60
64
  type: {
@@ -231,7 +231,12 @@ module Azure::Storage::Mgmt::V2017_06_01
231
231
  #
232
232
  def delete_async(resource_group_name, account_name, custom_headers = nil)
233
233
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
234
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
235
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
236
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
234
237
  fail ArgumentError, 'account_name is nil' if account_name.nil?
238
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
239
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
235
240
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
236
241
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
237
242
 
@@ -327,7 +332,12 @@ module Azure::Storage::Mgmt::V2017_06_01
327
332
  #
328
333
  def get_properties_async(resource_group_name, account_name, custom_headers = nil)
329
334
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
335
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
336
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
337
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
330
338
  fail ArgumentError, 'account_name is nil' if account_name.nil?
339
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
340
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
331
341
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
332
342
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
333
343
 
@@ -457,7 +467,12 @@ module Azure::Storage::Mgmt::V2017_06_01
457
467
  #
458
468
  def update_async(resource_group_name, account_name, parameters, custom_headers = nil)
459
469
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
470
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
471
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
472
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
460
473
  fail ArgumentError, 'account_name is nil' if account_name.nil?
474
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
475
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
461
476
  fail ArgumentError, 'parameters is nil' if parameters.nil?
462
477
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
463
478
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -647,6 +662,9 @@ module Azure::Storage::Mgmt::V2017_06_01
647
662
  #
648
663
  def list_by_resource_group_async(resource_group_name, custom_headers = nil)
649
664
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
665
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
666
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
667
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
650
668
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
651
669
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
652
670
 
@@ -746,7 +764,12 @@ module Azure::Storage::Mgmt::V2017_06_01
746
764
  #
747
765
  def list_keys_async(resource_group_name, account_name, custom_headers = nil)
748
766
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
767
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
768
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
769
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
749
770
  fail ArgumentError, 'account_name is nil' if account_name.nil?
771
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
772
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
750
773
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
751
774
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
752
775
 
@@ -852,7 +875,12 @@ module Azure::Storage::Mgmt::V2017_06_01
852
875
  #
853
876
  def regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers = nil)
854
877
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
878
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
879
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
880
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
855
881
  fail ArgumentError, 'account_name is nil' if account_name.nil?
882
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
883
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
856
884
  fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil?
857
885
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
858
886
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -968,7 +996,12 @@ module Azure::Storage::Mgmt::V2017_06_01
968
996
  #
969
997
  def list_account_sas_async(resource_group_name, account_name, parameters, custom_headers = nil)
970
998
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
999
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1000
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1001
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
971
1002
  fail ArgumentError, 'account_name is nil' if account_name.nil?
1003
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
1004
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
972
1005
  fail ArgumentError, 'parameters is nil' if parameters.nil?
973
1006
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
974
1007
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -1084,7 +1117,12 @@ module Azure::Storage::Mgmt::V2017_06_01
1084
1117
  #
1085
1118
  def list_service_sas_async(resource_group_name, account_name, parameters, custom_headers = nil)
1086
1119
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1120
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1121
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1122
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1087
1123
  fail ArgumentError, 'account_name is nil' if account_name.nil?
1124
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
1125
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
1088
1126
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1089
1127
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1090
1128
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -1212,7 +1250,12 @@ module Azure::Storage::Mgmt::V2017_06_01
1212
1250
  #
1213
1251
  def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil)
1214
1252
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1253
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1254
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1255
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1215
1256
  fail ArgumentError, 'account_name is nil' if account_name.nil?
1257
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
1258
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
1216
1259
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1217
1260
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1218
1261
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?