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
@@ -134,9 +134,7 @@ module Azure::Storage::Mgmt::V2017_06_01
134
134
  #
135
135
  def add_telemetry
136
136
  sdk_information = 'azure_mgmt_storage'
137
- if defined? Azure::Storage::Mgmt::V2017_06_01::VERSION
138
- sdk_information = "#{sdk_information}/#{Azure::Storage::Mgmt::V2017_06_01::VERSION}"
139
- end
137
+ sdk_information = "#{sdk_information}/0.15.2"
140
138
  add_user_agent_information(sdk_information)
141
139
  end
142
140
  end
@@ -0,0 +1,88 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2017-10-01/generated/azure_mgmt_storage/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::Storage::Mgmt::V2017_10_01
23
+ autoload :Operations, '2017-10-01/generated/azure_mgmt_storage/operations.rb'
24
+ autoload :Skus, '2017-10-01/generated/azure_mgmt_storage/skus.rb'
25
+ autoload :StorageAccounts, '2017-10-01/generated/azure_mgmt_storage/storage_accounts.rb'
26
+ autoload :UsageOperations, '2017-10-01/generated/azure_mgmt_storage/usage_operations.rb'
27
+ autoload :StorageManagementClient, '2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb'
28
+
29
+ module Models
30
+ autoload :IPRule, '2017-10-01/generated/azure_mgmt_storage/models/iprule.rb'
31
+ autoload :NetworkRuleSet, '2017-10-01/generated/azure_mgmt_storage/models/network_rule_set.rb'
32
+ autoload :Dimension, '2017-10-01/generated/azure_mgmt_storage/models/dimension.rb'
33
+ autoload :Identity, '2017-10-01/generated/azure_mgmt_storage/models/identity.rb'
34
+ autoload :ServiceSpecification, '2017-10-01/generated/azure_mgmt_storage/models/service_specification.rb'
35
+ autoload :StorageAccountCreateParameters, '2017-10-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb'
36
+ autoload :OperationListResult, '2017-10-01/generated/azure_mgmt_storage/models/operation_list_result.rb'
37
+ autoload :Endpoints, '2017-10-01/generated/azure_mgmt_storage/models/endpoints.rb'
38
+ autoload :SKUCapability, '2017-10-01/generated/azure_mgmt_storage/models/skucapability.rb'
39
+ autoload :Restriction, '2017-10-01/generated/azure_mgmt_storage/models/restriction.rb'
40
+ autoload :StorageSkuListResult, '2017-10-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb'
41
+ autoload :StorageAccountKey, '2017-10-01/generated/azure_mgmt_storage/models/storage_account_key.rb'
42
+ autoload :CustomDomain, '2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb'
43
+ autoload :StorageAccountListResult, '2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb'
44
+ autoload :EncryptionServices, '2017-10-01/generated/azure_mgmt_storage/models/encryption_services.rb'
45
+ autoload :StorageAccountListKeysResult, '2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb'
46
+ autoload :Encryption, '2017-10-01/generated/azure_mgmt_storage/models/encryption.rb'
47
+ autoload :StorageAccountRegenerateKeyParameters, '2017-10-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb'
48
+ autoload :OperationDisplay, '2017-10-01/generated/azure_mgmt_storage/models/operation_display.rb'
49
+ autoload :StorageAccountUpdateParameters, '2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb'
50
+ autoload :Operation, '2017-10-01/generated/azure_mgmt_storage/models/operation.rb'
51
+ autoload :UsageName, '2017-10-01/generated/azure_mgmt_storage/models/usage_name.rb'
52
+ autoload :Sku, '2017-10-01/generated/azure_mgmt_storage/models/sku.rb'
53
+ autoload :Usage, '2017-10-01/generated/azure_mgmt_storage/models/usage.rb'
54
+ autoload :EncryptionService, '2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb'
55
+ autoload :UsageListResult, '2017-10-01/generated/azure_mgmt_storage/models/usage_list_result.rb'
56
+ autoload :VirtualNetworkRule, '2017-10-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb'
57
+ autoload :Resource, '2017-10-01/generated/azure_mgmt_storage/models/resource.rb'
58
+ autoload :StorageAccountCheckNameAvailabilityParameters, '2017-10-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
59
+ autoload :AccountSasParameters, '2017-10-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb'
60
+ autoload :KeyVaultProperties, '2017-10-01/generated/azure_mgmt_storage/models/key_vault_properties.rb'
61
+ autoload :ListAccountSasResponse, '2017-10-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb'
62
+ autoload :CheckNameAvailabilityResult, '2017-10-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb'
63
+ autoload :ServiceSasParameters, '2017-10-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb'
64
+ autoload :MetricSpecification, '2017-10-01/generated/azure_mgmt_storage/models/metric_specification.rb'
65
+ autoload :ListServiceSasResponse, '2017-10-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb'
66
+ autoload :StorageAccount, '2017-10-01/generated/azure_mgmt_storage/models/storage_account.rb'
67
+ autoload :ReasonCode, '2017-10-01/generated/azure_mgmt_storage/models/reason_code.rb'
68
+ autoload :SkuName, '2017-10-01/generated/azure_mgmt_storage/models/sku_name.rb'
69
+ autoload :SkuTier, '2017-10-01/generated/azure_mgmt_storage/models/sku_tier.rb'
70
+ autoload :Kind, '2017-10-01/generated/azure_mgmt_storage/models/kind.rb'
71
+ autoload :Reason, '2017-10-01/generated/azure_mgmt_storage/models/reason.rb'
72
+ autoload :KeySource, '2017-10-01/generated/azure_mgmt_storage/models/key_source.rb'
73
+ autoload :Action, '2017-10-01/generated/azure_mgmt_storage/models/action.rb'
74
+ autoload :State, '2017-10-01/generated/azure_mgmt_storage/models/state.rb'
75
+ autoload :Bypass, '2017-10-01/generated/azure_mgmt_storage/models/bypass.rb'
76
+ autoload :DefaultAction, '2017-10-01/generated/azure_mgmt_storage/models/default_action.rb'
77
+ autoload :AccessTier, '2017-10-01/generated/azure_mgmt_storage/models/access_tier.rb'
78
+ autoload :ProvisioningState, '2017-10-01/generated/azure_mgmt_storage/models/provisioning_state.rb'
79
+ autoload :AccountStatus, '2017-10-01/generated/azure_mgmt_storage/models/account_status.rb'
80
+ autoload :KeyPermission, '2017-10-01/generated/azure_mgmt_storage/models/key_permission.rb'
81
+ autoload :UsageUnit, '2017-10-01/generated/azure_mgmt_storage/models/usage_unit.rb'
82
+ autoload :Services, '2017-10-01/generated/azure_mgmt_storage/models/services.rb'
83
+ autoload :SignedResourceTypes, '2017-10-01/generated/azure_mgmt_storage/models/signed_resource_types.rb'
84
+ autoload :Permissions, '2017-10-01/generated/azure_mgmt_storage/models/permissions.rb'
85
+ autoload :HttpProtocol, '2017-10-01/generated/azure_mgmt_storage/models/http_protocol.rb'
86
+ autoload :SignedResource, '2017-10-01/generated/azure_mgmt_storage/models/signed_resource.rb'
87
+ end
88
+ 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 AccessTier
10
+ #
11
+ module AccessTier
12
+ Hot = "Hot"
13
+ Cool = "Cool"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,136 @@
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 parameters to list SAS credentials of a storage account.
10
+ #
11
+ class AccountSasParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Services] The signed services accessible with the account SAS.
16
+ # Possible values include: Blob (b), Queue (q), Table (t), File (f).
17
+ # Possible values include: 'b', 'q', 't', 'f'
18
+ attr_accessor :services
19
+
20
+ # @return [SignedResourceTypes] The signed resource types that are
21
+ # accessible with the account SAS. Service (s): Access to service-level
22
+ # APIs; Container (c): Access to container-level APIs; Object (o): Access
23
+ # to object-level APIs for blobs, queue messages, table entities, and
24
+ # files. Possible values include: 's', 'c', 'o'
25
+ attr_accessor :resource_types
26
+
27
+ # @return [Permissions] The signed permissions for the account SAS.
28
+ # Possible values include: Read (r), Write (w), Delete (d), List (l), Add
29
+ # (a), Create (c), Update (u) and Process (p). Possible values include:
30
+ # 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
31
+ attr_accessor :permissions
32
+
33
+ # @return [String] An IP address or a range of IP addresses from which to
34
+ # accept requests.
35
+ attr_accessor :ipaddress_or_range
36
+
37
+ # @return [HttpProtocol] The protocol permitted for a request made with
38
+ # the account SAS. Possible values include: 'https,http', 'https'
39
+ attr_accessor :protocols
40
+
41
+ # @return [DateTime] The time at which the SAS becomes valid.
42
+ attr_accessor :shared_access_start_time
43
+
44
+ # @return [DateTime] The time at which the shared access signature
45
+ # becomes invalid.
46
+ attr_accessor :shared_access_expiry_time
47
+
48
+ # @return [String] The key to sign the account SAS token with.
49
+ attr_accessor :key_to_sign
50
+
51
+
52
+ #
53
+ # Mapper for AccountSasParameters class as Ruby Hash.
54
+ # This will be used for serialization/deserialization.
55
+ #
56
+ def self.mapper()
57
+ {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'AccountSasParameters',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'AccountSasParameters',
64
+ model_properties: {
65
+ services: {
66
+ client_side_validation: true,
67
+ required: true,
68
+ serialized_name: 'signedServices',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ resource_types: {
74
+ client_side_validation: true,
75
+ required: true,
76
+ serialized_name: 'signedResourceTypes',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ permissions: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'signedPermission',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ ipaddress_or_range: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'signedIp',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ protocols: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'signedProtocol',
101
+ type: {
102
+ name: 'Enum',
103
+ module: 'HttpProtocol'
104
+ }
105
+ },
106
+ shared_access_start_time: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'signedStart',
110
+ type: {
111
+ name: 'DateTime'
112
+ }
113
+ },
114
+ shared_access_expiry_time: {
115
+ client_side_validation: true,
116
+ required: true,
117
+ serialized_name: 'signedExpiry',
118
+ type: {
119
+ name: 'DateTime'
120
+ }
121
+ },
122
+ key_to_sign: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ serialized_name: 'keyToSign',
126
+ type: {
127
+ name: 'String'
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ end
134
+ end
135
+ end
136
+ 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 AccountStatus
10
+ #
11
+ module AccountStatus
12
+ Available = "available"
13
+ Unavailable = "unavailable"
14
+ end
15
+ end
16
+ end
@@ -3,6 +3,13 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::Storage::Mgmt::V2015_06_15
7
- VERSION = '0.15.1'
6
+ module Azure::Storage::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # Defines values for Action
10
+ #
11
+ module Action
12
+ Allow = "Allow"
13
+ end
14
+ end
8
15
  end
@@ -0,0 +1,18 @@
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 Bypass
10
+ #
11
+ module Bypass
12
+ None = "None"
13
+ Logging = "Logging"
14
+ Metrics = "Metrics"
15
+ AzureServices = "AzureServices"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,77 @@
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 CheckNameAvailability operation response.
10
+ #
11
+ class CheckNameAvailabilityResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Gets a boolean value that indicates whether the name
16
+ # is available for you to use. If true, the name is available. If false,
17
+ # the name has already been taken or is invalid and cannot be used.
18
+ attr_accessor :name_available
19
+
20
+ # @return [Reason] Gets the reason that a storage account name could not
21
+ # be used. The Reason element is only returned if NameAvailable is false.
22
+ # Possible values include: 'AccountNameInvalid', 'AlreadyExists'
23
+ attr_accessor :reason
24
+
25
+ # @return [String] Gets an error message explaining the Reason value in
26
+ # more detail.
27
+ attr_accessor :message
28
+
29
+
30
+ #
31
+ # Mapper for CheckNameAvailabilityResult class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'CheckNameAvailabilityResult',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'CheckNameAvailabilityResult',
42
+ model_properties: {
43
+ name_available: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'nameAvailable',
48
+ type: {
49
+ name: 'Boolean'
50
+ }
51
+ },
52
+ reason: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'reason',
57
+ type: {
58
+ name: 'Enum',
59
+ module: 'Reason'
60
+ }
61
+ },
62
+ message: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'message',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,60 @@
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 custom domain assigned to this storage account. This can be set via
10
+ # Update.
11
+ #
12
+ class CustomDomain
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Gets or sets the custom domain name assigned to the
17
+ # storage account. Name is the CNAME source.
18
+ attr_accessor :name
19
+
20
+ # @return [Boolean] Indicates whether indirect CName validation is
21
+ # enabled. Default value is false. This should only be set on updates.
22
+ attr_accessor :use_sub_domain
23
+
24
+
25
+ #
26
+ # Mapper for CustomDomain 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: 'CustomDomain',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'CustomDomain',
37
+ model_properties: {
38
+ name: {
39
+ client_side_validation: true,
40
+ required: true,
41
+ serialized_name: 'name',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ use_sub_domain: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'useSubDomain',
50
+ type: {
51
+ name: 'Boolean'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end