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
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # Defines values for DefaultAction
10
+ #
11
+ module DefaultAction
12
+ Allow = "Allow"
13
+ Deny = "Deny"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # Dimension of blobs, possiblly be blob type or access tier.
10
+ #
11
+ class Dimension
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Display name of dimension.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Display name of dimension.
19
+ attr_accessor :display_name
20
+
21
+
22
+ #
23
+ # Mapper for Dimension class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'Dimension',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Dimension',
34
+ model_properties: {
35
+ name: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'name',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ display_name: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'displayName',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,74 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # The encryption settings on the storage account.
10
+ #
11
+ class Encryption
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EncryptionServices] List of services which support encryption.
16
+ attr_accessor :services
17
+
18
+ # @return [KeySource] The encryption keySource (provider). Possible
19
+ # values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault.
20
+ # Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.
21
+ # Default value: 'Microsoft.Storage' .
22
+ attr_accessor :key_source
23
+
24
+ # @return [KeyVaultProperties] Properties provided by key vault.
25
+ attr_accessor :key_vault_properties
26
+
27
+
28
+ #
29
+ # Mapper for Encryption class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'Encryption',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'Encryption',
40
+ model_properties: {
41
+ services: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'services',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'EncryptionServices'
48
+ }
49
+ },
50
+ key_source: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'keySource',
54
+ default_value: 'Microsoft.Storage',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ key_vault_properties: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'keyvaultproperties',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'KeyVaultProperties'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,62 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # A service that allows server-side encryption to be used.
10
+ #
11
+ class EncryptionService
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] A boolean indicating whether or not the service
16
+ # encrypts the data as it is stored.
17
+ attr_accessor :enabled
18
+
19
+ # @return [DateTime] Gets a rough estimate of the date/time when the
20
+ # encryption was last enabled by the user. Only returned when encryption
21
+ # is enabled. There might be some unencrypted blobs which were written
22
+ # after this time, as it is just a rough estimate.
23
+ attr_accessor :last_enabled_time
24
+
25
+
26
+ #
27
+ # Mapper for EncryptionService class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'EncryptionService',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'EncryptionService',
38
+ model_properties: {
39
+ enabled: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'enabled',
43
+ type: {
44
+ name: 'Boolean'
45
+ }
46
+ },
47
+ last_enabled_time: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'lastEnabledTime',
52
+ type: {
53
+ name: 'DateTime'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,89 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # A list of services that support encryption.
10
+ #
11
+ class EncryptionServices
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EncryptionService] The encryption function of the blob storage
16
+ # service.
17
+ attr_accessor :blob
18
+
19
+ # @return [EncryptionService] The encryption function of the file storage
20
+ # service.
21
+ attr_accessor :file
22
+
23
+ # @return [EncryptionService] The encryption function of the table
24
+ # storage service.
25
+ attr_accessor :table
26
+
27
+ # @return [EncryptionService] The encryption function of the queue
28
+ # storage service.
29
+ attr_accessor :queue
30
+
31
+
32
+ #
33
+ # Mapper for EncryptionServices class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'EncryptionServices',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'EncryptionServices',
44
+ model_properties: {
45
+ blob: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'blob',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'EncryptionService'
52
+ }
53
+ },
54
+ file: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'file',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'EncryptionService'
61
+ }
62
+ },
63
+ table: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'table',
68
+ type: {
69
+ name: 'Composite',
70
+ class_name: 'EncryptionService'
71
+ }
72
+ },
73
+ queue: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'queue',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'EncryptionService'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,84 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # The URIs that are used to perform a retrieval of a public blob, queue, or
10
+ # table object.
11
+ #
12
+ class Endpoints
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Gets the blob endpoint.
17
+ attr_accessor :blob
18
+
19
+ # @return [String] Gets the queue endpoint.
20
+ attr_accessor :queue
21
+
22
+ # @return [String] Gets the table endpoint.
23
+ attr_accessor :table
24
+
25
+ # @return [String] Gets the file endpoint.
26
+ attr_accessor :file
27
+
28
+
29
+ #
30
+ # Mapper for Endpoints class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'Endpoints',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'Endpoints',
41
+ model_properties: {
42
+ blob: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'blob',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ queue: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'queue',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ table: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'table',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ file: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'file',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # Defines values for HttpProtocol
10
+ #
11
+ module HttpProtocol
12
+ Httpshttp = "https,http"
13
+ Https = "https"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,72 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # Identity for the resource.
10
+ #
11
+ class Identity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal ID of resource identity.
16
+ attr_accessor :principal_id
17
+
18
+ # @return [String] The tenant ID of resource.
19
+ attr_accessor :tenant_id
20
+
21
+ # @return [String] The identity type. Default value: 'SystemAssigned' .
22
+ attr_accessor :type
23
+
24
+
25
+ #
26
+ # Mapper for Identity class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'Identity',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'Identity',
37
+ model_properties: {
38
+ principal_id: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'principalId',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ tenant_id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'tenantId',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ type: {
57
+ client_side_validation: true,
58
+ required: true,
59
+ is_constant: true,
60
+ serialized_name: 'type',
61
+ default_value: 'SystemAssigned',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end