azure_mgmt_storage 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  4. data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  5. data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  6. data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  7. data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  8. data/lib/2018-02-01/generated/azure_mgmt_storage.rb +107 -0
  9. data/lib/2018-02-01/generated/azure_mgmt_storage/blob_containers.rb +1721 -0
  10. data/lib/2018-02-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
  11. data/lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
  12. data/lib/2018-02-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
  13. data/lib/2018-02-01/generated/azure_mgmt_storage/models/action.rb +15 -0
  14. data/lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
  15. data/lib/2018-02-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
  16. data/lib/2018-02-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
  17. data/lib/2018-02-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
  18. data/lib/2018-02-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
  19. data/lib/2018-02-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
  20. data/lib/2018-02-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
  21. data/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
  22. data/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
  23. data/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
  24. data/lib/2018-02-01/generated/azure_mgmt_storage/models/endpoints.rb +84 -0
  25. data/lib/2018-02-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
  26. data/lib/2018-02-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
  27. data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
  28. data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
  29. data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
  30. data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
  31. data/lib/2018-02-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
  32. data/lib/2018-02-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
  33. data/lib/2018-02-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
  34. data/lib/2018-02-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
  35. data/lib/2018-02-01/generated/azure_mgmt_storage/models/kind.rb +17 -0
  36. data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
  37. data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
  38. data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
  39. data/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
  40. data/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
  41. data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
  42. data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
  43. data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
  44. data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
  45. data/lib/2018-02-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
  46. data/lib/2018-02-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
  47. data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
  48. data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_display.rb +68 -0
  49. data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
  50. data/lib/2018-02-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
  51. data/lib/2018-02-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
  52. data/lib/2018-02-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
  53. data/lib/2018-02-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
  54. data/lib/2018-02-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
  55. data/lib/2018-02-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
  56. data/lib/2018-02-01/generated/azure_mgmt_storage/models/resource.rb +74 -0
  57. data/lib/2018-02-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
  58. data/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
  59. data/lib/2018-02-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
  60. data/lib/2018-02-01/generated/azure_mgmt_storage/models/services.rb +18 -0
  61. data/lib/2018-02-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
  62. data/lib/2018-02-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
  63. data/lib/2018-02-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
  64. data/lib/2018-02-01/generated/azure_mgmt_storage/models/sku_name.rb +19 -0
  65. data/lib/2018-02-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
  66. data/lib/2018-02-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
  67. data/lib/2018-02-01/generated/azure_mgmt_storage/models/state.rb +19 -0
  68. data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account.rb +326 -0
  69. data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
  70. data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +179 -0
  71. data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
  72. data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
  73. data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
  74. data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
  75. data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +167 -0
  76. data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
  77. data/lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
  78. data/lib/2018-02-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
  79. data/lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
  80. data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
  81. data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
  82. data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
  83. data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
  84. data/lib/2018-02-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
  85. data/lib/2018-02-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
  86. data/lib/2018-02-01/generated/azure_mgmt_storage/operations.rb +108 -0
  87. data/lib/2018-02-01/generated/azure_mgmt_storage/skus.rb +114 -0
  88. data/lib/2018-02-01/generated/azure_mgmt_storage/storage_accounts.rb +1340 -0
  89. data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +146 -0
  90. data/lib/2018-02-01/generated/azure_mgmt_storage/usage_operations.rb +207 -0
  91. data/lib/azure_mgmt_storage.rb +1 -0
  92. data/lib/profiles/latest/modules/storage_profile_module.rb +222 -148
  93. data/lib/version.rb +1 -1
  94. metadata +86 -3
@@ -0,0 +1,146 @@
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::V2018_02_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] The ID of the target subscription.
21
+ attr_accessor :subscription_id
22
+
23
+ # @return [String] The API version to use for this operation.
24
+ attr_reader :api_version
25
+
26
+ # @return [String] Gets or sets the preferred language for the response.
27
+ attr_accessor :accept_language
28
+
29
+ # @return [Integer] Gets or sets the retry timeout in seconds for Long
30
+ # Running Operations. Default value is 30.
31
+ attr_accessor :long_running_operation_retry_timeout
32
+
33
+ # @return [Boolean] When set to true a unique x-ms-client-request-id value
34
+ # is generated and included in each request. Default is true.
35
+ attr_accessor :generate_client_request_id
36
+
37
+ # @return [Operations] operations
38
+ attr_reader :operations
39
+
40
+ # @return [Skus] skus
41
+ attr_reader :skus
42
+
43
+ # @return [StorageAccounts] storage_accounts
44
+ attr_reader :storage_accounts
45
+
46
+ # @return [UsageOperations] usage_operations
47
+ attr_reader :usage_operations
48
+
49
+ # @return [BlobContainers] blob_containers
50
+ attr_reader :blob_containers
51
+
52
+ #
53
+ # Creates initializes a new instance of the StorageManagementClient class.
54
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
55
+ # @param base_url [String] the base URI of the service.
56
+ # @param options [Array] filters to be applied to the HTTP requests.
57
+ #
58
+ def initialize(credentials = nil, base_url = nil, options = nil)
59
+ super(credentials, options)
60
+ @base_url = base_url || 'https://management.azure.com'
61
+
62
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
63
+ @credentials = credentials
64
+
65
+ @operations = Operations.new(self)
66
+ @skus = Skus.new(self)
67
+ @storage_accounts = StorageAccounts.new(self)
68
+ @usage_operations = UsageOperations.new(self)
69
+ @blob_containers = BlobContainers.new(self)
70
+ @api_version = '2018-02-01'
71
+ @accept_language = 'en-US'
72
+ @long_running_operation_retry_timeout = 30
73
+ @generate_client_request_id = true
74
+ add_telemetry
75
+ end
76
+
77
+ #
78
+ # Makes a request and returns the body of the response.
79
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
80
+ # @param path [String] the path, relative to {base_url}.
81
+ # @param options [Hash{String=>String}] specifying any request options like :body.
82
+ # @return [Hash{String=>String}] containing the body of the response.
83
+ # Example:
84
+ #
85
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
86
+ # path = "/path"
87
+ # options = {
88
+ # body: request_content,
89
+ # query_params: {'api-version' => '2016-02-01'}
90
+ # }
91
+ # result = @client.make_request(:put, path, options)
92
+ #
93
+ def make_request(method, path, options = {})
94
+ result = make_request_with_http_info(method, path, options)
95
+ result.body unless result.nil?
96
+ end
97
+
98
+ #
99
+ # Makes a request and returns the operation response.
100
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
101
+ # @param path [String] the path, relative to {base_url}.
102
+ # @param options [Hash{String=>String}] specifying any request options like :body.
103
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
104
+ #
105
+ def make_request_with_http_info(method, path, options = {})
106
+ result = make_request_async(method, path, options).value!
107
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
108
+ result
109
+ end
110
+
111
+ #
112
+ # Makes a request asynchronously.
113
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
114
+ # @param path [String] the path, relative to {base_url}.
115
+ # @param options [Hash{String=>String}] specifying any request options like :body.
116
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
117
+ #
118
+ def make_request_async(method, path, options = {})
119
+ fail ArgumentError, 'method is nil' if method.nil?
120
+ fail ArgumentError, 'path is nil' if path.nil?
121
+
122
+ request_url = options[:base_url] || @base_url
123
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
124
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
125
+ end
126
+
127
+ request_headers = @request_headers
128
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
129
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
130
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
131
+
132
+ super(request_url, method, path, options)
133
+ end
134
+
135
+
136
+ private
137
+ #
138
+ # Adds telemetry information.
139
+ #
140
+ def add_telemetry
141
+ sdk_information = 'azure_mgmt_storage'
142
+ sdk_information = "#{sdk_information}/0.16.0"
143
+ add_user_agent_information(sdk_information)
144
+ end
145
+ end
146
+ end
@@ -0,0 +1,207 @@
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::V2018_02_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: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: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.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
63
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
64
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
65
+
66
+
67
+ request_headers = {}
68
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
69
+
70
+ # Set Headers
71
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
72
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
73
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Storage/usages'
74
+
75
+ request_url = @base_url || @client.base_url
76
+
77
+ options = {
78
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
79
+ path_params: {'subscriptionId' => @client.subscription_id},
80
+ query_params: {'api-version' => @client.api_version},
81
+ headers: request_headers.merge(custom_headers || {}),
82
+ base_url: request_url
83
+ }
84
+ promise = @client.make_request_async(:get, path_template, options)
85
+
86
+ promise = promise.then do |result|
87
+ http_response = result.response
88
+ status_code = http_response.status
89
+ response_content = http_response.body
90
+ unless status_code == 200
91
+ error_model = JSON.load(response_content)
92
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
93
+ end
94
+
95
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
96
+ # Deserialize Response
97
+ if status_code == 200
98
+ begin
99
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
100
+ result_mapper = Azure::Storage::Mgmt::V2018_02_01::Models::UsageListResult.mapper()
101
+ result.body = @client.deserialize(result_mapper, parsed_response)
102
+ rescue Exception => e
103
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
104
+ end
105
+ end
106
+
107
+ result
108
+ end
109
+
110
+ promise.execute
111
+ end
112
+
113
+ #
114
+ # Gets the current usage count and the limit for the resources of the location
115
+ # under the subscription.
116
+ #
117
+ # @param location [String] The location of the Azure Storage resource.
118
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
119
+ # will be added to the HTTP request.
120
+ #
121
+ # @return [UsageListResult] operation results.
122
+ #
123
+ def list_by_location(location, custom_headers:nil)
124
+ response = list_by_location_async(location, custom_headers:custom_headers).value!
125
+ response.body unless response.nil?
126
+ end
127
+
128
+ #
129
+ # Gets the current usage count and the limit for the resources of the location
130
+ # under the subscription.
131
+ #
132
+ # @param location [String] The location of the Azure Storage resource.
133
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
134
+ # will be added to the HTTP request.
135
+ #
136
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
137
+ #
138
+ def list_by_location_with_http_info(location, custom_headers:nil)
139
+ list_by_location_async(location, custom_headers:custom_headers).value!
140
+ end
141
+
142
+ #
143
+ # Gets the current usage count and the limit for the resources of the location
144
+ # under the subscription.
145
+ #
146
+ # @param location [String] The location of the Azure Storage resource.
147
+ # @param [Hash{String => String}] A hash of custom headers that will be added
148
+ # to the HTTP request.
149
+ #
150
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
151
+ #
152
+ def list_by_location_async(location, custom_headers:nil)
153
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
154
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
155
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
156
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
157
+ fail ArgumentError, 'location is nil' if location.nil?
158
+
159
+
160
+ request_headers = {}
161
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
162
+
163
+ # Set Headers
164
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
165
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
166
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages'
167
+
168
+ request_url = @base_url || @client.base_url
169
+
170
+ options = {
171
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
172
+ path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
173
+ query_params: {'api-version' => @client.api_version},
174
+ headers: request_headers.merge(custom_headers || {}),
175
+ base_url: request_url
176
+ }
177
+ promise = @client.make_request_async(:get, path_template, options)
178
+
179
+ promise = promise.then do |result|
180
+ http_response = result.response
181
+ status_code = http_response.status
182
+ response_content = http_response.body
183
+ unless status_code == 200
184
+ error_model = JSON.load(response_content)
185
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
186
+ end
187
+
188
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
189
+ # Deserialize Response
190
+ if status_code == 200
191
+ begin
192
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
193
+ result_mapper = Azure::Storage::Mgmt::V2018_02_01::Models::UsageListResult.mapper()
194
+ result.body = @client.deserialize(result_mapper, parsed_response)
195
+ rescue Exception => e
196
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
197
+ end
198
+ end
199
+
200
+ result
201
+ end
202
+
203
+ promise.execute
204
+ end
205
+
206
+ end
207
+ end
@@ -8,5 +8,6 @@ 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
10
  require '2017-10-01/generated/azure_mgmt_storage'
11
+ require '2018-02-01/generated/azure_mgmt_storage'
11
12
  require 'profiles/latest/storage_latest_profile_client'
12
13
  require 'profiles/v2017_03_09/storage_v2017_03_09_profile_client'
@@ -6,76 +6,95 @@ require 'azure_mgmt_storage'
6
6
 
7
7
  module Azure::Storage::Profiles::Latest
8
8
  module Mgmt
9
- Operations = Azure::Storage::Mgmt::V2017_10_01::Operations
10
- Skus = Azure::Storage::Mgmt::V2017_10_01::Skus
11
- StorageAccounts = Azure::Storage::Mgmt::V2017_10_01::StorageAccounts
12
- UsageOperations = Azure::Storage::Mgmt::V2017_10_01::UsageOperations
9
+ Operations = Azure::Storage::Mgmt::V2018_02_01::Operations
10
+ Skus = Azure::Storage::Mgmt::V2018_02_01::Skus
11
+ StorageAccounts = Azure::Storage::Mgmt::V2018_02_01::StorageAccounts
12
+ UsageOperations = Azure::Storage::Mgmt::V2018_02_01::UsageOperations
13
+ BlobContainers = Azure::Storage::Mgmt::V2018_02_01::BlobContainers
13
14
 
14
15
  module Models
15
- IPRule = Azure::Storage::Mgmt::V2017_10_01::Models::IPRule
16
- NetworkRuleSet = Azure::Storage::Mgmt::V2017_10_01::Models::NetworkRuleSet
17
- Dimension = Azure::Storage::Mgmt::V2017_10_01::Models::Dimension
18
- Identity = Azure::Storage::Mgmt::V2017_10_01::Models::Identity
19
- ServiceSpecification = Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSpecification
20
- StorageAccountCreateParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCreateParameters
21
- OperationListResult = Azure::Storage::Mgmt::V2017_10_01::Models::OperationListResult
22
- Endpoints = Azure::Storage::Mgmt::V2017_10_01::Models::Endpoints
23
- SKUCapability = Azure::Storage::Mgmt::V2017_10_01::Models::SKUCapability
24
- Restriction = Azure::Storage::Mgmt::V2017_10_01::Models::Restriction
25
- StorageSkuListResult = Azure::Storage::Mgmt::V2017_10_01::Models::StorageSkuListResult
26
- StorageAccountKey = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountKey
27
- CustomDomain = Azure::Storage::Mgmt::V2017_10_01::Models::CustomDomain
28
- StorageAccountListResult = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListResult
29
- EncryptionServices = Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionServices
30
- StorageAccountListKeysResult = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListKeysResult
31
- Encryption = Azure::Storage::Mgmt::V2017_10_01::Models::Encryption
32
- StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountRegenerateKeyParameters
33
- OperationDisplay = Azure::Storage::Mgmt::V2017_10_01::Models::OperationDisplay
34
- StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountUpdateParameters
35
- Operation = Azure::Storage::Mgmt::V2017_10_01::Models::Operation
36
- UsageName = Azure::Storage::Mgmt::V2017_10_01::Models::UsageName
37
- Sku = Azure::Storage::Mgmt::V2017_10_01::Models::Sku
38
- Usage = Azure::Storage::Mgmt::V2017_10_01::Models::Usage
39
- EncryptionService = Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionService
40
- UsageListResult = Azure::Storage::Mgmt::V2017_10_01::Models::UsageListResult
41
- VirtualNetworkRule = Azure::Storage::Mgmt::V2017_10_01::Models::VirtualNetworkRule
42
- Resource = Azure::Storage::Mgmt::V2017_10_01::Models::Resource
43
- StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCheckNameAvailabilityParameters
44
- AccountSasParameters = Azure::Storage::Mgmt::V2017_10_01::Models::AccountSasParameters
45
- KeyVaultProperties = Azure::Storage::Mgmt::V2017_10_01::Models::KeyVaultProperties
46
- ListAccountSasResponse = Azure::Storage::Mgmt::V2017_10_01::Models::ListAccountSasResponse
47
- CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2017_10_01::Models::CheckNameAvailabilityResult
48
- ServiceSasParameters = Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSasParameters
49
- MetricSpecification = Azure::Storage::Mgmt::V2017_10_01::Models::MetricSpecification
50
- ListServiceSasResponse = Azure::Storage::Mgmt::V2017_10_01::Models::ListServiceSasResponse
51
- StorageAccount = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccount
52
- ReasonCode = Azure::Storage::Mgmt::V2017_10_01::Models::ReasonCode
53
- SkuName = Azure::Storage::Mgmt::V2017_10_01::Models::SkuName
54
- SkuTier = Azure::Storage::Mgmt::V2017_10_01::Models::SkuTier
55
- Kind = Azure::Storage::Mgmt::V2017_10_01::Models::Kind
56
- Reason = Azure::Storage::Mgmt::V2017_10_01::Models::Reason
57
- KeySource = Azure::Storage::Mgmt::V2017_10_01::Models::KeySource
58
- Action = Azure::Storage::Mgmt::V2017_10_01::Models::Action
59
- State = Azure::Storage::Mgmt::V2017_10_01::Models::State
60
- Bypass = Azure::Storage::Mgmt::V2017_10_01::Models::Bypass
61
- DefaultAction = Azure::Storage::Mgmt::V2017_10_01::Models::DefaultAction
62
- AccessTier = Azure::Storage::Mgmt::V2017_10_01::Models::AccessTier
63
- ProvisioningState = Azure::Storage::Mgmt::V2017_10_01::Models::ProvisioningState
64
- AccountStatus = Azure::Storage::Mgmt::V2017_10_01::Models::AccountStatus
65
- KeyPermission = Azure::Storage::Mgmt::V2017_10_01::Models::KeyPermission
66
- UsageUnit = Azure::Storage::Mgmt::V2017_10_01::Models::UsageUnit
67
- Services = Azure::Storage::Mgmt::V2017_10_01::Models::Services
68
- SignedResourceTypes = Azure::Storage::Mgmt::V2017_10_01::Models::SignedResourceTypes
69
- Permissions = Azure::Storage::Mgmt::V2017_10_01::Models::Permissions
70
- HttpProtocol = Azure::Storage::Mgmt::V2017_10_01::Models::HttpProtocol
71
- SignedResource = Azure::Storage::Mgmt::V2017_10_01::Models::SignedResource
16
+ StorageAccountKey = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountKey
17
+ StorageAccountListResult = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountListResult
18
+ Dimension = Azure::Storage::Mgmt::V2018_02_01::Models::Dimension
19
+ StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountListKeysResult
20
+ ServiceSpecification = Azure::Storage::Mgmt::V2018_02_01::Models::ServiceSpecification
21
+ StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountRegenerateKeyParameters
22
+ OperationListResult = Azure::Storage::Mgmt::V2018_02_01::Models::OperationListResult
23
+ StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountUpdateParameters
24
+ SKUCapability = Azure::Storage::Mgmt::V2018_02_01::Models::SKUCapability
25
+ UsageName = Azure::Storage::Mgmt::V2018_02_01::Models::UsageName
26
+ Sku = Azure::Storage::Mgmt::V2018_02_01::Models::Sku
27
+ Usage = Azure::Storage::Mgmt::V2018_02_01::Models::Usage
28
+ CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_02_01::Models::CheckNameAvailabilityResult
29
+ UsageListResult = Azure::Storage::Mgmt::V2018_02_01::Models::UsageListResult
30
+ EncryptionService = Azure::Storage::Mgmt::V2018_02_01::Models::EncryptionService
31
+ AccountSasParameters = Azure::Storage::Mgmt::V2018_02_01::Models::AccountSasParameters
32
+ KeyVaultProperties = Azure::Storage::Mgmt::V2018_02_01::Models::KeyVaultProperties
33
+ ListAccountSasResponse = Azure::Storage::Mgmt::V2018_02_01::Models::ListAccountSasResponse
34
+ VirtualNetworkRule = Azure::Storage::Mgmt::V2018_02_01::Models::VirtualNetworkRule
35
+ ServiceSasParameters = Azure::Storage::Mgmt::V2018_02_01::Models::ServiceSasParameters
36
+ NetworkRuleSet = Azure::Storage::Mgmt::V2018_02_01::Models::NetworkRuleSet
37
+ ListServiceSasResponse = Azure::Storage::Mgmt::V2018_02_01::Models::ListServiceSasResponse
38
+ StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountCreateParameters
39
+ IPRule = Azure::Storage::Mgmt::V2018_02_01::Models::IPRule
40
+ LegalHoldProperties = Azure::Storage::Mgmt::V2018_02_01::Models::LegalHoldProperties
41
+ OperationDisplay = Azure::Storage::Mgmt::V2018_02_01::Models::OperationDisplay
42
+ Identity = Azure::Storage::Mgmt::V2018_02_01::Models::Identity
43
+ Operation = Azure::Storage::Mgmt::V2018_02_01::Models::Operation
44
+ Endpoints = Azure::Storage::Mgmt::V2018_02_01::Models::Endpoints
45
+ Restriction = Azure::Storage::Mgmt::V2018_02_01::Models::Restriction
46
+ CustomDomain = Azure::Storage::Mgmt::V2018_02_01::Models::CustomDomain
47
+ ListContainerItems = Azure::Storage::Mgmt::V2018_02_01::Models::ListContainerItems
48
+ Encryption = Azure::Storage::Mgmt::V2018_02_01::Models::Encryption
49
+ Resource = Azure::Storage::Mgmt::V2018_02_01::Models::Resource
50
+ StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountCheckNameAvailabilityParameters
51
+ LegalHold = Azure::Storage::Mgmt::V2018_02_01::Models::LegalHold
52
+ EncryptionServices = Azure::Storage::Mgmt::V2018_02_01::Models::EncryptionServices
53
+ UpdateHistoryProperty = Azure::Storage::Mgmt::V2018_02_01::Models::UpdateHistoryProperty
54
+ StorageSkuListResult = Azure::Storage::Mgmt::V2018_02_01::Models::StorageSkuListResult
55
+ ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyProperties
56
+ MetricSpecification = Azure::Storage::Mgmt::V2018_02_01::Models::MetricSpecification
57
+ TagProperty = Azure::Storage::Mgmt::V2018_02_01::Models::TagProperty
58
+ StorageAccount = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccount
59
+ ProxyResource = Azure::Storage::Mgmt::V2018_02_01::Models::ProxyResource
60
+ AzureEntityResource = Azure::Storage::Mgmt::V2018_02_01::Models::AzureEntityResource
61
+ TrackedResource = Azure::Storage::Mgmt::V2018_02_01::Models::TrackedResource
62
+ BlobContainer = Azure::Storage::Mgmt::V2018_02_01::Models::BlobContainer
63
+ ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicy
64
+ ListContainerItem = Azure::Storage::Mgmt::V2018_02_01::Models::ListContainerItem
65
+ ReasonCode = Azure::Storage::Mgmt::V2018_02_01::Models::ReasonCode
66
+ SkuName = Azure::Storage::Mgmt::V2018_02_01::Models::SkuName
67
+ SkuTier = Azure::Storage::Mgmt::V2018_02_01::Models::SkuTier
68
+ Kind = Azure::Storage::Mgmt::V2018_02_01::Models::Kind
69
+ Reason = Azure::Storage::Mgmt::V2018_02_01::Models::Reason
70
+ KeySource = Azure::Storage::Mgmt::V2018_02_01::Models::KeySource
71
+ Action = Azure::Storage::Mgmt::V2018_02_01::Models::Action
72
+ State = Azure::Storage::Mgmt::V2018_02_01::Models::State
73
+ Bypass = Azure::Storage::Mgmt::V2018_02_01::Models::Bypass
74
+ DefaultAction = Azure::Storage::Mgmt::V2018_02_01::Models::DefaultAction
75
+ AccessTier = Azure::Storage::Mgmt::V2018_02_01::Models::AccessTier
76
+ ProvisioningState = Azure::Storage::Mgmt::V2018_02_01::Models::ProvisioningState
77
+ AccountStatus = Azure::Storage::Mgmt::V2018_02_01::Models::AccountStatus
78
+ KeyPermission = Azure::Storage::Mgmt::V2018_02_01::Models::KeyPermission
79
+ UsageUnit = Azure::Storage::Mgmt::V2018_02_01::Models::UsageUnit
80
+ Services = Azure::Storage::Mgmt::V2018_02_01::Models::Services
81
+ SignedResourceTypes = Azure::Storage::Mgmt::V2018_02_01::Models::SignedResourceTypes
82
+ Permissions = Azure::Storage::Mgmt::V2018_02_01::Models::Permissions
83
+ HttpProtocol = Azure::Storage::Mgmt::V2018_02_01::Models::HttpProtocol
84
+ SignedResource = Azure::Storage::Mgmt::V2018_02_01::Models::SignedResource
85
+ PublicAccess = Azure::Storage::Mgmt::V2018_02_01::Models::PublicAccess
86
+ LeaseStatus = Azure::Storage::Mgmt::V2018_02_01::Models::LeaseStatus
87
+ LeaseState = Azure::Storage::Mgmt::V2018_02_01::Models::LeaseState
88
+ LeaseDuration = Azure::Storage::Mgmt::V2018_02_01::Models::LeaseDuration
89
+ ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyState
90
+ ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyUpdateType
72
91
  end
73
92
 
74
93
  #
75
94
  # StorageManagementClass
76
95
  #
77
96
  class StorageManagementClass
78
- attr_reader :operations, :skus, :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes
97
+ attr_reader :operations, :skus, :storage_accounts, :usage_operations, :blob_containers, :configurable, :base_url, :options, :model_classes
79
98
 
80
99
  def initialize(options = {})
81
100
  if options.is_a?(Hash) && options.length == 0
@@ -90,7 +109,7 @@ module Azure::Storage::Profiles::Latest
90
109
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
91
110
  @options = options[:options].nil? ? nil:options[:options]
92
111
 
93
- @client_0 = Azure::Storage::Mgmt::V2017_10_01::StorageManagementClient.new(configurable.credentials, base_url, options)
112
+ @client_0 = Azure::Storage::Mgmt::V2018_02_01::StorageManagementClient.new(configurable.credentials, base_url, options)
94
113
  if(@client_0.respond_to?(:subscription_id))
95
114
  @client_0.subscription_id = configurable.subscription_id
96
115
  end
@@ -99,6 +118,7 @@ module Azure::Storage::Profiles::Latest
99
118
  @skus = @client_0.skus
100
119
  @storage_accounts = @client_0.storage_accounts
101
120
  @usage_operations = @client_0.usage_operations
121
+ @blob_containers = @client_0.blob_containers
102
122
 
103
123
  @model_classes = ModelClasses.new
104
124
  end
@@ -119,176 +139,230 @@ module Azure::Storage::Profiles::Latest
119
139
  end
120
140
 
121
141
  class ModelClasses
122
- def iprule
123
- Azure::Storage::Mgmt::V2017_10_01::Models::IPRule
142
+ def storage_account_key
143
+ Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountKey
124
144
  end
125
- def network_rule_set
126
- Azure::Storage::Mgmt::V2017_10_01::Models::NetworkRuleSet
145
+ def storage_account_list_result
146
+ Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountListResult
127
147
  end
128
148
  def dimension
129
- Azure::Storage::Mgmt::V2017_10_01::Models::Dimension
149
+ Azure::Storage::Mgmt::V2018_02_01::Models::Dimension
130
150
  end
131
- def identity
132
- Azure::Storage::Mgmt::V2017_10_01::Models::Identity
151
+ def storage_account_list_keys_result
152
+ Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountListKeysResult
133
153
  end
134
154
  def service_specification
135
- Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSpecification
155
+ Azure::Storage::Mgmt::V2018_02_01::Models::ServiceSpecification
136
156
  end
137
- def storage_account_create_parameters
138
- Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCreateParameters
157
+ def storage_account_regenerate_key_parameters
158
+ Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountRegenerateKeyParameters
139
159
  end
140
160
  def operation_list_result
141
- Azure::Storage::Mgmt::V2017_10_01::Models::OperationListResult
161
+ Azure::Storage::Mgmt::V2018_02_01::Models::OperationListResult
142
162
  end
143
- def endpoints
144
- Azure::Storage::Mgmt::V2017_10_01::Models::Endpoints
163
+ def storage_account_update_parameters
164
+ Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountUpdateParameters
145
165
  end
146
166
  def skucapability
147
- Azure::Storage::Mgmt::V2017_10_01::Models::SKUCapability
167
+ Azure::Storage::Mgmt::V2018_02_01::Models::SKUCapability
148
168
  end
149
- def restriction
150
- Azure::Storage::Mgmt::V2017_10_01::Models::Restriction
169
+ def usage_name
170
+ Azure::Storage::Mgmt::V2018_02_01::Models::UsageName
151
171
  end
152
- def storage_sku_list_result
153
- Azure::Storage::Mgmt::V2017_10_01::Models::StorageSkuListResult
172
+ def sku
173
+ Azure::Storage::Mgmt::V2018_02_01::Models::Sku
154
174
  end
155
- def storage_account_key
156
- Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountKey
175
+ def usage
176
+ Azure::Storage::Mgmt::V2018_02_01::Models::Usage
157
177
  end
158
- def custom_domain
159
- Azure::Storage::Mgmt::V2017_10_01::Models::CustomDomain
178
+ def check_name_availability_result
179
+ Azure::Storage::Mgmt::V2018_02_01::Models::CheckNameAvailabilityResult
160
180
  end
161
- def storage_account_list_result
162
- Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListResult
181
+ def usage_list_result
182
+ Azure::Storage::Mgmt::V2018_02_01::Models::UsageListResult
163
183
  end
164
- def encryption_services
165
- Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionServices
184
+ def encryption_service
185
+ Azure::Storage::Mgmt::V2018_02_01::Models::EncryptionService
166
186
  end
167
- def storage_account_list_keys_result
168
- Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListKeysResult
187
+ def account_sas_parameters
188
+ Azure::Storage::Mgmt::V2018_02_01::Models::AccountSasParameters
169
189
  end
170
- def encryption
171
- Azure::Storage::Mgmt::V2017_10_01::Models::Encryption
190
+ def key_vault_properties
191
+ Azure::Storage::Mgmt::V2018_02_01::Models::KeyVaultProperties
172
192
  end
173
- def storage_account_regenerate_key_parameters
174
- Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountRegenerateKeyParameters
193
+ def list_account_sas_response
194
+ Azure::Storage::Mgmt::V2018_02_01::Models::ListAccountSasResponse
195
+ end
196
+ def virtual_network_rule
197
+ Azure::Storage::Mgmt::V2018_02_01::Models::VirtualNetworkRule
198
+ end
199
+ def service_sas_parameters
200
+ Azure::Storage::Mgmt::V2018_02_01::Models::ServiceSasParameters
201
+ end
202
+ def network_rule_set
203
+ Azure::Storage::Mgmt::V2018_02_01::Models::NetworkRuleSet
204
+ end
205
+ def list_service_sas_response
206
+ Azure::Storage::Mgmt::V2018_02_01::Models::ListServiceSasResponse
207
+ end
208
+ def storage_account_create_parameters
209
+ Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountCreateParameters
210
+ end
211
+ def iprule
212
+ Azure::Storage::Mgmt::V2018_02_01::Models::IPRule
213
+ end
214
+ def legal_hold_properties
215
+ Azure::Storage::Mgmt::V2018_02_01::Models::LegalHoldProperties
175
216
  end
176
217
  def operation_display
177
- Azure::Storage::Mgmt::V2017_10_01::Models::OperationDisplay
218
+ Azure::Storage::Mgmt::V2018_02_01::Models::OperationDisplay
178
219
  end
179
- def storage_account_update_parameters
180
- Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountUpdateParameters
220
+ def identity
221
+ Azure::Storage::Mgmt::V2018_02_01::Models::Identity
181
222
  end
182
223
  def operation
183
- Azure::Storage::Mgmt::V2017_10_01::Models::Operation
184
- end
185
- def usage_name
186
- Azure::Storage::Mgmt::V2017_10_01::Models::UsageName
224
+ Azure::Storage::Mgmt::V2018_02_01::Models::Operation
187
225
  end
188
- def sku
189
- Azure::Storage::Mgmt::V2017_10_01::Models::Sku
226
+ def endpoints
227
+ Azure::Storage::Mgmt::V2018_02_01::Models::Endpoints
190
228
  end
191
- def usage
192
- Azure::Storage::Mgmt::V2017_10_01::Models::Usage
229
+ def restriction
230
+ Azure::Storage::Mgmt::V2018_02_01::Models::Restriction
193
231
  end
194
- def encryption_service
195
- Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionService
232
+ def custom_domain
233
+ Azure::Storage::Mgmt::V2018_02_01::Models::CustomDomain
196
234
  end
197
- def usage_list_result
198
- Azure::Storage::Mgmt::V2017_10_01::Models::UsageListResult
235
+ def list_container_items
236
+ Azure::Storage::Mgmt::V2018_02_01::Models::ListContainerItems
199
237
  end
200
- def virtual_network_rule
201
- Azure::Storage::Mgmt::V2017_10_01::Models::VirtualNetworkRule
238
+ def encryption
239
+ Azure::Storage::Mgmt::V2018_02_01::Models::Encryption
202
240
  end
203
241
  def resource
204
- Azure::Storage::Mgmt::V2017_10_01::Models::Resource
242
+ Azure::Storage::Mgmt::V2018_02_01::Models::Resource
205
243
  end
206
244
  def storage_account_check_name_availability_parameters
207
- Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCheckNameAvailabilityParameters
245
+ Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountCheckNameAvailabilityParameters
208
246
  end
209
- def account_sas_parameters
210
- Azure::Storage::Mgmt::V2017_10_01::Models::AccountSasParameters
247
+ def legal_hold
248
+ Azure::Storage::Mgmt::V2018_02_01::Models::LegalHold
211
249
  end
212
- def key_vault_properties
213
- Azure::Storage::Mgmt::V2017_10_01::Models::KeyVaultProperties
250
+ def encryption_services
251
+ Azure::Storage::Mgmt::V2018_02_01::Models::EncryptionServices
214
252
  end
215
- def list_account_sas_response
216
- Azure::Storage::Mgmt::V2017_10_01::Models::ListAccountSasResponse
253
+ def update_history_property
254
+ Azure::Storage::Mgmt::V2018_02_01::Models::UpdateHistoryProperty
217
255
  end
218
- def check_name_availability_result
219
- Azure::Storage::Mgmt::V2017_10_01::Models::CheckNameAvailabilityResult
256
+ def storage_sku_list_result
257
+ Azure::Storage::Mgmt::V2018_02_01::Models::StorageSkuListResult
220
258
  end
221
- def service_sas_parameters
222
- Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSasParameters
259
+ def immutability_policy_properties
260
+ Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyProperties
223
261
  end
224
262
  def metric_specification
225
- Azure::Storage::Mgmt::V2017_10_01::Models::MetricSpecification
263
+ Azure::Storage::Mgmt::V2018_02_01::Models::MetricSpecification
226
264
  end
227
- def list_service_sas_response
228
- Azure::Storage::Mgmt::V2017_10_01::Models::ListServiceSasResponse
265
+ def tag_property
266
+ Azure::Storage::Mgmt::V2018_02_01::Models::TagProperty
229
267
  end
230
268
  def storage_account
231
- Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccount
269
+ Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccount
270
+ end
271
+ def proxy_resource
272
+ Azure::Storage::Mgmt::V2018_02_01::Models::ProxyResource
273
+ end
274
+ def azure_entity_resource
275
+ Azure::Storage::Mgmt::V2018_02_01::Models::AzureEntityResource
276
+ end
277
+ def tracked_resource
278
+ Azure::Storage::Mgmt::V2018_02_01::Models::TrackedResource
279
+ end
280
+ def blob_container
281
+ Azure::Storage::Mgmt::V2018_02_01::Models::BlobContainer
282
+ end
283
+ def immutability_policy
284
+ Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicy
285
+ end
286
+ def list_container_item
287
+ Azure::Storage::Mgmt::V2018_02_01::Models::ListContainerItem
232
288
  end
233
289
  def reason_code
234
- Azure::Storage::Mgmt::V2017_10_01::Models::ReasonCode
290
+ Azure::Storage::Mgmt::V2018_02_01::Models::ReasonCode
235
291
  end
236
292
  def sku_name
237
- Azure::Storage::Mgmt::V2017_10_01::Models::SkuName
293
+ Azure::Storage::Mgmt::V2018_02_01::Models::SkuName
238
294
  end
239
295
  def sku_tier
240
- Azure::Storage::Mgmt::V2017_10_01::Models::SkuTier
296
+ Azure::Storage::Mgmt::V2018_02_01::Models::SkuTier
241
297
  end
242
298
  def kind
243
- Azure::Storage::Mgmt::V2017_10_01::Models::Kind
299
+ Azure::Storage::Mgmt::V2018_02_01::Models::Kind
244
300
  end
245
301
  def reason
246
- Azure::Storage::Mgmt::V2017_10_01::Models::Reason
302
+ Azure::Storage::Mgmt::V2018_02_01::Models::Reason
247
303
  end
248
304
  def key_source
249
- Azure::Storage::Mgmt::V2017_10_01::Models::KeySource
305
+ Azure::Storage::Mgmt::V2018_02_01::Models::KeySource
250
306
  end
251
307
  def action
252
- Azure::Storage::Mgmt::V2017_10_01::Models::Action
308
+ Azure::Storage::Mgmt::V2018_02_01::Models::Action
253
309
  end
254
310
  def state
255
- Azure::Storage::Mgmt::V2017_10_01::Models::State
311
+ Azure::Storage::Mgmt::V2018_02_01::Models::State
256
312
  end
257
313
  def bypass
258
- Azure::Storage::Mgmt::V2017_10_01::Models::Bypass
314
+ Azure::Storage::Mgmt::V2018_02_01::Models::Bypass
259
315
  end
260
316
  def default_action
261
- Azure::Storage::Mgmt::V2017_10_01::Models::DefaultAction
317
+ Azure::Storage::Mgmt::V2018_02_01::Models::DefaultAction
262
318
  end
263
319
  def access_tier
264
- Azure::Storage::Mgmt::V2017_10_01::Models::AccessTier
320
+ Azure::Storage::Mgmt::V2018_02_01::Models::AccessTier
265
321
  end
266
322
  def provisioning_state
267
- Azure::Storage::Mgmt::V2017_10_01::Models::ProvisioningState
323
+ Azure::Storage::Mgmt::V2018_02_01::Models::ProvisioningState
268
324
  end
269
325
  def account_status
270
- Azure::Storage::Mgmt::V2017_10_01::Models::AccountStatus
326
+ Azure::Storage::Mgmt::V2018_02_01::Models::AccountStatus
271
327
  end
272
328
  def key_permission
273
- Azure::Storage::Mgmt::V2017_10_01::Models::KeyPermission
329
+ Azure::Storage::Mgmt::V2018_02_01::Models::KeyPermission
274
330
  end
275
331
  def usage_unit
276
- Azure::Storage::Mgmt::V2017_10_01::Models::UsageUnit
332
+ Azure::Storage::Mgmt::V2018_02_01::Models::UsageUnit
277
333
  end
278
334
  def services
279
- Azure::Storage::Mgmt::V2017_10_01::Models::Services
335
+ Azure::Storage::Mgmt::V2018_02_01::Models::Services
280
336
  end
281
337
  def signed_resource_types
282
- Azure::Storage::Mgmt::V2017_10_01::Models::SignedResourceTypes
338
+ Azure::Storage::Mgmt::V2018_02_01::Models::SignedResourceTypes
283
339
  end
284
340
  def permissions
285
- Azure::Storage::Mgmt::V2017_10_01::Models::Permissions
341
+ Azure::Storage::Mgmt::V2018_02_01::Models::Permissions
286
342
  end
287
343
  def http_protocol
288
- Azure::Storage::Mgmt::V2017_10_01::Models::HttpProtocol
344
+ Azure::Storage::Mgmt::V2018_02_01::Models::HttpProtocol
289
345
  end
290
346
  def signed_resource
291
- Azure::Storage::Mgmt::V2017_10_01::Models::SignedResource
347
+ Azure::Storage::Mgmt::V2018_02_01::Models::SignedResource
348
+ end
349
+ def public_access
350
+ Azure::Storage::Mgmt::V2018_02_01::Models::PublicAccess
351
+ end
352
+ def lease_status
353
+ Azure::Storage::Mgmt::V2018_02_01::Models::LeaseStatus
354
+ end
355
+ def lease_state
356
+ Azure::Storage::Mgmt::V2018_02_01::Models::LeaseState
357
+ end
358
+ def lease_duration
359
+ Azure::Storage::Mgmt::V2018_02_01::Models::LeaseDuration
360
+ end
361
+ def immutability_policy_state
362
+ Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyState
363
+ end
364
+ def immutability_policy_update_type
365
+ Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyUpdateType
292
366
  end
293
367
  end
294
368
  end