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,141 @@
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
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class StorageManagementClient < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] Gets subscription credentials which uniquely identify
21
+ # the Microsoft Azure subscription. The subscription ID forms part of the
22
+ # URI for every service call.
23
+ attr_accessor :subscription_id
24
+
25
+ # @return [String] Client Api Version.
26
+ attr_reader :api_version
27
+
28
+ # @return [String] Gets or sets the preferred language for the response.
29
+ attr_accessor :accept_language
30
+
31
+ # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
+ # Running Operations. Default value is 30.
33
+ attr_accessor :long_running_operation_retry_timeout
34
+
35
+ # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
+ # is generated and included in each request. Default is true.
37
+ attr_accessor :generate_client_request_id
38
+
39
+ # @return [Operations] operations
40
+ attr_reader :operations
41
+
42
+ # @return [Skus] skus
43
+ attr_reader :skus
44
+
45
+ # @return [StorageAccounts] storage_accounts
46
+ attr_reader :storage_accounts
47
+
48
+ # @return [UsageOperations] usage_operations
49
+ attr_reader :usage_operations
50
+
51
+ #
52
+ # Creates initializes a new instance of the StorageManagementClient class.
53
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
54
+ # @param base_url [String] the base URI of the service.
55
+ # @param options [Array] filters to be applied to the HTTP requests.
56
+ #
57
+ def initialize(credentials = nil, base_url = nil, options = nil)
58
+ super(credentials, options)
59
+ @base_url = base_url || 'https://management.azure.com'
60
+
61
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
62
+ @credentials = credentials
63
+
64
+ @operations = Operations.new(self)
65
+ @skus = Skus.new(self)
66
+ @storage_accounts = StorageAccounts.new(self)
67
+ @usage_operations = UsageOperations.new(self)
68
+ @api_version = '2017-10-01'
69
+ @accept_language = 'en-US'
70
+ @long_running_operation_retry_timeout = 30
71
+ @generate_client_request_id = true
72
+ add_telemetry
73
+ end
74
+
75
+ #
76
+ # Makes a request and returns the body of the response.
77
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
78
+ # @param path [String] the path, relative to {base_url}.
79
+ # @param options [Hash{String=>String}] specifying any request options like :body.
80
+ # @return [Hash{String=>String}] containing the body of the response.
81
+ # Example:
82
+ #
83
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
84
+ # path = "/path"
85
+ # options = {
86
+ # body: request_content,
87
+ # query_params: {'api-version' => '2016-02-01'}
88
+ # }
89
+ # result = @client.make_request(:put, path, options)
90
+ #
91
+ def make_request(method, path, options = {})
92
+ result = make_request_with_http_info(method, path, options)
93
+ result.body unless result.nil?
94
+ end
95
+
96
+ #
97
+ # Makes a request and returns the operation response.
98
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
99
+ # @param path [String] the path, relative to {base_url}.
100
+ # @param options [Hash{String=>String}] specifying any request options like :body.
101
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
102
+ #
103
+ def make_request_with_http_info(method, path, options = {})
104
+ result = make_request_async(method, path, options).value!
105
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
106
+ result
107
+ end
108
+
109
+ #
110
+ # Makes a request asynchronously.
111
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
112
+ # @param path [String] the path, relative to {base_url}.
113
+ # @param options [Hash{String=>String}] specifying any request options like :body.
114
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
115
+ #
116
+ def make_request_async(method, path, options = {})
117
+ fail ArgumentError, 'method is nil' if method.nil?
118
+ fail ArgumentError, 'path is nil' if path.nil?
119
+
120
+ request_url = options[:base_url] || @base_url
121
+
122
+ request_headers = @request_headers
123
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
124
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
125
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
126
+
127
+ super(request_url, method, path, options)
128
+ end
129
+
130
+
131
+ private
132
+ #
133
+ # Adds telemetry information.
134
+ #
135
+ def add_telemetry
136
+ sdk_information = 'azure_mgmt_storage'
137
+ sdk_information = "#{sdk_information}/0.15.2"
138
+ add_user_agent_information(sdk_information)
139
+ end
140
+ end
141
+ end
@@ -0,0 +1,111 @@
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
+ #
8
+ # The Azure Storage Management API.
9
+ #
10
+ class UsageOperations
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the UsageOperations class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [StorageManagementClient] reference to the StorageManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets the current usage count and the limit for the resources under the
26
+ # subscription.
27
+ #
28
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
29
+ # will be added to the HTTP request.
30
+ #
31
+ # @return [UsageListResult] operation results.
32
+ #
33
+ def list(custom_headers = nil)
34
+ response = list_async(custom_headers).value!
35
+ response.body unless response.nil?
36
+ end
37
+
38
+ #
39
+ # Gets the current usage count and the limit for the resources under the
40
+ # subscription.
41
+ #
42
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
43
+ # will be added to the HTTP request.
44
+ #
45
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
46
+ #
47
+ def list_with_http_info(custom_headers = nil)
48
+ list_async(custom_headers).value!
49
+ end
50
+
51
+ #
52
+ # Gets the current usage count and the limit for the resources under the
53
+ # subscription.
54
+ #
55
+ # @param [Hash{String => String}] A hash of custom headers that will be added
56
+ # to the HTTP request.
57
+ #
58
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
59
+ #
60
+ def list_async(custom_headers = nil)
61
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
62
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
63
+
64
+
65
+ request_headers = {}
66
+
67
+ # Set Headers
68
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
69
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
70
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Storage/usages'
71
+
72
+ request_url = @base_url || @client.base_url
73
+
74
+ options = {
75
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
76
+ path_params: {'subscriptionId' => @client.subscription_id},
77
+ query_params: {'api-version' => @client.api_version},
78
+ headers: request_headers.merge(custom_headers || {}),
79
+ base_url: request_url
80
+ }
81
+ promise = @client.make_request_async(:get, path_template, options)
82
+
83
+ promise = promise.then do |result|
84
+ http_response = result.response
85
+ status_code = http_response.status
86
+ response_content = http_response.body
87
+ unless status_code == 200
88
+ error_model = JSON.load(response_content)
89
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
90
+ end
91
+
92
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
93
+ # Deserialize Response
94
+ if status_code == 200
95
+ begin
96
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
97
+ result_mapper = Azure::Storage::Mgmt::V2017_10_01::Models::UsageListResult.mapper()
98
+ result.body = @client.deserialize(result_mapper, parsed_response)
99
+ rescue Exception => e
100
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
101
+ end
102
+ end
103
+
104
+ result
105
+ end
106
+
107
+ promise.execute
108
+ end
109
+
110
+ end
111
+ end
@@ -7,5 +7,6 @@ require '2015-06-15/generated/azure_mgmt_storage'
7
7
  require '2016-01-01/generated/azure_mgmt_storage'
8
8
  require '2016-12-01/generated/azure_mgmt_storage'
9
9
  require '2017-06-01/generated/azure_mgmt_storage'
10
+ require '2017-10-01/generated/azure_mgmt_storage'
10
11
  require 'profiles/latest/storage_latest_profile_client'
11
12
  require 'profiles/v2017_03_09/storage_v2017_03_09_profile_client'
@@ -5,69 +5,69 @@
5
5
  require 'azure_mgmt_storage'
6
6
 
7
7
  module Azure::Storage::Profiles::Latest::Mgmt
8
- Operations = Azure::Storage::Mgmt::V2017_06_01::Operations
9
- Skus = Azure::Storage::Mgmt::V2017_06_01::Skus
10
- StorageAccounts = Azure::Storage::Mgmt::V2017_06_01::StorageAccounts
11
- UsageOperations = Azure::Storage::Mgmt::V2017_06_01::UsageOperations
8
+ Operations = Azure::Storage::Mgmt::V2017_10_01::Operations
9
+ Skus = Azure::Storage::Mgmt::V2017_10_01::Skus
10
+ StorageAccounts = Azure::Storage::Mgmt::V2017_10_01::StorageAccounts
11
+ UsageOperations = Azure::Storage::Mgmt::V2017_10_01::UsageOperations
12
12
 
13
13
  module Models
14
- IPRule = Azure::Storage::Mgmt::V2017_06_01::Models::IPRule
15
- NetworkRuleSet = Azure::Storage::Mgmt::V2017_06_01::Models::NetworkRuleSet
16
- Dimension = Azure::Storage::Mgmt::V2017_06_01::Models::Dimension
17
- Identity = Azure::Storage::Mgmt::V2017_06_01::Models::Identity
18
- ServiceSpecification = Azure::Storage::Mgmt::V2017_06_01::Models::ServiceSpecification
19
- StorageAccountCreateParameters = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountCreateParameters
20
- OperationListResult = Azure::Storage::Mgmt::V2017_06_01::Models::OperationListResult
21
- Endpoints = Azure::Storage::Mgmt::V2017_06_01::Models::Endpoints
22
- SKUCapability = Azure::Storage::Mgmt::V2017_06_01::Models::SKUCapability
23
- Restriction = Azure::Storage::Mgmt::V2017_06_01::Models::Restriction
24
- StorageSkuListResult = Azure::Storage::Mgmt::V2017_06_01::Models::StorageSkuListResult
25
- StorageAccountKey = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountKey
26
- CustomDomain = Azure::Storage::Mgmt::V2017_06_01::Models::CustomDomain
27
- StorageAccountListResult = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountListResult
28
- EncryptionServices = Azure::Storage::Mgmt::V2017_06_01::Models::EncryptionServices
29
- StorageAccountListKeysResult = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountListKeysResult
30
- Encryption = Azure::Storage::Mgmt::V2017_06_01::Models::Encryption
31
- StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountRegenerateKeyParameters
32
- OperationDisplay = Azure::Storage::Mgmt::V2017_06_01::Models::OperationDisplay
33
- StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountUpdateParameters
34
- Operation = Azure::Storage::Mgmt::V2017_06_01::Models::Operation
35
- UsageName = Azure::Storage::Mgmt::V2017_06_01::Models::UsageName
36
- Sku = Azure::Storage::Mgmt::V2017_06_01::Models::Sku
37
- Usage = Azure::Storage::Mgmt::V2017_06_01::Models::Usage
38
- EncryptionService = Azure::Storage::Mgmt::V2017_06_01::Models::EncryptionService
39
- UsageListResult = Azure::Storage::Mgmt::V2017_06_01::Models::UsageListResult
40
- VirtualNetworkRule = Azure::Storage::Mgmt::V2017_06_01::Models::VirtualNetworkRule
41
- Resource = Azure::Storage::Mgmt::V2017_06_01::Models::Resource
42
- StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountCheckNameAvailabilityParameters
43
- AccountSasParameters = Azure::Storage::Mgmt::V2017_06_01::Models::AccountSasParameters
44
- KeyVaultProperties = Azure::Storage::Mgmt::V2017_06_01::Models::KeyVaultProperties
45
- ListAccountSasResponse = Azure::Storage::Mgmt::V2017_06_01::Models::ListAccountSasResponse
46
- CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2017_06_01::Models::CheckNameAvailabilityResult
47
- ServiceSasParameters = Azure::Storage::Mgmt::V2017_06_01::Models::ServiceSasParameters
48
- MetricSpecification = Azure::Storage::Mgmt::V2017_06_01::Models::MetricSpecification
49
- ListServiceSasResponse = Azure::Storage::Mgmt::V2017_06_01::Models::ListServiceSasResponse
50
- StorageAccount = Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccount
51
- ReasonCode = Azure::Storage::Mgmt::V2017_06_01::Models::ReasonCode
52
- SkuName = Azure::Storage::Mgmt::V2017_06_01::Models::SkuName
53
- SkuTier = Azure::Storage::Mgmt::V2017_06_01::Models::SkuTier
54
- Kind = Azure::Storage::Mgmt::V2017_06_01::Models::Kind
55
- Reason = Azure::Storage::Mgmt::V2017_06_01::Models::Reason
56
- KeySource = Azure::Storage::Mgmt::V2017_06_01::Models::KeySource
57
- Action = Azure::Storage::Mgmt::V2017_06_01::Models::Action
58
- State = Azure::Storage::Mgmt::V2017_06_01::Models::State
59
- Bypass = Azure::Storage::Mgmt::V2017_06_01::Models::Bypass
60
- DefaultAction = Azure::Storage::Mgmt::V2017_06_01::Models::DefaultAction
61
- AccessTier = Azure::Storage::Mgmt::V2017_06_01::Models::AccessTier
62
- ProvisioningState = Azure::Storage::Mgmt::V2017_06_01::Models::ProvisioningState
63
- AccountStatus = Azure::Storage::Mgmt::V2017_06_01::Models::AccountStatus
64
- KeyPermission = Azure::Storage::Mgmt::V2017_06_01::Models::KeyPermission
65
- UsageUnit = Azure::Storage::Mgmt::V2017_06_01::Models::UsageUnit
66
- Services = Azure::Storage::Mgmt::V2017_06_01::Models::Services
67
- SignedResourceTypes = Azure::Storage::Mgmt::V2017_06_01::Models::SignedResourceTypes
68
- Permissions = Azure::Storage::Mgmt::V2017_06_01::Models::Permissions
69
- HttpProtocol = Azure::Storage::Mgmt::V2017_06_01::Models::HttpProtocol
70
- SignedResource = Azure::Storage::Mgmt::V2017_06_01::Models::SignedResource
14
+ IPRule = Azure::Storage::Mgmt::V2017_10_01::Models::IPRule
15
+ NetworkRuleSet = Azure::Storage::Mgmt::V2017_10_01::Models::NetworkRuleSet
16
+ Dimension = Azure::Storage::Mgmt::V2017_10_01::Models::Dimension
17
+ Identity = Azure::Storage::Mgmt::V2017_10_01::Models::Identity
18
+ ServiceSpecification = Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSpecification
19
+ StorageAccountCreateParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCreateParameters
20
+ OperationListResult = Azure::Storage::Mgmt::V2017_10_01::Models::OperationListResult
21
+ Endpoints = Azure::Storage::Mgmt::V2017_10_01::Models::Endpoints
22
+ SKUCapability = Azure::Storage::Mgmt::V2017_10_01::Models::SKUCapability
23
+ Restriction = Azure::Storage::Mgmt::V2017_10_01::Models::Restriction
24
+ StorageSkuListResult = Azure::Storage::Mgmt::V2017_10_01::Models::StorageSkuListResult
25
+ StorageAccountKey = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountKey
26
+ CustomDomain = Azure::Storage::Mgmt::V2017_10_01::Models::CustomDomain
27
+ StorageAccountListResult = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListResult
28
+ EncryptionServices = Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionServices
29
+ StorageAccountListKeysResult = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListKeysResult
30
+ Encryption = Azure::Storage::Mgmt::V2017_10_01::Models::Encryption
31
+ StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountRegenerateKeyParameters
32
+ OperationDisplay = Azure::Storage::Mgmt::V2017_10_01::Models::OperationDisplay
33
+ StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountUpdateParameters
34
+ Operation = Azure::Storage::Mgmt::V2017_10_01::Models::Operation
35
+ UsageName = Azure::Storage::Mgmt::V2017_10_01::Models::UsageName
36
+ Sku = Azure::Storage::Mgmt::V2017_10_01::Models::Sku
37
+ Usage = Azure::Storage::Mgmt::V2017_10_01::Models::Usage
38
+ EncryptionService = Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionService
39
+ UsageListResult = Azure::Storage::Mgmt::V2017_10_01::Models::UsageListResult
40
+ VirtualNetworkRule = Azure::Storage::Mgmt::V2017_10_01::Models::VirtualNetworkRule
41
+ Resource = Azure::Storage::Mgmt::V2017_10_01::Models::Resource
42
+ StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCheckNameAvailabilityParameters
43
+ AccountSasParameters = Azure::Storage::Mgmt::V2017_10_01::Models::AccountSasParameters
44
+ KeyVaultProperties = Azure::Storage::Mgmt::V2017_10_01::Models::KeyVaultProperties
45
+ ListAccountSasResponse = Azure::Storage::Mgmt::V2017_10_01::Models::ListAccountSasResponse
46
+ CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2017_10_01::Models::CheckNameAvailabilityResult
47
+ ServiceSasParameters = Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSasParameters
48
+ MetricSpecification = Azure::Storage::Mgmt::V2017_10_01::Models::MetricSpecification
49
+ ListServiceSasResponse = Azure::Storage::Mgmt::V2017_10_01::Models::ListServiceSasResponse
50
+ StorageAccount = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccount
51
+ ReasonCode = Azure::Storage::Mgmt::V2017_10_01::Models::ReasonCode
52
+ SkuName = Azure::Storage::Mgmt::V2017_10_01::Models::SkuName
53
+ SkuTier = Azure::Storage::Mgmt::V2017_10_01::Models::SkuTier
54
+ Kind = Azure::Storage::Mgmt::V2017_10_01::Models::Kind
55
+ Reason = Azure::Storage::Mgmt::V2017_10_01::Models::Reason
56
+ KeySource = Azure::Storage::Mgmt::V2017_10_01::Models::KeySource
57
+ Action = Azure::Storage::Mgmt::V2017_10_01::Models::Action
58
+ State = Azure::Storage::Mgmt::V2017_10_01::Models::State
59
+ Bypass = Azure::Storage::Mgmt::V2017_10_01::Models::Bypass
60
+ DefaultAction = Azure::Storage::Mgmt::V2017_10_01::Models::DefaultAction
61
+ AccessTier = Azure::Storage::Mgmt::V2017_10_01::Models::AccessTier
62
+ ProvisioningState = Azure::Storage::Mgmt::V2017_10_01::Models::ProvisioningState
63
+ AccountStatus = Azure::Storage::Mgmt::V2017_10_01::Models::AccountStatus
64
+ KeyPermission = Azure::Storage::Mgmt::V2017_10_01::Models::KeyPermission
65
+ UsageUnit = Azure::Storage::Mgmt::V2017_10_01::Models::UsageUnit
66
+ Services = Azure::Storage::Mgmt::V2017_10_01::Models::Services
67
+ SignedResourceTypes = Azure::Storage::Mgmt::V2017_10_01::Models::SignedResourceTypes
68
+ Permissions = Azure::Storage::Mgmt::V2017_10_01::Models::Permissions
69
+ HttpProtocol = Azure::Storage::Mgmt::V2017_10_01::Models::HttpProtocol
70
+ SignedResource = Azure::Storage::Mgmt::V2017_10_01::Models::SignedResource
71
71
  end
72
72
 
73
73
  #
@@ -87,7 +87,7 @@ module Azure::Storage::Profiles::Latest::Mgmt
87
87
 
88
88
  @configurable, @base_url, @options = self, nil, nil
89
89
 
90
- client_0 = Azure::Storage::Mgmt::V2017_06_01::StorageManagementClient.new(configurable.credentials, base_url, options)
90
+ client_0 = Azure::Storage::Mgmt::V2017_10_01::StorageManagementClient.new(configurable.credentials, base_url, options)
91
91
  if(client_0.respond_to?(:subscription_id))
92
92
  client_0.subscription_id = configurable.subscription_id
93
93
  end
@@ -101,175 +101,175 @@ module Azure::Storage::Profiles::Latest::Mgmt
101
101
 
102
102
  class ModelClasses
103
103
  def iprule
104
- Azure::Storage::Mgmt::V2017_06_01::Models::IPRule
104
+ Azure::Storage::Mgmt::V2017_10_01::Models::IPRule
105
105
  end
106
106
  def network_rule_set
107
- Azure::Storage::Mgmt::V2017_06_01::Models::NetworkRuleSet
107
+ Azure::Storage::Mgmt::V2017_10_01::Models::NetworkRuleSet
108
108
  end
109
109
  def dimension
110
- Azure::Storage::Mgmt::V2017_06_01::Models::Dimension
110
+ Azure::Storage::Mgmt::V2017_10_01::Models::Dimension
111
111
  end
112
112
  def identity
113
- Azure::Storage::Mgmt::V2017_06_01::Models::Identity
113
+ Azure::Storage::Mgmt::V2017_10_01::Models::Identity
114
114
  end
115
115
  def service_specification
116
- Azure::Storage::Mgmt::V2017_06_01::Models::ServiceSpecification
116
+ Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSpecification
117
117
  end
118
118
  def storage_account_create_parameters
119
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountCreateParameters
119
+ Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCreateParameters
120
120
  end
121
121
  def operation_list_result
122
- Azure::Storage::Mgmt::V2017_06_01::Models::OperationListResult
122
+ Azure::Storage::Mgmt::V2017_10_01::Models::OperationListResult
123
123
  end
124
124
  def endpoints
125
- Azure::Storage::Mgmt::V2017_06_01::Models::Endpoints
125
+ Azure::Storage::Mgmt::V2017_10_01::Models::Endpoints
126
126
  end
127
127
  def skucapability
128
- Azure::Storage::Mgmt::V2017_06_01::Models::SKUCapability
128
+ Azure::Storage::Mgmt::V2017_10_01::Models::SKUCapability
129
129
  end
130
130
  def restriction
131
- Azure::Storage::Mgmt::V2017_06_01::Models::Restriction
131
+ Azure::Storage::Mgmt::V2017_10_01::Models::Restriction
132
132
  end
133
133
  def storage_sku_list_result
134
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageSkuListResult
134
+ Azure::Storage::Mgmt::V2017_10_01::Models::StorageSkuListResult
135
135
  end
136
136
  def storage_account_key
137
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountKey
137
+ Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountKey
138
138
  end
139
139
  def custom_domain
140
- Azure::Storage::Mgmt::V2017_06_01::Models::CustomDomain
140
+ Azure::Storage::Mgmt::V2017_10_01::Models::CustomDomain
141
141
  end
142
142
  def storage_account_list_result
143
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountListResult
143
+ Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListResult
144
144
  end
145
145
  def encryption_services
146
- Azure::Storage::Mgmt::V2017_06_01::Models::EncryptionServices
146
+ Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionServices
147
147
  end
148
148
  def storage_account_list_keys_result
149
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountListKeysResult
149
+ Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListKeysResult
150
150
  end
151
151
  def encryption
152
- Azure::Storage::Mgmt::V2017_06_01::Models::Encryption
152
+ Azure::Storage::Mgmt::V2017_10_01::Models::Encryption
153
153
  end
154
154
  def storage_account_regenerate_key_parameters
155
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountRegenerateKeyParameters
155
+ Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountRegenerateKeyParameters
156
156
  end
157
157
  def operation_display
158
- Azure::Storage::Mgmt::V2017_06_01::Models::OperationDisplay
158
+ Azure::Storage::Mgmt::V2017_10_01::Models::OperationDisplay
159
159
  end
160
160
  def storage_account_update_parameters
161
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountUpdateParameters
161
+ Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountUpdateParameters
162
162
  end
163
163
  def operation
164
- Azure::Storage::Mgmt::V2017_06_01::Models::Operation
164
+ Azure::Storage::Mgmt::V2017_10_01::Models::Operation
165
165
  end
166
166
  def usage_name
167
- Azure::Storage::Mgmt::V2017_06_01::Models::UsageName
167
+ Azure::Storage::Mgmt::V2017_10_01::Models::UsageName
168
168
  end
169
169
  def sku
170
- Azure::Storage::Mgmt::V2017_06_01::Models::Sku
170
+ Azure::Storage::Mgmt::V2017_10_01::Models::Sku
171
171
  end
172
172
  def usage
173
- Azure::Storage::Mgmt::V2017_06_01::Models::Usage
173
+ Azure::Storage::Mgmt::V2017_10_01::Models::Usage
174
174
  end
175
175
  def encryption_service
176
- Azure::Storage::Mgmt::V2017_06_01::Models::EncryptionService
176
+ Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionService
177
177
  end
178
178
  def usage_list_result
179
- Azure::Storage::Mgmt::V2017_06_01::Models::UsageListResult
179
+ Azure::Storage::Mgmt::V2017_10_01::Models::UsageListResult
180
180
  end
181
181
  def virtual_network_rule
182
- Azure::Storage::Mgmt::V2017_06_01::Models::VirtualNetworkRule
182
+ Azure::Storage::Mgmt::V2017_10_01::Models::VirtualNetworkRule
183
183
  end
184
184
  def resource
185
- Azure::Storage::Mgmt::V2017_06_01::Models::Resource
185
+ Azure::Storage::Mgmt::V2017_10_01::Models::Resource
186
186
  end
187
187
  def storage_account_check_name_availability_parameters
188
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccountCheckNameAvailabilityParameters
188
+ Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCheckNameAvailabilityParameters
189
189
  end
190
190
  def account_sas_parameters
191
- Azure::Storage::Mgmt::V2017_06_01::Models::AccountSasParameters
191
+ Azure::Storage::Mgmt::V2017_10_01::Models::AccountSasParameters
192
192
  end
193
193
  def key_vault_properties
194
- Azure::Storage::Mgmt::V2017_06_01::Models::KeyVaultProperties
194
+ Azure::Storage::Mgmt::V2017_10_01::Models::KeyVaultProperties
195
195
  end
196
196
  def list_account_sas_response
197
- Azure::Storage::Mgmt::V2017_06_01::Models::ListAccountSasResponse
197
+ Azure::Storage::Mgmt::V2017_10_01::Models::ListAccountSasResponse
198
198
  end
199
199
  def check_name_availability_result
200
- Azure::Storage::Mgmt::V2017_06_01::Models::CheckNameAvailabilityResult
200
+ Azure::Storage::Mgmt::V2017_10_01::Models::CheckNameAvailabilityResult
201
201
  end
202
202
  def service_sas_parameters
203
- Azure::Storage::Mgmt::V2017_06_01::Models::ServiceSasParameters
203
+ Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSasParameters
204
204
  end
205
205
  def metric_specification
206
- Azure::Storage::Mgmt::V2017_06_01::Models::MetricSpecification
206
+ Azure::Storage::Mgmt::V2017_10_01::Models::MetricSpecification
207
207
  end
208
208
  def list_service_sas_response
209
- Azure::Storage::Mgmt::V2017_06_01::Models::ListServiceSasResponse
209
+ Azure::Storage::Mgmt::V2017_10_01::Models::ListServiceSasResponse
210
210
  end
211
211
  def storage_account
212
- Azure::Storage::Mgmt::V2017_06_01::Models::StorageAccount
212
+ Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccount
213
213
  end
214
214
  def reason_code
215
- Azure::Storage::Mgmt::V2017_06_01::Models::ReasonCode
215
+ Azure::Storage::Mgmt::V2017_10_01::Models::ReasonCode
216
216
  end
217
217
  def sku_name
218
- Azure::Storage::Mgmt::V2017_06_01::Models::SkuName
218
+ Azure::Storage::Mgmt::V2017_10_01::Models::SkuName
219
219
  end
220
220
  def sku_tier
221
- Azure::Storage::Mgmt::V2017_06_01::Models::SkuTier
221
+ Azure::Storage::Mgmt::V2017_10_01::Models::SkuTier
222
222
  end
223
223
  def kind
224
- Azure::Storage::Mgmt::V2017_06_01::Models::Kind
224
+ Azure::Storage::Mgmt::V2017_10_01::Models::Kind
225
225
  end
226
226
  def reason
227
- Azure::Storage::Mgmt::V2017_06_01::Models::Reason
227
+ Azure::Storage::Mgmt::V2017_10_01::Models::Reason
228
228
  end
229
229
  def key_source
230
- Azure::Storage::Mgmt::V2017_06_01::Models::KeySource
230
+ Azure::Storage::Mgmt::V2017_10_01::Models::KeySource
231
231
  end
232
232
  def action
233
- Azure::Storage::Mgmt::V2017_06_01::Models::Action
233
+ Azure::Storage::Mgmt::V2017_10_01::Models::Action
234
234
  end
235
235
  def state
236
- Azure::Storage::Mgmt::V2017_06_01::Models::State
236
+ Azure::Storage::Mgmt::V2017_10_01::Models::State
237
237
  end
238
238
  def bypass
239
- Azure::Storage::Mgmt::V2017_06_01::Models::Bypass
239
+ Azure::Storage::Mgmt::V2017_10_01::Models::Bypass
240
240
  end
241
241
  def default_action
242
- Azure::Storage::Mgmt::V2017_06_01::Models::DefaultAction
242
+ Azure::Storage::Mgmt::V2017_10_01::Models::DefaultAction
243
243
  end
244
244
  def access_tier
245
- Azure::Storage::Mgmt::V2017_06_01::Models::AccessTier
245
+ Azure::Storage::Mgmt::V2017_10_01::Models::AccessTier
246
246
  end
247
247
  def provisioning_state
248
- Azure::Storage::Mgmt::V2017_06_01::Models::ProvisioningState
248
+ Azure::Storage::Mgmt::V2017_10_01::Models::ProvisioningState
249
249
  end
250
250
  def account_status
251
- Azure::Storage::Mgmt::V2017_06_01::Models::AccountStatus
251
+ Azure::Storage::Mgmt::V2017_10_01::Models::AccountStatus
252
252
  end
253
253
  def key_permission
254
- Azure::Storage::Mgmt::V2017_06_01::Models::KeyPermission
254
+ Azure::Storage::Mgmt::V2017_10_01::Models::KeyPermission
255
255
  end
256
256
  def usage_unit
257
- Azure::Storage::Mgmt::V2017_06_01::Models::UsageUnit
257
+ Azure::Storage::Mgmt::V2017_10_01::Models::UsageUnit
258
258
  end
259
259
  def services
260
- Azure::Storage::Mgmt::V2017_06_01::Models::Services
260
+ Azure::Storage::Mgmt::V2017_10_01::Models::Services
261
261
  end
262
262
  def signed_resource_types
263
- Azure::Storage::Mgmt::V2017_06_01::Models::SignedResourceTypes
263
+ Azure::Storage::Mgmt::V2017_10_01::Models::SignedResourceTypes
264
264
  end
265
265
  def permissions
266
- Azure::Storage::Mgmt::V2017_06_01::Models::Permissions
266
+ Azure::Storage::Mgmt::V2017_10_01::Models::Permissions
267
267
  end
268
268
  def http_protocol
269
- Azure::Storage::Mgmt::V2017_06_01::Models::HttpProtocol
269
+ Azure::Storage::Mgmt::V2017_10_01::Models::HttpProtocol
270
270
  end
271
271
  def signed_resource
272
- Azure::Storage::Mgmt::V2017_06_01::Models::SignedResource
272
+ Azure::Storage::Mgmt::V2017_10_01::Models::SignedResource
273
273
  end
274
274
  end
275
275
  end