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
@@ -25,6 +25,7 @@ module Azure::Storage::Mgmt::V2015_06_15
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'StorageAccountKeys',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::Storage::Mgmt::V2015_06_15
32
33
  class_name: 'StorageAccountKeys',
33
34
  model_properties: {
34
35
  key1: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  serialized_name: 'key1',
37
39
  type: {
@@ -39,6 +41,7 @@ module Azure::Storage::Mgmt::V2015_06_15
39
41
  }
40
42
  },
41
43
  key2: {
44
+ client_side_validation: true,
42
45
  required: false,
43
46
  serialized_name: 'key2',
44
47
  type: {
@@ -23,6 +23,7 @@ module Azure::Storage::Mgmt::V2015_06_15
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,11 +31,13 @@ module Azure::Storage::Mgmt::V2015_06_15
30
31
  class_name: 'StorageAccountListResult',
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: 'StorageAccountElementType',
40
43
  type: {
@@ -22,6 +22,7 @@ module Azure::Storage::Mgmt::V2015_06_15
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::V2015_06_15
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: {
@@ -35,6 +35,7 @@ module Azure::Storage::Mgmt::V2015_06_15
35
35
  #
36
36
  def self.mapper()
37
37
  {
38
+ client_side_validation: true,
38
39
  required: false,
39
40
  serialized_name: 'StorageAccountUpdateParameters',
40
41
  type: {
@@ -42,11 +43,13 @@ module Azure::Storage::Mgmt::V2015_06_15
42
43
  class_name: 'StorageAccountUpdateParameters',
43
44
  model_properties: {
44
45
  tags: {
46
+ client_side_validation: true,
45
47
  required: false,
46
48
  serialized_name: 'tags',
47
49
  type: {
48
50
  name: 'Dictionary',
49
51
  value: {
52
+ client_side_validation: true,
50
53
  required: false,
51
54
  serialized_name: 'StringElementType',
52
55
  type: {
@@ -56,6 +59,7 @@ module Azure::Storage::Mgmt::V2015_06_15
56
59
  }
57
60
  },
58
61
  account_type: {
62
+ client_side_validation: true,
59
63
  required: false,
60
64
  serialized_name: 'properties.accountType',
61
65
  type: {
@@ -64,6 +68,7 @@ module Azure::Storage::Mgmt::V2015_06_15
64
68
  }
65
69
  },
66
70
  custom_domain: {
71
+ client_side_validation: true,
67
72
  required: false,
68
73
  serialized_name: 'properties.customDomain',
69
74
  type: {
@@ -35,6 +35,7 @@ module Azure::Storage::Mgmt::V2015_06_15
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::V2015_06_15
42
43
  class_name: 'Usage',
43
44
  model_properties: {
44
45
  unit: {
46
+ client_side_validation: true,
45
47
  required: true,
46
48
  serialized_name: 'unit',
47
49
  type: {
@@ -50,6 +52,7 @@ module Azure::Storage::Mgmt::V2015_06_15
50
52
  }
51
53
  },
52
54
  current_value: {
55
+ client_side_validation: true,
53
56
  required: true,
54
57
  serialized_name: 'currentValue',
55
58
  type: {
@@ -57,6 +60,7 @@ module Azure::Storage::Mgmt::V2015_06_15
57
60
  }
58
61
  },
59
62
  limit: {
63
+ client_side_validation: true,
60
64
  required: true,
61
65
  serialized_name: 'limit',
62
66
  type: {
@@ -64,6 +68,7 @@ module Azure::Storage::Mgmt::V2015_06_15
64
68
  }
65
69
  },
66
70
  name: {
71
+ client_side_validation: true,
67
72
  required: true,
68
73
  serialized_name: 'name',
69
74
  type: {
@@ -22,6 +22,7 @@ module Azure::Storage::Mgmt::V2015_06_15
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'UsageListResult',
27
28
  type: {
@@ -29,11 +30,13 @@ module Azure::Storage::Mgmt::V2015_06_15
29
30
  class_name: 'UsageListResult',
30
31
  model_properties: {
31
32
  value: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'value',
34
36
  type: {
35
37
  name: 'Sequence',
36
38
  element: {
39
+ client_side_validation: true,
37
40
  required: false,
38
41
  serialized_name: 'UsageElementType',
39
42
  type: {
@@ -25,6 +25,7 @@ module Azure::Storage::Mgmt::V2015_06_15
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::V2015_06_15
32
33
  class_name: 'UsageName',
33
34
  model_properties: {
34
35
  value: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  serialized_name: 'value',
37
39
  type: {
@@ -39,6 +41,7 @@ module Azure::Storage::Mgmt::V2015_06_15
39
41
  }
40
42
  },
41
43
  localized_value: {
44
+ client_side_validation: true,
42
45
  required: false,
43
46
  serialized_name: 'localizedValue',
44
47
  type: {
@@ -231,7 +231,12 @@ module Azure::Storage::Mgmt::V2015_06_15
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::V2015_06_15
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::V2015_06_15
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::V2015_06_15
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::V2015_06_15
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::V2015_06_15
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?
@@ -980,7 +1008,12 @@ module Azure::Storage::Mgmt::V2015_06_15
980
1008
  #
981
1009
  def begin_create_async(resource_group_name, account_name, parameters, custom_headers = nil)
982
1010
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1011
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1012
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1013
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
983
1014
  fail ArgumentError, 'account_name is nil' if account_name.nil?
1015
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
1016
+ fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
984
1017
  fail ArgumentError, 'parameters is nil' if parameters.nil?
985
1018
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
986
1019
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -126,9 +126,7 @@ module Azure::Storage::Mgmt::V2015_06_15
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_storage'
129
- if defined? Azure::Storage::Mgmt::V2015_06_15::VERSION
130
- sdk_information = "#{sdk_information}/#{Azure::Storage::Mgmt::V2015_06_15::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
@@ -33,6 +33,7 @@ module Azure::Storage::Mgmt::V2016_01_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::V2016_01_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::V2016_01_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::V2016_01_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::V2016_01_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::V2016_01_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::V2016_01_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: {
@@ -27,6 +27,7 @@ module Azure::Storage::Mgmt::V2016_01_01
27
27
  #
28
28
  def self.mapper()
29
29
  {
30
+ client_side_validation: true,
30
31
  required: false,
31
32
  serialized_name: 'Encryption',
32
33
  type: {
@@ -34,6 +35,7 @@ module Azure::Storage::Mgmt::V2016_01_01
34
35
  class_name: 'Encryption',
35
36
  model_properties: {
36
37
  services: {
38
+ client_side_validation: true,
37
39
  required: false,
38
40
  serialized_name: 'services',
39
41
  type: {
@@ -42,6 +44,7 @@ module Azure::Storage::Mgmt::V2016_01_01
42
44
  }
43
45
  },
44
46
  key_source: {
47
+ client_side_validation: true,
45
48
  required: true,
46
49
  is_constant: true,
47
50
  serialized_name: 'keySource',
@@ -29,6 +29,7 @@ module Azure::Storage::Mgmt::V2016_01_01
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
+ client_side_validation: true,
32
33
  required: false,
33
34
  serialized_name: 'EncryptionService',
34
35
  type: {
@@ -36,6 +37,7 @@ module Azure::Storage::Mgmt::V2016_01_01
36
37
  class_name: 'EncryptionService',
37
38
  model_properties: {
38
39
  enabled: {
40
+ client_side_validation: true,
39
41
  required: false,
40
42
  serialized_name: 'enabled',
41
43
  type: {
@@ -43,6 +45,7 @@ module Azure::Storage::Mgmt::V2016_01_01
43
45
  }
44
46
  },
45
47
  last_enabled_time: {
48
+ client_side_validation: true,
46
49
  required: false,
47
50
  read_only: true,
48
51
  serialized_name: 'lastEnabledTime',
@@ -23,6 +23,7 @@ module Azure::Storage::Mgmt::V2016_01_01
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'EncryptionServices',
28
29
  type: {
@@ -30,6 +31,7 @@ module Azure::Storage::Mgmt::V2016_01_01
30
31
  class_name: 'EncryptionServices',
31
32
  model_properties: {
32
33
  blob: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'blob',
35
37
  type: {
@@ -32,6 +32,7 @@ module Azure::Storage::Mgmt::V2016_01_01
32
32
  #
33
33
  def self.mapper()
34
34
  {
35
+ client_side_validation: true,
35
36
  required: false,
36
37
  serialized_name: 'Endpoints',
37
38
  type: {
@@ -39,6 +40,7 @@ module Azure::Storage::Mgmt::V2016_01_01
39
40
  class_name: 'Endpoints',
40
41
  model_properties: {
41
42
  blob: {
43
+ client_side_validation: true,
42
44
  required: false,
43
45
  read_only: true,
44
46
  serialized_name: 'blob',
@@ -47,6 +49,7 @@ module Azure::Storage::Mgmt::V2016_01_01
47
49
  }
48
50
  },
49
51
  queue: {
52
+ client_side_validation: true,
50
53
  required: false,
51
54
  read_only: true,
52
55
  serialized_name: 'queue',
@@ -55,6 +58,7 @@ module Azure::Storage::Mgmt::V2016_01_01
55
58
  }
56
59
  },
57
60
  table: {
61
+ client_side_validation: true,
58
62
  required: false,
59
63
  read_only: true,
60
64
  serialized_name: 'table',
@@ -63,6 +67,7 @@ module Azure::Storage::Mgmt::V2016_01_01
63
67
  }
64
68
  },
65
69
  file: {
70
+ client_side_validation: true,
66
71
  required: false,
67
72
  read_only: true,
68
73
  serialized_name: 'file',
@@ -36,6 +36,7 @@ module Azure::Storage::Mgmt::V2016_01_01
36
36
  #
37
37
  def self.mapper()
38
38
  {
39
+ client_side_validation: true,
39
40
  required: false,
40
41
  serialized_name: 'Resource',
41
42
  type: {
@@ -43,6 +44,7 @@ module Azure::Storage::Mgmt::V2016_01_01
43
44
  class_name: 'Resource',
44
45
  model_properties: {
45
46
  id: {
47
+ client_side_validation: true,
46
48
  required: false,
47
49
  read_only: true,
48
50
  serialized_name: 'id',
@@ -51,6 +53,7 @@ module Azure::Storage::Mgmt::V2016_01_01
51
53
  }
52
54
  },
53
55
  name: {
56
+ client_side_validation: true,
54
57
  required: false,
55
58
  read_only: true,
56
59
  serialized_name: 'name',
@@ -59,6 +62,7 @@ module Azure::Storage::Mgmt::V2016_01_01
59
62
  }
60
63
  },
61
64
  type: {
65
+ client_side_validation: true,
62
66
  required: false,
63
67
  read_only: true,
64
68
  serialized_name: 'type',
@@ -67,6 +71,7 @@ module Azure::Storage::Mgmt::V2016_01_01
67
71
  }
68
72
  },
69
73
  location: {
74
+ client_side_validation: true,
70
75
  required: false,
71
76
  serialized_name: 'location',
72
77
  type: {
@@ -74,11 +79,13 @@ module Azure::Storage::Mgmt::V2016_01_01
74
79
  }
75
80
  },
76
81
  tags: {
82
+ client_side_validation: true,
77
83
  required: false,
78
84
  serialized_name: 'tags',
79
85
  type: {
80
86
  name: 'Dictionary',
81
87
  value: {
88
+ client_side_validation: true,
82
89
  required: false,
83
90
  serialized_name: 'StringElementType',
84
91
  type: {