azure_mgmt_storage 0.21.1 → 0.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_storage.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +7 -7
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-11-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_storage.rb +1 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/minimum_tls_version.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account.rb +26 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +26 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +26 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_storage.rb +73 -57
- data/lib/2019-06-01/generated/azure_mgmt_storage/blob_containers.rb +20 -8
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_container.rb +49 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption.rb +13 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_item.rb +49 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_containers_include.rb +15 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_queue.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_queue_resource.rb +101 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_queue_services.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_table_resource.rb +101 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_table_services.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/minimum_tls_version.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection_list_result.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/queue_service_properties.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account.rb +26 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +26 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +26 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_queue.rb +97 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/table.rb +74 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/table_service_properties.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/private_endpoint_connections.rb +122 -9
- data/lib/2019-06-01/generated/azure_mgmt_storage/queue.rb +805 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/queue_services.rb +386 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/storage_management_client.rb +17 -1
- data/lib/2019-06-01/generated/azure_mgmt_storage/table_operations.rb +743 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/table_services.rb +386 -0
- data/lib/azure_mgmt_storage.rb +10 -10
- data/lib/profiles/latest/modules/storage_profile_module.rb +247 -191
- data/lib/version.rb +1 -1
- metadata +21 -2
@@ -0,0 +1,386 @@
|
|
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::V2019_06_01
|
7
|
+
#
|
8
|
+
# The Azure Storage Management API.
|
9
|
+
#
|
10
|
+
class TableServices
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the TableServices 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
|
+
# List all table services for the storage account.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group within the
|
28
|
+
# user's subscription. The name is case insensitive.
|
29
|
+
# @param account_name [String] The name of the storage account within the
|
30
|
+
# specified resource group. Storage account names must be between 3 and 24
|
31
|
+
# characters in length and use numbers and lower-case letters only.
|
32
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
33
|
+
# will be added to the HTTP request.
|
34
|
+
#
|
35
|
+
# @return [ListTableServices] operation results.
|
36
|
+
#
|
37
|
+
def list(resource_group_name, account_name, custom_headers:nil)
|
38
|
+
response = list_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
39
|
+
response.body unless response.nil?
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# List all table services for the storage account.
|
44
|
+
#
|
45
|
+
# @param resource_group_name [String] The name of the resource group within the
|
46
|
+
# user's subscription. The name is case insensitive.
|
47
|
+
# @param account_name [String] The name of the storage account within the
|
48
|
+
# specified resource group. Storage account names must be between 3 and 24
|
49
|
+
# characters in length and use numbers and lower-case letters only.
|
50
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
51
|
+
# will be added to the HTTP request.
|
52
|
+
#
|
53
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
|
+
#
|
55
|
+
def list_with_http_info(resource_group_name, account_name, custom_headers:nil)
|
56
|
+
list_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
57
|
+
end
|
58
|
+
|
59
|
+
#
|
60
|
+
# List all table services for the storage account.
|
61
|
+
#
|
62
|
+
# @param resource_group_name [String] The name of the resource group within the
|
63
|
+
# user's subscription. The name is case insensitive.
|
64
|
+
# @param account_name [String] The name of the storage account within the
|
65
|
+
# specified resource group. Storage account names must be between 3 and 24
|
66
|
+
# characters in length and use numbers and lower-case letters only.
|
67
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
68
|
+
# to the HTTP request.
|
69
|
+
#
|
70
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
|
+
#
|
72
|
+
def list_async(resource_group_name, account_name, custom_headers:nil)
|
73
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
75
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
76
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
77
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
78
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
79
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
80
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
81
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
82
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
83
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
84
|
+
|
85
|
+
|
86
|
+
request_headers = {}
|
87
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
88
|
+
|
89
|
+
# Set Headers
|
90
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
91
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
92
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices'
|
93
|
+
|
94
|
+
request_url = @base_url || @client.base_url
|
95
|
+
|
96
|
+
options = {
|
97
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
98
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'subscriptionId' => @client.subscription_id},
|
99
|
+
query_params: {'api-version' => @client.api_version},
|
100
|
+
headers: request_headers.merge(custom_headers || {}),
|
101
|
+
base_url: request_url
|
102
|
+
}
|
103
|
+
promise = @client.make_request_async(:get, path_template, options)
|
104
|
+
|
105
|
+
promise = promise.then do |result|
|
106
|
+
http_response = result.response
|
107
|
+
status_code = http_response.status
|
108
|
+
response_content = http_response.body
|
109
|
+
unless status_code == 200
|
110
|
+
error_model = JSON.load(response_content)
|
111
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
112
|
+
end
|
113
|
+
|
114
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
115
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
116
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
117
|
+
# Deserialize Response
|
118
|
+
if status_code == 200
|
119
|
+
begin
|
120
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
121
|
+
result_mapper = Azure::Storage::Mgmt::V2019_06_01::Models::ListTableServices.mapper()
|
122
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
123
|
+
rescue Exception => e
|
124
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
result
|
129
|
+
end
|
130
|
+
|
131
|
+
promise.execute
|
132
|
+
end
|
133
|
+
|
134
|
+
#
|
135
|
+
# Sets the properties of a storage account’s Table service, including
|
136
|
+
# properties for Storage Analytics and CORS (Cross-Origin Resource Sharing)
|
137
|
+
# rules.
|
138
|
+
#
|
139
|
+
# @param resource_group_name [String] The name of the resource group within the
|
140
|
+
# user's subscription. The name is case insensitive.
|
141
|
+
# @param account_name [String] The name of the storage account within the
|
142
|
+
# specified resource group. Storage account names must be between 3 and 24
|
143
|
+
# characters in length and use numbers and lower-case letters only.
|
144
|
+
# @param parameters [TableServiceProperties] The properties of a storage
|
145
|
+
# account’s Table service, only properties for Storage Analytics and CORS
|
146
|
+
# (Cross-Origin Resource Sharing) rules can be specified.
|
147
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
148
|
+
# will be added to the HTTP request.
|
149
|
+
#
|
150
|
+
# @return [TableServiceProperties] operation results.
|
151
|
+
#
|
152
|
+
def set_service_properties(resource_group_name, account_name, parameters, custom_headers:nil)
|
153
|
+
response = set_service_properties_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
|
154
|
+
response.body unless response.nil?
|
155
|
+
end
|
156
|
+
|
157
|
+
#
|
158
|
+
# Sets the properties of a storage account’s Table service, including
|
159
|
+
# properties for Storage Analytics and CORS (Cross-Origin Resource Sharing)
|
160
|
+
# rules.
|
161
|
+
#
|
162
|
+
# @param resource_group_name [String] The name of the resource group within the
|
163
|
+
# user's subscription. The name is case insensitive.
|
164
|
+
# @param account_name [String] The name of the storage account within the
|
165
|
+
# specified resource group. Storage account names must be between 3 and 24
|
166
|
+
# characters in length and use numbers and lower-case letters only.
|
167
|
+
# @param parameters [TableServiceProperties] The properties of a storage
|
168
|
+
# account’s Table service, only properties for Storage Analytics and CORS
|
169
|
+
# (Cross-Origin Resource Sharing) rules can be specified.
|
170
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
171
|
+
# will be added to the HTTP request.
|
172
|
+
#
|
173
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
174
|
+
#
|
175
|
+
def set_service_properties_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil)
|
176
|
+
set_service_properties_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
|
177
|
+
end
|
178
|
+
|
179
|
+
#
|
180
|
+
# Sets the properties of a storage account’s Table service, including
|
181
|
+
# properties for Storage Analytics and CORS (Cross-Origin Resource Sharing)
|
182
|
+
# rules.
|
183
|
+
#
|
184
|
+
# @param resource_group_name [String] The name of the resource group within the
|
185
|
+
# user's subscription. The name is case insensitive.
|
186
|
+
# @param account_name [String] The name of the storage account within the
|
187
|
+
# specified resource group. Storage account names must be between 3 and 24
|
188
|
+
# characters in length and use numbers and lower-case letters only.
|
189
|
+
# @param parameters [TableServiceProperties] The properties of a storage
|
190
|
+
# account’s Table service, only properties for Storage Analytics and CORS
|
191
|
+
# (Cross-Origin Resource Sharing) rules can be specified.
|
192
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
193
|
+
# to the HTTP request.
|
194
|
+
#
|
195
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
196
|
+
#
|
197
|
+
def set_service_properties_async(resource_group_name, account_name, parameters, custom_headers:nil)
|
198
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
199
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
200
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
201
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
202
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
203
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
204
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
205
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
206
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
207
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
208
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
209
|
+
table_service_name = 'default'
|
210
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
211
|
+
|
212
|
+
|
213
|
+
request_headers = {}
|
214
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
215
|
+
|
216
|
+
# Set Headers
|
217
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
218
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
219
|
+
|
220
|
+
# Serialize Request
|
221
|
+
request_mapper = Azure::Storage::Mgmt::V2019_06_01::Models::TableServiceProperties.mapper()
|
222
|
+
request_content = @client.serialize(request_mapper, parameters)
|
223
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
224
|
+
|
225
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}'
|
226
|
+
|
227
|
+
request_url = @base_url || @client.base_url
|
228
|
+
|
229
|
+
options = {
|
230
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
231
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'subscriptionId' => @client.subscription_id,'tableServiceName' => table_service_name},
|
232
|
+
query_params: {'api-version' => @client.api_version},
|
233
|
+
body: request_content,
|
234
|
+
headers: request_headers.merge(custom_headers || {}),
|
235
|
+
base_url: request_url
|
236
|
+
}
|
237
|
+
promise = @client.make_request_async(:put, path_template, options)
|
238
|
+
|
239
|
+
promise = promise.then do |result|
|
240
|
+
http_response = result.response
|
241
|
+
status_code = http_response.status
|
242
|
+
response_content = http_response.body
|
243
|
+
unless status_code == 200
|
244
|
+
error_model = JSON.load(response_content)
|
245
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
246
|
+
end
|
247
|
+
|
248
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
249
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
250
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
251
|
+
# Deserialize Response
|
252
|
+
if status_code == 200
|
253
|
+
begin
|
254
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
255
|
+
result_mapper = Azure::Storage::Mgmt::V2019_06_01::Models::TableServiceProperties.mapper()
|
256
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
257
|
+
rescue Exception => e
|
258
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
262
|
+
result
|
263
|
+
end
|
264
|
+
|
265
|
+
promise.execute
|
266
|
+
end
|
267
|
+
|
268
|
+
#
|
269
|
+
# Gets the properties of a storage account’s Table service, including
|
270
|
+
# properties for Storage Analytics and CORS (Cross-Origin Resource Sharing)
|
271
|
+
# rules.
|
272
|
+
#
|
273
|
+
# @param resource_group_name [String] The name of the resource group within the
|
274
|
+
# user's subscription. The name is case insensitive.
|
275
|
+
# @param account_name [String] The name of the storage account within the
|
276
|
+
# specified resource group. Storage account names must be between 3 and 24
|
277
|
+
# characters in length and use numbers and lower-case letters only.
|
278
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
279
|
+
# will be added to the HTTP request.
|
280
|
+
#
|
281
|
+
# @return [TableServiceProperties] operation results.
|
282
|
+
#
|
283
|
+
def get_service_properties(resource_group_name, account_name, custom_headers:nil)
|
284
|
+
response = get_service_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
285
|
+
response.body unless response.nil?
|
286
|
+
end
|
287
|
+
|
288
|
+
#
|
289
|
+
# Gets the properties of a storage account’s Table service, including
|
290
|
+
# properties for Storage Analytics and CORS (Cross-Origin Resource Sharing)
|
291
|
+
# rules.
|
292
|
+
#
|
293
|
+
# @param resource_group_name [String] The name of the resource group within the
|
294
|
+
# user's subscription. The name is case insensitive.
|
295
|
+
# @param account_name [String] The name of the storage account within the
|
296
|
+
# specified resource group. Storage account names must be between 3 and 24
|
297
|
+
# characters in length and use numbers and lower-case letters only.
|
298
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
299
|
+
# will be added to the HTTP request.
|
300
|
+
#
|
301
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
302
|
+
#
|
303
|
+
def get_service_properties_with_http_info(resource_group_name, account_name, custom_headers:nil)
|
304
|
+
get_service_properties_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
305
|
+
end
|
306
|
+
|
307
|
+
#
|
308
|
+
# Gets the properties of a storage account’s Table service, including
|
309
|
+
# properties for Storage Analytics and CORS (Cross-Origin Resource Sharing)
|
310
|
+
# rules.
|
311
|
+
#
|
312
|
+
# @param resource_group_name [String] The name of the resource group within the
|
313
|
+
# user's subscription. The name is case insensitive.
|
314
|
+
# @param account_name [String] The name of the storage account within the
|
315
|
+
# specified resource group. Storage account names must be between 3 and 24
|
316
|
+
# characters in length and use numbers and lower-case letters only.
|
317
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
318
|
+
# to the HTTP request.
|
319
|
+
#
|
320
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
321
|
+
#
|
322
|
+
def get_service_properties_async(resource_group_name, account_name, custom_headers:nil)
|
323
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
324
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
325
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
326
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
327
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
328
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '24'" if !account_name.nil? && account_name.length > 24
|
329
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
330
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
331
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
332
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
333
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
334
|
+
table_service_name = 'default'
|
335
|
+
|
336
|
+
|
337
|
+
request_headers = {}
|
338
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
339
|
+
|
340
|
+
# Set Headers
|
341
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
342
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
343
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}'
|
344
|
+
|
345
|
+
request_url = @base_url || @client.base_url
|
346
|
+
|
347
|
+
options = {
|
348
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
349
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'subscriptionId' => @client.subscription_id,'tableServiceName' => table_service_name},
|
350
|
+
query_params: {'api-version' => @client.api_version},
|
351
|
+
headers: request_headers.merge(custom_headers || {}),
|
352
|
+
base_url: request_url
|
353
|
+
}
|
354
|
+
promise = @client.make_request_async(:get, path_template, options)
|
355
|
+
|
356
|
+
promise = promise.then do |result|
|
357
|
+
http_response = result.response
|
358
|
+
status_code = http_response.status
|
359
|
+
response_content = http_response.body
|
360
|
+
unless status_code == 200
|
361
|
+
error_model = JSON.load(response_content)
|
362
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
363
|
+
end
|
364
|
+
|
365
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
366
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
367
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
368
|
+
# Deserialize Response
|
369
|
+
if status_code == 200
|
370
|
+
begin
|
371
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
372
|
+
result_mapper = Azure::Storage::Mgmt::V2019_06_01::Models::TableServiceProperties.mapper()
|
373
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
374
|
+
rescue Exception => e
|
375
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
result
|
380
|
+
end
|
381
|
+
|
382
|
+
promise.execute
|
383
|
+
end
|
384
|
+
|
385
|
+
end
|
386
|
+
end
|
data/lib/azure_mgmt_storage.rb
CHANGED
@@ -2,19 +2,19 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
-
require '2017-10-01/generated/azure_mgmt_storage'
|
6
|
-
require '2015-06-15/generated/azure_mgmt_storage'
|
7
|
-
require '2019-04-01/generated/azure_mgmt_storage'
|
8
|
-
require '2018-03-01-preview/generated/azure_mgmt_storage'
|
9
|
-
require '2019-06-01/generated/azure_mgmt_storage'
|
10
5
|
require '2018-07-01/generated/azure_mgmt_storage'
|
11
|
-
require '
|
12
|
-
require '2018-11-01/generated/azure_mgmt_storage'
|
6
|
+
require '2018-03-01-preview/generated/azure_mgmt_storage'
|
13
7
|
require '2018-02-01/generated/azure_mgmt_storage'
|
14
8
|
require '2016-12-01/generated/azure_mgmt_storage'
|
15
|
-
require '
|
9
|
+
require '2018-11-01/generated/azure_mgmt_storage'
|
16
10
|
require '2015-05-01-preview/generated/azure_mgmt_storage'
|
17
|
-
require '
|
11
|
+
require '2015-06-15/generated/azure_mgmt_storage'
|
12
|
+
require '2019-04-01/generated/azure_mgmt_storage'
|
13
|
+
require '2017-10-01/generated/azure_mgmt_storage'
|
14
|
+
require '2016-01-01/generated/azure_mgmt_storage'
|
15
|
+
require '2017-06-01/generated/azure_mgmt_storage'
|
16
|
+
require '2019-06-01/generated/azure_mgmt_storage'
|
18
17
|
require 'profiles/latest/storage_latest_profile_client'
|
19
|
-
require 'profiles/v2018_03_01/storage_v2018_03_01_profile_client'
|
20
18
|
require 'profiles/v2017_03_09/storage_v2017_03_09_profile_client'
|
19
|
+
require 'profiles/v2018_03_01/storage_v2018_03_01_profile_client'
|
20
|
+
require 'profiles/v2019_03_01_hybrid/storage_v2019_03_01_hybrid_profile_client'
|
@@ -19,99 +19,108 @@ module Azure::Storage::Profiles::Latest
|
|
19
19
|
BlobContainers = Azure::Storage::Mgmt::V2019_06_01::BlobContainers
|
20
20
|
FileServices = Azure::Storage::Mgmt::V2019_06_01::FileServices
|
21
21
|
FileShares = Azure::Storage::Mgmt::V2019_06_01::FileShares
|
22
|
+
QueueServices = Azure::Storage::Mgmt::V2019_06_01::QueueServices
|
23
|
+
Queue = Azure::Storage::Mgmt::V2019_06_01::Queue
|
24
|
+
TableServices = Azure::Storage::Mgmt::V2019_06_01::TableServices
|
25
|
+
TableOperations = Azure::Storage::Mgmt::V2019_06_01::TableOperations
|
22
26
|
|
23
27
|
module Models
|
24
|
-
DateAfterModification = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
|
25
|
-
ManagementPolicyBaseBlob = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyBaseBlob
|
26
|
-
Dimension = Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
|
27
|
-
DateAfterCreation = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation
|
28
|
-
ServiceSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
|
29
|
-
ManagementPolicySnapShot = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot
|
30
|
-
OperationListResult = Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
|
31
|
-
ManagementPolicyAction = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
|
32
|
-
SKUCapability = Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
|
33
28
|
TagFilter = Azure::Storage::Mgmt::V2019_06_01::Models::TagFilter
|
34
|
-
SkuInformation = Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
|
35
29
|
ManagementPolicyFilter = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyFilter
|
36
|
-
|
30
|
+
Dimension = Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
|
37
31
|
ManagementPolicyDefinition = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyDefinition
|
38
|
-
|
32
|
+
ServiceSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
|
39
33
|
ManagementPolicyRule = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyRule
|
40
|
-
|
34
|
+
OperationListResult = Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
|
41
35
|
ManagementPolicySchema = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySchema
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
Restriction = Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
|
46
|
-
AzureFilesIdentityBasedAuthentication = Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
|
36
|
+
SKUCapability = Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
|
37
|
+
DateAfterModification = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
|
38
|
+
ManagementPolicyBaseBlob = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyBaseBlob
|
47
39
|
StorageSkuListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageSkuListResult
|
48
|
-
|
40
|
+
DateAfterCreation = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation
|
49
41
|
CustomDomain = Azure::Storage::Mgmt::V2019_06_01::Models::CustomDomain
|
50
|
-
|
42
|
+
ManagementPolicySnapShot = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot
|
51
43
|
EncryptionServices = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionServices
|
52
|
-
|
44
|
+
ManagementPolicyAction = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
|
53
45
|
Encryption = Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
|
54
|
-
|
46
|
+
OperationDisplay = Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
|
55
47
|
IPRule = Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
|
56
|
-
|
57
|
-
|
48
|
+
MetricSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
|
49
|
+
ActiveDirectoryProperties = Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
|
50
|
+
Operation = Azure::Storage::Mgmt::V2019_06_01::Models::Operation
|
51
|
+
RoutingPreference = Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
|
52
|
+
StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
|
53
|
+
Sku = Azure::Storage::Mgmt::V2019_06_01::Models::Sku
|
54
|
+
Restriction = Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
|
55
|
+
StorageAccountMicrosoftEndpoints = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountMicrosoftEndpoints
|
56
|
+
ListTableResource = Azure::Storage::Mgmt::V2019_06_01::Models::ListTableResource
|
57
|
+
Endpoints = Azure::Storage::Mgmt::V2019_06_01::Models::Endpoints
|
58
|
+
EncryptionScopeKeyVaultProperties = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeKeyVaultProperties
|
59
|
+
BlobRestoreRange = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreRange
|
60
|
+
ListTableServices = Azure::Storage::Mgmt::V2019_06_01::Models::ListTableServices
|
61
|
+
BlobRestoreStatus = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreStatus
|
62
|
+
EncryptionScopeListResult = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeListResult
|
58
63
|
PrivateLinkServiceConnectionState = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkServiceConnectionState
|
59
|
-
|
64
|
+
ObjectReplicationPolicyFilter = Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicyFilter
|
65
|
+
BlobServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
|
60
66
|
StorageAccountKey = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountKey
|
61
|
-
|
67
|
+
ObjectReplicationPolicyRule = Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicyRule
|
62
68
|
StorageAccountListKeysResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListKeysResult
|
63
|
-
|
69
|
+
ListQueueResource = Azure::Storage::Mgmt::V2019_06_01::Models::ListQueueResource
|
64
70
|
StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountUpdateParameters
|
65
|
-
|
71
|
+
ObjectReplicationPolicies = Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicies
|
66
72
|
Usage = Azure::Storage::Mgmt::V2019_06_01::Models::Usage
|
67
|
-
|
73
|
+
ErrorResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
|
68
74
|
AccountSasParameters = Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
|
69
|
-
|
75
|
+
ListQueueServices = Azure::Storage::Mgmt::V2019_06_01::Models::ListQueueServices
|
70
76
|
ServiceSasParameters = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSasParameters
|
71
|
-
|
72
|
-
|
73
|
-
DeletedShare = Azure::Storage::Mgmt::V2019_06_01::Models::DeletedShare
|
74
|
-
Operation = Azure::Storage::Mgmt::V2019_06_01::Models::Operation
|
75
|
-
ObjectReplicationPolicies = Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicies
|
76
|
-
RoutingPreference = Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
|
77
|
-
ErrorResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
|
78
|
-
StorageAccountMicrosoftEndpoints = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountMicrosoftEndpoints
|
79
|
-
FileServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
|
80
|
-
BlobRestoreRange = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreRange
|
81
|
-
LeaseContainerResponse = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerResponse
|
82
|
-
DeleteRetentionPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
|
83
|
-
LeaseContainerRequest = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerRequest
|
84
|
-
StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountRegenerateKeyParameters
|
77
|
+
SkuInformation = Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
|
78
|
+
EncryptionService = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionService
|
85
79
|
Resource = Azure::Storage::Mgmt::V2019_06_01::Models::Resource
|
86
|
-
|
80
|
+
VirtualNetworkRule = Azure::Storage::Mgmt::V2019_06_01::Models::VirtualNetworkRule
|
81
|
+
FileShareItems = Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItems
|
82
|
+
AzureFilesIdentityBasedAuthentication = Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
|
83
|
+
PrivateLinkResourceListResult = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResourceListResult
|
84
|
+
StorageAccountCreateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
|
85
|
+
PrivateEndpointConnectionListResult = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnectionListResult
|
86
|
+
GeoReplicationStats = Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStats
|
87
87
|
UpdateHistoryProperty = Azure::Storage::Mgmt::V2019_06_01::Models::UpdateHistoryProperty
|
88
|
-
|
88
|
+
PrivateEndpoint = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpoint
|
89
89
|
ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyProperties
|
90
|
-
|
90
|
+
StorageAccountListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
|
91
91
|
TagProperty = Azure::Storage::Mgmt::V2019_06_01::Models::TagProperty
|
92
|
-
|
92
|
+
UsageName = Azure::Storage::Mgmt::V2019_06_01::Models::UsageName
|
93
93
|
LegalHoldProperties = Azure::Storage::Mgmt::V2019_06_01::Models::LegalHoldProperties
|
94
|
-
StorageAccountListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
|
95
|
-
BlobServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
|
96
94
|
ListAccountSasResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ListAccountSasResponse
|
97
|
-
|
98
|
-
|
95
|
+
DeletedShare = Azure::Storage::Mgmt::V2019_06_01::Models::DeletedShare
|
96
|
+
CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
|
97
|
+
FileServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
|
98
|
+
NetworkRuleSet = Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
|
99
99
|
LegalHold = Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
|
100
|
-
|
101
|
-
|
102
|
-
|
100
|
+
StorageAccountInternetEndpoints = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountInternetEndpoints
|
101
|
+
LeaseContainerResponse = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerResponse
|
102
|
+
LeaseContainerRequest = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerRequest
|
103
|
+
StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountRegenerateKeyParameters
|
103
104
|
ListContainerItems = Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItems
|
104
|
-
|
105
|
+
ListServiceSasResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ListServiceSasResponse
|
105
106
|
CorsRule = Azure::Storage::Mgmt::V2019_06_01::Models::CorsRule
|
107
|
+
Identity = Azure::Storage::Mgmt::V2019_06_01::Models::Identity
|
108
|
+
CorsRules = Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
|
109
|
+
UsageListResult = Azure::Storage::Mgmt::V2019_06_01::Models::UsageListResult
|
110
|
+
DeleteRetentionPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
|
111
|
+
BlobRestoreParameters = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreParameters
|
112
|
+
ChangeFeed = Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
|
113
|
+
KeyVaultProperties = Azure::Storage::Mgmt::V2019_06_01::Models::KeyVaultProperties
|
114
|
+
RestorePolicyProperties = Azure::Storage::Mgmt::V2019_06_01::Models::RestorePolicyProperties
|
106
115
|
PrivateEndpointConnection = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnection
|
107
116
|
StorageAccount = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccount
|
108
117
|
ManagementPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicy
|
109
|
-
PrivateLinkResource = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
|
110
118
|
EncryptionScope = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScope
|
111
119
|
ObjectReplicationPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicy
|
112
120
|
ProxyResource = Azure::Storage::Mgmt::V2019_06_01::Models::ProxyResource
|
113
121
|
TrackedResource = Azure::Storage::Mgmt::V2019_06_01::Models::TrackedResource
|
114
122
|
AzureEntityResource = Azure::Storage::Mgmt::V2019_06_01::Models::AzureEntityResource
|
123
|
+
PrivateLinkResource = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
|
115
124
|
BlobContainer = Azure::Storage::Mgmt::V2019_06_01::Models::BlobContainer
|
116
125
|
ImmutabilityPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicy
|
117
126
|
ListContainerItem = Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItem
|
@@ -119,6 +128,11 @@ module Azure::Storage::Profiles::Latest
|
|
119
128
|
FileServiceProperties = Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceProperties
|
120
129
|
FileShare = Azure::Storage::Mgmt::V2019_06_01::Models::FileShare
|
121
130
|
FileShareItem = Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItem
|
131
|
+
QueueServiceProperties = Azure::Storage::Mgmt::V2019_06_01::Models::QueueServiceProperties
|
132
|
+
StorageQueue = Azure::Storage::Mgmt::V2019_06_01::Models::StorageQueue
|
133
|
+
ListQueue = Azure::Storage::Mgmt::V2019_06_01::Models::ListQueue
|
134
|
+
TableServiceProperties = Azure::Storage::Mgmt::V2019_06_01::Models::TableServiceProperties
|
135
|
+
Table = Azure::Storage::Mgmt::V2019_06_01::Models::Table
|
122
136
|
ReasonCode = Azure::Storage::Mgmt::V2019_06_01::Models::ReasonCode
|
123
137
|
SkuName = Azure::Storage::Mgmt::V2019_06_01::Models::SkuName
|
124
138
|
SkuTier = Azure::Storage::Mgmt::V2019_06_01::Models::SkuTier
|
@@ -134,6 +148,7 @@ module Azure::Storage::Profiles::Latest
|
|
134
148
|
AccessTier = Azure::Storage::Mgmt::V2019_06_01::Models::AccessTier
|
135
149
|
LargeFileSharesState = Azure::Storage::Mgmt::V2019_06_01::Models::LargeFileSharesState
|
136
150
|
RoutingChoice = Azure::Storage::Mgmt::V2019_06_01::Models::RoutingChoice
|
151
|
+
MinimumTlsVersion = Azure::Storage::Mgmt::V2019_06_01::Models::MinimumTlsVersion
|
137
152
|
GeoReplicationStatus = Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStatus
|
138
153
|
BlobRestoreProgressStatus = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreProgressStatus
|
139
154
|
ProvisioningState = Azure::Storage::Mgmt::V2019_06_01::Models::ProvisioningState
|
@@ -160,6 +175,7 @@ module Azure::Storage::Profiles::Latest
|
|
160
175
|
ShareAccessTier = Azure::Storage::Mgmt::V2019_06_01::Models::ShareAccessTier
|
161
176
|
StorageAccountExpand = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountExpand
|
162
177
|
ListKeyExpand = Azure::Storage::Mgmt::V2019_06_01::Models::ListKeyExpand
|
178
|
+
ListContainersInclude = Azure::Storage::Mgmt::V2019_06_01::Models::ListContainersInclude
|
163
179
|
ListSharesExpand = Azure::Storage::Mgmt::V2019_06_01::Models::ListSharesExpand
|
164
180
|
GetShareExpand = Azure::Storage::Mgmt::V2019_06_01::Models::GetShareExpand
|
165
181
|
end
|
@@ -168,7 +184,7 @@ module Azure::Storage::Profiles::Latest
|
|
168
184
|
# StorageManagementClass
|
169
185
|
#
|
170
186
|
class StorageManagementClass
|
171
|
-
attr_reader :operations, :skus, :storage_accounts, :usages, :management_policies, :private_endpoint_connections, :private_link_resources, :object_replication_policies_operations, :encryption_scopes, :blob_services, :blob_containers, :file_services, :file_shares, :configurable, :base_url, :options, :model_classes
|
187
|
+
attr_reader :operations, :skus, :storage_accounts, :usages, :management_policies, :private_endpoint_connections, :private_link_resources, :object_replication_policies_operations, :encryption_scopes, :blob_services, :blob_containers, :file_services, :file_shares, :queue_services, :queue, :table_services, :table_operations, :configurable, :base_url, :options, :model_classes
|
172
188
|
|
173
189
|
def initialize(options = {})
|
174
190
|
if options.is_a?(Hash) && options.length == 0
|
@@ -201,6 +217,10 @@ module Azure::Storage::Profiles::Latest
|
|
201
217
|
@blob_containers = @client_0.blob_containers
|
202
218
|
@file_services = @client_0.file_services
|
203
219
|
@file_shares = @client_0.file_shares
|
220
|
+
@queue_services = @client_0.queue_services
|
221
|
+
@queue = @client_0.queue
|
222
|
+
@table_services = @client_0.table_services
|
223
|
+
@table_operations = @client_0.table_operations
|
204
224
|
|
205
225
|
@model_classes = ModelClasses.new
|
206
226
|
end
|
@@ -221,252 +241,267 @@ module Azure::Storage::Profiles::Latest
|
|
221
241
|
end
|
222
242
|
|
223
243
|
class ModelClasses
|
224
|
-
def date_after_modification
|
225
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
|
226
|
-
end
|
227
|
-
def management_policy_base_blob
|
228
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyBaseBlob
|
229
|
-
end
|
230
|
-
def dimension
|
231
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
|
232
|
-
end
|
233
|
-
def date_after_creation
|
234
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation
|
235
|
-
end
|
236
|
-
def service_specification
|
237
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
|
238
|
-
end
|
239
|
-
def management_policy_snap_shot
|
240
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot
|
241
|
-
end
|
242
|
-
def operation_list_result
|
243
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
|
244
|
-
end
|
245
|
-
def management_policy_action
|
246
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
|
247
|
-
end
|
248
|
-
def skucapability
|
249
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
|
250
|
-
end
|
251
244
|
def tag_filter
|
252
245
|
Azure::Storage::Mgmt::V2019_06_01::Models::TagFilter
|
253
246
|
end
|
254
|
-
def sku_information
|
255
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
|
256
|
-
end
|
257
247
|
def management_policy_filter
|
258
248
|
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyFilter
|
259
249
|
end
|
260
|
-
def
|
261
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
250
|
+
def dimension
|
251
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
|
262
252
|
end
|
263
253
|
def management_policy_definition
|
264
254
|
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyDefinition
|
265
255
|
end
|
266
|
-
def
|
267
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
256
|
+
def service_specification
|
257
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
|
268
258
|
end
|
269
259
|
def management_policy_rule
|
270
260
|
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyRule
|
271
261
|
end
|
272
|
-
def
|
273
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
262
|
+
def operation_list_result
|
263
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
|
274
264
|
end
|
275
265
|
def management_policy_schema
|
276
266
|
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySchema
|
277
267
|
end
|
278
|
-
def
|
279
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
280
|
-
end
|
281
|
-
def storage_account_check_name_availability_parameters
|
282
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
|
283
|
-
end
|
284
|
-
def network_rule_set
|
285
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
|
268
|
+
def skucapability
|
269
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
|
286
270
|
end
|
287
|
-
def
|
288
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
271
|
+
def date_after_modification
|
272
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
|
289
273
|
end
|
290
|
-
def
|
291
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
274
|
+
def management_policy_base_blob
|
275
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyBaseBlob
|
292
276
|
end
|
293
277
|
def storage_sku_list_result
|
294
278
|
Azure::Storage::Mgmt::V2019_06_01::Models::StorageSkuListResult
|
295
279
|
end
|
296
|
-
def
|
297
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
280
|
+
def date_after_creation
|
281
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation
|
298
282
|
end
|
299
283
|
def custom_domain
|
300
284
|
Azure::Storage::Mgmt::V2019_06_01::Models::CustomDomain
|
301
285
|
end
|
302
|
-
def
|
303
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
286
|
+
def management_policy_snap_shot
|
287
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot
|
304
288
|
end
|
305
289
|
def encryption_services
|
306
290
|
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionServices
|
307
291
|
end
|
308
|
-
def
|
309
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
292
|
+
def management_policy_action
|
293
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
|
310
294
|
end
|
311
295
|
def encryption
|
312
296
|
Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
|
313
297
|
end
|
314
|
-
def
|
315
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
298
|
+
def operation_display
|
299
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
|
316
300
|
end
|
317
301
|
def iprule
|
318
302
|
Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
|
319
303
|
end
|
320
|
-
def
|
321
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
304
|
+
def metric_specification
|
305
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
|
322
306
|
end
|
323
|
-
def
|
324
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
307
|
+
def active_directory_properties
|
308
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
|
325
309
|
end
|
326
|
-
def
|
327
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
310
|
+
def operation
|
311
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::Operation
|
328
312
|
end
|
329
|
-
def
|
330
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
313
|
+
def routing_preference
|
314
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
|
331
315
|
end
|
332
|
-
def
|
333
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
316
|
+
def storage_account_check_name_availability_parameters
|
317
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
|
334
318
|
end
|
335
|
-
def
|
336
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
319
|
+
def sku
|
320
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::Sku
|
337
321
|
end
|
338
|
-
def
|
339
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
322
|
+
def restriction
|
323
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
|
324
|
+
end
|
325
|
+
def storage_account_microsoft_endpoints
|
326
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountMicrosoftEndpoints
|
327
|
+
end
|
328
|
+
def list_table_resource
|
329
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ListTableResource
|
330
|
+
end
|
331
|
+
def endpoints
|
332
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::Endpoints
|
340
333
|
end
|
341
334
|
def encryption_scope_key_vault_properties
|
342
335
|
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeKeyVaultProperties
|
343
336
|
end
|
344
|
-
def
|
345
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
337
|
+
def blob_restore_range
|
338
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreRange
|
346
339
|
end
|
347
|
-
def
|
348
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
340
|
+
def list_table_services
|
341
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ListTableServices
|
349
342
|
end
|
350
|
-
def
|
351
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
343
|
+
def blob_restore_status
|
344
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreStatus
|
352
345
|
end
|
353
346
|
def encryption_scope_list_result
|
354
347
|
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeListResult
|
355
348
|
end
|
356
|
-
def
|
357
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
349
|
+
def private_link_service_connection_state
|
350
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkServiceConnectionState
|
358
351
|
end
|
359
352
|
def object_replication_policy_filter
|
360
353
|
Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicyFilter
|
361
354
|
end
|
362
|
-
def
|
363
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
355
|
+
def blob_service_items
|
356
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
|
357
|
+
end
|
358
|
+
def storage_account_key
|
359
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountKey
|
364
360
|
end
|
365
361
|
def object_replication_policy_rule
|
366
362
|
Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicyRule
|
367
363
|
end
|
368
|
-
def
|
369
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
364
|
+
def storage_account_list_keys_result
|
365
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListKeysResult
|
370
366
|
end
|
371
|
-
def
|
372
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
367
|
+
def list_queue_resource
|
368
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ListQueueResource
|
373
369
|
end
|
374
|
-
def
|
375
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
370
|
+
def storage_account_update_parameters
|
371
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountUpdateParameters
|
376
372
|
end
|
377
373
|
def object_replication_policies
|
378
374
|
Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicies
|
379
375
|
end
|
380
|
-
def
|
381
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
376
|
+
def usage
|
377
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::Usage
|
382
378
|
end
|
383
379
|
def error_response
|
384
380
|
Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
|
385
381
|
end
|
386
|
-
def
|
387
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
388
|
-
end
|
389
|
-
def file_service_items
|
390
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
|
382
|
+
def account_sas_parameters
|
383
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
|
391
384
|
end
|
392
|
-
def
|
393
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
385
|
+
def list_queue_services
|
386
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ListQueueServices
|
394
387
|
end
|
395
|
-
def
|
396
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
397
|
-
end
|
398
|
-
def delete_retention_policy
|
399
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
|
388
|
+
def service_sas_parameters
|
389
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSasParameters
|
400
390
|
end
|
401
|
-
def
|
402
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
391
|
+
def sku_information
|
392
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
|
403
393
|
end
|
404
|
-
def
|
405
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
394
|
+
def encryption_service
|
395
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionService
|
406
396
|
end
|
407
397
|
def resource
|
408
398
|
Azure::Storage::Mgmt::V2019_06_01::Models::Resource
|
409
399
|
end
|
410
|
-
def
|
411
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
400
|
+
def virtual_network_rule
|
401
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::VirtualNetworkRule
|
402
|
+
end
|
403
|
+
def file_share_items
|
404
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItems
|
405
|
+
end
|
406
|
+
def azure_files_identity_based_authentication
|
407
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
|
408
|
+
end
|
409
|
+
def private_link_resource_list_result
|
410
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResourceListResult
|
411
|
+
end
|
412
|
+
def storage_account_create_parameters
|
413
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
|
414
|
+
end
|
415
|
+
def private_endpoint_connection_list_result
|
416
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnectionListResult
|
417
|
+
end
|
418
|
+
def geo_replication_stats
|
419
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStats
|
412
420
|
end
|
413
421
|
def update_history_property
|
414
422
|
Azure::Storage::Mgmt::V2019_06_01::Models::UpdateHistoryProperty
|
415
423
|
end
|
416
|
-
def
|
417
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
424
|
+
def private_endpoint
|
425
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpoint
|
418
426
|
end
|
419
427
|
def immutability_policy_properties
|
420
428
|
Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyProperties
|
421
429
|
end
|
422
|
-
def
|
423
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
430
|
+
def storage_account_list_result
|
431
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
|
424
432
|
end
|
425
433
|
def tag_property
|
426
434
|
Azure::Storage::Mgmt::V2019_06_01::Models::TagProperty
|
427
435
|
end
|
428
|
-
def
|
429
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
436
|
+
def usage_name
|
437
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::UsageName
|
430
438
|
end
|
431
439
|
def legal_hold_properties
|
432
440
|
Azure::Storage::Mgmt::V2019_06_01::Models::LegalHoldProperties
|
433
441
|
end
|
434
|
-
def storage_account_list_result
|
435
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
|
436
|
-
end
|
437
|
-
def blob_service_items
|
438
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
|
439
|
-
end
|
440
442
|
def list_account_sas_response
|
441
443
|
Azure::Storage::Mgmt::V2019_06_01::Models::ListAccountSasResponse
|
442
444
|
end
|
443
|
-
def
|
444
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
445
|
+
def deleted_share
|
446
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::DeletedShare
|
445
447
|
end
|
446
|
-
def
|
447
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
448
|
+
def check_name_availability_result
|
449
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
|
450
|
+
end
|
451
|
+
def file_service_items
|
452
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
|
453
|
+
end
|
454
|
+
def network_rule_set
|
455
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
|
448
456
|
end
|
449
457
|
def legal_hold
|
450
458
|
Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
|
451
459
|
end
|
452
|
-
def
|
453
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
460
|
+
def storage_account_internet_endpoints
|
461
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountInternetEndpoints
|
454
462
|
end
|
455
|
-
def
|
456
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
463
|
+
def lease_container_response
|
464
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerResponse
|
457
465
|
end
|
458
|
-
def
|
459
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
466
|
+
def lease_container_request
|
467
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerRequest
|
468
|
+
end
|
469
|
+
def storage_account_regenerate_key_parameters
|
470
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountRegenerateKeyParameters
|
460
471
|
end
|
461
472
|
def list_container_items
|
462
473
|
Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItems
|
463
474
|
end
|
464
|
-
def
|
465
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::
|
475
|
+
def list_service_sas_response
|
476
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ListServiceSasResponse
|
466
477
|
end
|
467
478
|
def cors_rule
|
468
479
|
Azure::Storage::Mgmt::V2019_06_01::Models::CorsRule
|
469
480
|
end
|
481
|
+
def identity
|
482
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::Identity
|
483
|
+
end
|
484
|
+
def cors_rules
|
485
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
|
486
|
+
end
|
487
|
+
def usage_list_result
|
488
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::UsageListResult
|
489
|
+
end
|
490
|
+
def delete_retention_policy
|
491
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
|
492
|
+
end
|
493
|
+
def blob_restore_parameters
|
494
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreParameters
|
495
|
+
end
|
496
|
+
def change_feed
|
497
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
|
498
|
+
end
|
499
|
+
def key_vault_properties
|
500
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::KeyVaultProperties
|
501
|
+
end
|
502
|
+
def restore_policy_properties
|
503
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::RestorePolicyProperties
|
504
|
+
end
|
470
505
|
def private_endpoint_connection
|
471
506
|
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnection
|
472
507
|
end
|
@@ -476,9 +511,6 @@ module Azure::Storage::Profiles::Latest
|
|
476
511
|
def management_policy
|
477
512
|
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicy
|
478
513
|
end
|
479
|
-
def private_link_resource
|
480
|
-
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
|
481
|
-
end
|
482
514
|
def encryption_scope
|
483
515
|
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScope
|
484
516
|
end
|
@@ -494,6 +526,9 @@ module Azure::Storage::Profiles::Latest
|
|
494
526
|
def azure_entity_resource
|
495
527
|
Azure::Storage::Mgmt::V2019_06_01::Models::AzureEntityResource
|
496
528
|
end
|
529
|
+
def private_link_resource
|
530
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
|
531
|
+
end
|
497
532
|
def blob_container
|
498
533
|
Azure::Storage::Mgmt::V2019_06_01::Models::BlobContainer
|
499
534
|
end
|
@@ -515,6 +550,21 @@ module Azure::Storage::Profiles::Latest
|
|
515
550
|
def file_share_item
|
516
551
|
Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItem
|
517
552
|
end
|
553
|
+
def queue_service_properties
|
554
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::QueueServiceProperties
|
555
|
+
end
|
556
|
+
def storage_queue
|
557
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::StorageQueue
|
558
|
+
end
|
559
|
+
def list_queue
|
560
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ListQueue
|
561
|
+
end
|
562
|
+
def table_service_properties
|
563
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::TableServiceProperties
|
564
|
+
end
|
565
|
+
def table
|
566
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::Table
|
567
|
+
end
|
518
568
|
def reason_code
|
519
569
|
Azure::Storage::Mgmt::V2019_06_01::Models::ReasonCode
|
520
570
|
end
|
@@ -560,6 +610,9 @@ module Azure::Storage::Profiles::Latest
|
|
560
610
|
def routing_choice
|
561
611
|
Azure::Storage::Mgmt::V2019_06_01::Models::RoutingChoice
|
562
612
|
end
|
613
|
+
def minimum_tls_version
|
614
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::MinimumTlsVersion
|
615
|
+
end
|
563
616
|
def geo_replication_status
|
564
617
|
Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStatus
|
565
618
|
end
|
@@ -638,6 +691,9 @@ module Azure::Storage::Profiles::Latest
|
|
638
691
|
def list_key_expand
|
639
692
|
Azure::Storage::Mgmt::V2019_06_01::Models::ListKeyExpand
|
640
693
|
end
|
694
|
+
def list_containers_include
|
695
|
+
Azure::Storage::Mgmt::V2019_06_01::Models::ListContainersInclude
|
696
|
+
end
|
641
697
|
def list_shares_expand
|
642
698
|
Azure::Storage::Mgmt::V2019_06_01::Models::ListSharesExpand
|
643
699
|
end
|