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
@@ -23,6 +23,7 @@ module Azure::Storage::Mgmt::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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: {
@@ -22,6 +22,7 @@ module Azure::Storage::Mgmt::V2016_12_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'StorageAccountRegenerateKeyParameters',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Storage::Mgmt::V2016_12_01
29
30
  class_name: 'StorageAccountRegenerateKeyParameters',
30
31
  model_properties: {
31
32
  key_name: {
33
+ client_side_validation: true,
32
34
  required: true,
33
35
  serialized_name: 'keyName',
34
36
  type: {
@@ -52,6 +52,7 @@ module Azure::Storage::Mgmt::V2016_12_01
52
52
  #
53
53
  def self.mapper()
54
54
  {
55
+ client_side_validation: true,
55
56
  required: false,
56
57
  serialized_name: 'StorageAccountUpdateParameters',
57
58
  type: {
@@ -59,6 +60,7 @@ module Azure::Storage::Mgmt::V2016_12_01
59
60
  class_name: 'StorageAccountUpdateParameters',
60
61
  model_properties: {
61
62
  sku: {
63
+ client_side_validation: true,
62
64
  required: false,
63
65
  serialized_name: 'sku',
64
66
  type: {
@@ -67,11 +69,13 @@ module Azure::Storage::Mgmt::V2016_12_01
67
69
  }
68
70
  },
69
71
  tags: {
72
+ client_side_validation: true,
70
73
  required: false,
71
74
  serialized_name: 'tags',
72
75
  type: {
73
76
  name: 'Dictionary',
74
77
  value: {
78
+ client_side_validation: true,
75
79
  required: false,
76
80
  serialized_name: 'StringElementType',
77
81
  type: {
@@ -81,6 +85,7 @@ module Azure::Storage::Mgmt::V2016_12_01
81
85
  }
82
86
  },
83
87
  custom_domain: {
88
+ client_side_validation: true,
84
89
  required: false,
85
90
  serialized_name: 'properties.customDomain',
86
91
  type: {
@@ -89,6 +94,7 @@ module Azure::Storage::Mgmt::V2016_12_01
89
94
  }
90
95
  },
91
96
  encryption: {
97
+ client_side_validation: true,
92
98
  required: false,
93
99
  serialized_name: 'properties.encryption',
94
100
  type: {
@@ -97,6 +103,7 @@ module Azure::Storage::Mgmt::V2016_12_01
97
103
  }
98
104
  },
99
105
  access_tier: {
106
+ client_side_validation: true,
100
107
  required: false,
101
108
  serialized_name: 'properties.accessTier',
102
109
  type: {
@@ -105,6 +112,7 @@ module Azure::Storage::Mgmt::V2016_12_01
105
112
  }
106
113
  },
107
114
  enable_https_traffic_only: {
115
+ client_side_validation: true,
108
116
  required: false,
109
117
  serialized_name: 'properties.supportsHttpsTrafficOnly',
110
118
  default_value: false,
@@ -35,6 +35,7 @@ module Azure::Storage::Mgmt::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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',
@@ -231,7 +231,12 @@ module Azure::Storage::Mgmt::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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::V2016_12_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?
@@ -126,9 +126,7 @@ module Azure::Storage::Mgmt::V2016_12_01
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_storage'
129
- if defined? Azure::Storage::Mgmt::V2016_12_01::VERSION
130
- sdk_information = "#{sdk_information}/#{Azure::Storage::Mgmt::V2016_12_01::VERSION}"
131
- end
129
+ sdk_information = "#{sdk_information}/0.15.2"
132
130
  add_user_agent_information(sdk_information)
133
131
  end
134
132
  end
@@ -55,6 +55,7 @@ module Azure::Storage::Mgmt::V2017_06_01
55
55
  #
56
56
  def self.mapper()
57
57
  {
58
+ client_side_validation: true,
58
59
  required: false,
59
60
  serialized_name: 'AccountSasParameters',
60
61
  type: {
@@ -62,6 +63,7 @@ module Azure::Storage::Mgmt::V2017_06_01
62
63
  class_name: 'AccountSasParameters',
63
64
  model_properties: {
64
65
  services: {
66
+ client_side_validation: true,
65
67
  required: true,
66
68
  serialized_name: 'signedServices',
67
69
  type: {
@@ -69,6 +71,7 @@ module Azure::Storage::Mgmt::V2017_06_01
69
71
  }
70
72
  },
71
73
  resource_types: {
74
+ client_side_validation: true,
72
75
  required: true,
73
76
  serialized_name: 'signedResourceTypes',
74
77
  type: {
@@ -76,6 +79,7 @@ module Azure::Storage::Mgmt::V2017_06_01
76
79
  }
77
80
  },
78
81
  permissions: {
82
+ client_side_validation: true,
79
83
  required: true,
80
84
  serialized_name: 'signedPermission',
81
85
  type: {
@@ -83,6 +87,7 @@ module Azure::Storage::Mgmt::V2017_06_01
83
87
  }
84
88
  },
85
89
  ipaddress_or_range: {
90
+ client_side_validation: true,
86
91
  required: false,
87
92
  serialized_name: 'signedIp',
88
93
  type: {
@@ -90,6 +95,7 @@ module Azure::Storage::Mgmt::V2017_06_01
90
95
  }
91
96
  },
92
97
  protocols: {
98
+ client_side_validation: true,
93
99
  required: false,
94
100
  serialized_name: 'signedProtocol',
95
101
  type: {
@@ -98,6 +104,7 @@ module Azure::Storage::Mgmt::V2017_06_01
98
104
  }
99
105
  },
100
106
  shared_access_start_time: {
107
+ client_side_validation: true,
101
108
  required: false,
102
109
  serialized_name: 'signedStart',
103
110
  type: {
@@ -105,6 +112,7 @@ module Azure::Storage::Mgmt::V2017_06_01
105
112
  }
106
113
  },
107
114
  shared_access_expiry_time: {
115
+ client_side_validation: true,
108
116
  required: true,
109
117
  serialized_name: 'signedExpiry',
110
118
  type: {
@@ -112,6 +120,7 @@ module Azure::Storage::Mgmt::V2017_06_01
112
120
  }
113
121
  },
114
122
  key_to_sign: {
123
+ client_side_validation: true,
115
124
  required: false,
116
125
  serialized_name: 'keyToSign',
117
126
  type: {
@@ -33,6 +33,7 @@ module Azure::Storage::Mgmt::V2017_06_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::Storage::Mgmt::V2017_06_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
  read_only: true,
45
47
  serialized_name: 'nameAvailable',
@@ -48,6 +50,7 @@ module Azure::Storage::Mgmt::V2017_06_01
48
50
  }
49
51
  },
50
52
  reason: {
53
+ client_side_validation: true,
51
54
  required: false,
52
55
  read_only: true,
53
56
  serialized_name: 'reason',
@@ -57,6 +60,7 @@ module Azure::Storage::Mgmt::V2017_06_01
57
60
  }
58
61
  },
59
62
  message: {
63
+ client_side_validation: true,
60
64
  required: false,
61
65
  read_only: true,
62
66
  serialized_name: 'message',
@@ -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: 'CustomDomain',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::Storage::Mgmt::V2017_06_01
35
36
  class_name: 'CustomDomain',
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
  use_sub_domain: {
47
+ client_side_validation: true,
45
48
  required: false,
46
49
  serialized_name: 'useSubDomain',
47
50
  type: {