azure_mgmt_datalake_analytics 0.10.0 → 0.11.0
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/generated/azure_mgmt_datalake_analytics.rb +21 -13
- data/lib/generated/azure_mgmt_datalake_analytics/account.rb +183 -184
- data/lib/generated/azure_mgmt_datalake_analytics/compute_policies.rb +682 -0
- data/lib/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +5 -1
- data/lib/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +79 -80
- data/lib/generated/azure_mgmt_datalake_analytics/firewall_rules.rb +20 -21
- data/lib/generated/azure_mgmt_datalake_analytics/models/aadobject_type.rb +17 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/compute_policy.rb +98 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/compute_policy_account_create_parameters.rb +97 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/compute_policy_create_or_update_parameters.rb +87 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +94 -34
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +154 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +6 -5
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb +109 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_state.rb +1 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_status.rb +1 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb +49 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_firewall_rule_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_allow_azure_ips_state.rb +1 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_state.rb +1 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/list_storage_containers_result.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/optional_sub_resource.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/sas_token_info.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/storage_container.rb +9 -8
- data/lib/generated/azure_mgmt_datalake_analytics/models/sub_resource.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/tier_type.rb +1 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_datalake_analytics/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_datalake_analytics/storage_accounts.rb +163 -164
- data/lib/generated/azure_mgmt_datalake_analytics/version.rb +2 -2
- metadata +12 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb01342e8c0600bf817a0b6268880937028985ec
|
4
|
+
data.tar.gz: 7aa251b90e80c018fa198e9ce7c13404074d816a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5333380bd5f61ff6e796912ca6f3b84738eed4fedf98e11c0f1d6ad29e947246eaf7b9acb58dfba0580ad150113e03beaef9d83d3e299e122cb37d6fc3852a9f
|
7
|
+
data.tar.gz: f22b74012a4c8d02a330b2395fc08adef7a637178e06ce33c299259248a0455f97cb45b4f7ed3d662ca4f0d79a0f78f643cf5e11d2898aa0415aa15ac2c0c72c
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -20,6 +20,7 @@ require 'generated/azure_mgmt_datalake_analytics/module_definition'
|
|
20
20
|
require 'ms_rest_azure'
|
21
21
|
|
22
22
|
module Azure::ARM::DataLakeAnalytics
|
23
|
+
autoload :ComputePolicies, 'generated/azure_mgmt_datalake_analytics/compute_policies.rb'
|
23
24
|
autoload :FirewallRules, 'generated/azure_mgmt_datalake_analytics/firewall_rules.rb'
|
24
25
|
autoload :StorageAccounts, 'generated/azure_mgmt_datalake_analytics/storage_accounts.rb'
|
25
26
|
autoload :DataLakeStoreAccounts, 'generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb'
|
@@ -27,29 +28,36 @@ module Azure::ARM::DataLakeAnalytics
|
|
27
28
|
autoload :DataLakeAnalyticsAccountManagementClient, 'generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb'
|
28
29
|
|
29
30
|
module Models
|
30
|
-
autoload :AddStorageAccountParameters, 'generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb'
|
31
|
-
autoload :SubResource, 'generated/azure_mgmt_datalake_analytics/models/sub_resource.rb'
|
32
|
-
autoload :AddDataLakeStoreParameters, 'generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb'
|
33
|
-
autoload :ListStorageContainersResult, 'generated/azure_mgmt_datalake_analytics/models/list_storage_containers_result.rb'
|
34
|
-
autoload :OptionalSubResource, 'generated/azure_mgmt_datalake_analytics/models/optional_sub_resource.rb'
|
35
|
-
autoload :ListSasTokensResult, 'generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb'
|
36
31
|
autoload :UpdateStorageAccountParameters, 'generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb'
|
37
|
-
autoload :
|
38
|
-
autoload :DataLakeAnalyticsAccountUpdateParameters, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb'
|
32
|
+
autoload :AddDataLakeStoreParameters, 'generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb'
|
39
33
|
autoload :StorageContainer, 'generated/azure_mgmt_datalake_analytics/models/storage_container.rb'
|
40
|
-
autoload :
|
34
|
+
autoload :AddStorageAccountParameters, 'generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb'
|
41
35
|
autoload :SasTokenInfo, 'generated/azure_mgmt_datalake_analytics/models/sas_token_info.rb'
|
42
|
-
autoload :
|
36
|
+
autoload :OptionalSubResource, 'generated/azure_mgmt_datalake_analytics/models/optional_sub_resource.rb'
|
37
|
+
autoload :ComputePolicyCreateOrUpdateParameters, 'generated/azure_mgmt_datalake_analytics/models/compute_policy_create_or_update_parameters.rb'
|
43
38
|
autoload :DataLakeAnalyticsAccountListDataLakeStoreResult, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb'
|
39
|
+
autoload :ComputePolicyListResult, 'generated/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb'
|
40
|
+
autoload :ComputePolicyAccountCreateParameters, 'generated/azure_mgmt_datalake_analytics/models/compute_policy_account_create_parameters.rb'
|
41
|
+
autoload :DataLakeAnalyticsAccountUpdateParameters, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb'
|
42
|
+
autoload :ListStorageContainersResult, 'generated/azure_mgmt_datalake_analytics/models/list_storage_containers_result.rb'
|
43
|
+
autoload :DataLakeAnalyticsAccountPropertiesBasic, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb'
|
44
|
+
autoload :DataLakeAnalyticsAccountListStorageAccountsResult, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb'
|
45
|
+
autoload :ComputePolicy, 'generated/azure_mgmt_datalake_analytics/models/compute_policy.rb'
|
44
46
|
autoload :UpdateFirewallRuleParameters, 'generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb'
|
47
|
+
autoload :SubResource, 'generated/azure_mgmt_datalake_analytics/models/sub_resource.rb'
|
48
|
+
autoload :DataLakeAnalyticsAccountListResult, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb'
|
49
|
+
autoload :ListSasTokensResult, 'generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb'
|
50
|
+
autoload :DataLakeAnalyticsFirewallRuleListResult, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_firewall_rule_list_result.rb'
|
45
51
|
autoload :StorageAccountInfo, 'generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb'
|
46
52
|
autoload :DataLakeStoreAccountInfo, 'generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb'
|
47
53
|
autoload :FirewallRule, 'generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb'
|
54
|
+
autoload :DataLakeAnalyticsAccountBasic, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb'
|
48
55
|
autoload :DataLakeAnalyticsAccount, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb'
|
49
|
-
autoload :DataLakeAnalyticsAccountStatus, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_status.rb'
|
50
|
-
autoload :DataLakeAnalyticsAccountState, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_state.rb'
|
51
56
|
autoload :TierType, 'generated/azure_mgmt_datalake_analytics/models/tier_type.rb'
|
52
57
|
autoload :FirewallState, 'generated/azure_mgmt_datalake_analytics/models/firewall_state.rb'
|
53
58
|
autoload :FirewallAllowAzureIpsState, 'generated/azure_mgmt_datalake_analytics/models/firewall_allow_azure_ips_state.rb'
|
59
|
+
autoload :AADObjectType, 'generated/azure_mgmt_datalake_analytics/models/aadobject_type.rb'
|
60
|
+
autoload :DataLakeAnalyticsAccountStatus, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_status.rb'
|
61
|
+
autoload :DataLakeAnalyticsAccountState, 'generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_state.rb'
|
54
62
|
end
|
55
63
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -8,7 +8,6 @@ module Azure::ARM::DataLakeAnalytics
|
|
8
8
|
# Creates an Azure Data Lake Analytics account management client.
|
9
9
|
#
|
10
10
|
class Account
|
11
|
-
include Azure::ARM::DataLakeAnalytics::Models
|
12
11
|
include MsRestAzure
|
13
12
|
|
14
13
|
#
|
@@ -45,7 +44,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
45
44
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
46
45
|
# will be added to the HTTP request.
|
47
46
|
#
|
48
|
-
# @return [Array<
|
47
|
+
# @return [Array<DataLakeAnalyticsAccountBasic>] operation results.
|
49
48
|
#
|
50
49
|
def list_by_resource_group(resource_group_name, filter = nil, top = nil, skip = nil, select = nil, orderby = nil, count = nil, custom_headers = nil)
|
51
50
|
first_page = list_by_resource_group_as_lazy(resource_group_name, filter, top, skip, select, orderby, count, custom_headers)
|
@@ -117,7 +116,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
117
116
|
# Set Headers
|
118
117
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
119
118
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
120
|
-
path_template = '
|
119
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts'
|
121
120
|
|
122
121
|
request_url = @base_url || @client.base_url
|
123
122
|
|
@@ -144,8 +143,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
144
143
|
if status_code == 200
|
145
144
|
begin
|
146
145
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
147
|
-
result_mapper = DataLakeAnalyticsAccountListResult.mapper()
|
148
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
146
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccountListResult.mapper()
|
147
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
149
148
|
rescue Exception => e
|
150
149
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
151
150
|
end
|
@@ -178,7 +177,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
178
177
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
179
178
|
# will be added to the HTTP request.
|
180
179
|
#
|
181
|
-
# @return [Array<
|
180
|
+
# @return [Array<DataLakeAnalyticsAccountBasic>] operation results.
|
182
181
|
#
|
183
182
|
def list(filter = nil, top = nil, skip = nil, select = nil, orderby = nil, count = nil, custom_headers = nil)
|
184
183
|
first_page = list_as_lazy(filter, top, skip, select, orderby, count, custom_headers)
|
@@ -245,7 +244,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
245
244
|
# Set Headers
|
246
245
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
247
246
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
248
|
-
path_template = '
|
247
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/accounts'
|
249
248
|
|
250
249
|
request_url = @base_url || @client.base_url
|
251
250
|
|
@@ -272,8 +271,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
272
271
|
if status_code == 200
|
273
272
|
begin
|
274
273
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
275
|
-
result_mapper = DataLakeAnalyticsAccountListResult.mapper()
|
276
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
274
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccountListResult.mapper()
|
275
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
277
276
|
rescue Exception => e
|
278
277
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
279
278
|
end
|
@@ -286,136 +285,47 @@ module Azure::ARM::DataLakeAnalytics
|
|
286
285
|
end
|
287
286
|
|
288
287
|
#
|
289
|
-
#
|
288
|
+
# Creates the specified Data Lake Analytics account. This supplies the user
|
289
|
+
# with computation services for Data Lake Analytics workloads
|
290
290
|
#
|
291
291
|
# @param resource_group_name [String] The name of the Azure resource group that
|
292
|
-
# contains the Data Lake Analytics account.
|
292
|
+
# contains the Data Lake Analytics account.the account will be associated with.
|
293
293
|
# @param account_name [String] The name of the Data Lake Analytics account to
|
294
|
-
#
|
294
|
+
# create.
|
295
|
+
# @param parameters [DataLakeAnalyticsAccount] Parameters supplied to the
|
296
|
+
# create Data Lake Analytics account operation.
|
295
297
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
296
298
|
# will be added to the HTTP request.
|
297
299
|
#
|
298
300
|
# @return [DataLakeAnalyticsAccount] operation results.
|
299
301
|
#
|
300
|
-
def
|
301
|
-
response =
|
302
|
+
def create(resource_group_name, account_name, parameters, custom_headers = nil)
|
303
|
+
response = create_async(resource_group_name, account_name, parameters, custom_headers).value!
|
302
304
|
response.body unless response.nil?
|
303
305
|
end
|
304
306
|
|
305
|
-
#
|
306
|
-
# Gets details of the specified Data Lake Analytics account.
|
307
|
-
#
|
308
|
-
# @param resource_group_name [String] The name of the Azure resource group that
|
309
|
-
# contains the Data Lake Analytics account.
|
310
|
-
# @param account_name [String] The name of the Data Lake Analytics account to
|
311
|
-
# retrieve.
|
312
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
313
|
-
# will be added to the HTTP request.
|
314
|
-
#
|
315
|
-
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
316
|
-
#
|
317
|
-
def get_with_http_info(resource_group_name, account_name, custom_headers = nil)
|
318
|
-
get_async(resource_group_name, account_name, custom_headers).value!
|
319
|
-
end
|
320
|
-
|
321
|
-
#
|
322
|
-
# Gets details of the specified Data Lake Analytics account.
|
323
|
-
#
|
324
|
-
# @param resource_group_name [String] The name of the Azure resource group that
|
325
|
-
# contains the Data Lake Analytics account.
|
326
|
-
# @param account_name [String] The name of the Data Lake Analytics account to
|
327
|
-
# retrieve.
|
328
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
329
|
-
# to the HTTP request.
|
330
|
-
#
|
331
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
332
|
-
#
|
333
|
-
def get_async(resource_group_name, account_name, custom_headers = nil)
|
334
|
-
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
335
|
-
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
336
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
337
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
338
|
-
|
339
|
-
|
340
|
-
request_headers = {}
|
341
|
-
|
342
|
-
# Set Headers
|
343
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
344
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
345
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}'
|
346
|
-
|
347
|
-
request_url = @base_url || @client.base_url
|
348
|
-
|
349
|
-
options = {
|
350
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
351
|
-
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'subscriptionId' => @client.subscription_id},
|
352
|
-
query_params: {'api-version' => @client.api_version},
|
353
|
-
headers: request_headers.merge(custom_headers || {}),
|
354
|
-
base_url: request_url
|
355
|
-
}
|
356
|
-
promise = @client.make_request_async(:get, path_template, options)
|
357
|
-
|
358
|
-
promise = promise.then do |result|
|
359
|
-
http_response = result.response
|
360
|
-
status_code = http_response.status
|
361
|
-
response_content = http_response.body
|
362
|
-
unless status_code == 200
|
363
|
-
error_model = JSON.load(response_content)
|
364
|
-
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
365
|
-
end
|
366
|
-
|
367
|
-
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-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 = DataLakeAnalyticsAccount.mapper()
|
373
|
-
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
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
|
-
#
|
386
|
-
# Begins the delete delete process for the Data Lake Analytics account object
|
387
|
-
# specified by the account name.
|
388
|
-
#
|
389
|
-
# @param resource_group_name [String] The name of the Azure resource group that
|
390
|
-
# contains the Data Lake Analytics account.
|
391
|
-
# @param account_name [String] The name of the Data Lake Analytics account to
|
392
|
-
# delete
|
393
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
394
|
-
# will be added to the HTTP request.
|
395
|
-
#
|
396
|
-
def delete(resource_group_name, account_name, custom_headers = nil)
|
397
|
-
response = delete_async(resource_group_name, account_name, custom_headers).value!
|
398
|
-
nil
|
399
|
-
end
|
400
|
-
|
401
307
|
#
|
402
308
|
# @param resource_group_name [String] The name of the Azure resource group that
|
403
|
-
# contains the Data Lake Analytics account.
|
309
|
+
# contains the Data Lake Analytics account.the account will be associated with.
|
404
310
|
# @param account_name [String] The name of the Data Lake Analytics account to
|
405
|
-
#
|
311
|
+
# create.
|
312
|
+
# @param parameters [DataLakeAnalyticsAccount] Parameters supplied to the
|
313
|
+
# create Data Lake Analytics account operation.
|
406
314
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
407
315
|
# will be added to the HTTP request.
|
408
316
|
#
|
409
317
|
# @return [Concurrent::Promise] promise which provides async access to http
|
410
318
|
# response.
|
411
319
|
#
|
412
|
-
def
|
320
|
+
def create_async(resource_group_name, account_name, parameters, custom_headers = nil)
|
413
321
|
# Send request
|
414
|
-
promise =
|
322
|
+
promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers)
|
415
323
|
|
416
324
|
promise = promise.then do |response|
|
417
325
|
# Defining deserialization method.
|
418
326
|
deserialize_method = lambda do |parsed_response|
|
327
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccount.mapper()
|
328
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
419
329
|
end
|
420
330
|
|
421
331
|
# Waiting for response.
|
@@ -426,47 +336,47 @@ module Azure::ARM::DataLakeAnalytics
|
|
426
336
|
end
|
427
337
|
|
428
338
|
#
|
429
|
-
#
|
430
|
-
# with
|
339
|
+
# Updates the Data Lake Analytics account object specified by the accountName
|
340
|
+
# with the contents of the account object.
|
431
341
|
#
|
432
342
|
# @param resource_group_name [String] The name of the Azure resource group that
|
433
|
-
# contains the Data Lake Analytics account.
|
343
|
+
# contains the Data Lake Analytics account.
|
434
344
|
# @param account_name [String] The name of the Data Lake Analytics account to
|
435
|
-
#
|
436
|
-
# @param parameters [
|
437
|
-
#
|
345
|
+
# update.
|
346
|
+
# @param parameters [DataLakeAnalyticsAccountUpdateParameters] Parameters
|
347
|
+
# supplied to the update Data Lake Analytics account operation.
|
438
348
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
439
349
|
# will be added to the HTTP request.
|
440
350
|
#
|
441
351
|
# @return [DataLakeAnalyticsAccount] operation results.
|
442
352
|
#
|
443
|
-
def
|
444
|
-
response =
|
353
|
+
def update(resource_group_name, account_name, parameters = nil, custom_headers = nil)
|
354
|
+
response = update_async(resource_group_name, account_name, parameters, custom_headers).value!
|
445
355
|
response.body unless response.nil?
|
446
356
|
end
|
447
357
|
|
448
358
|
#
|
449
359
|
# @param resource_group_name [String] The name of the Azure resource group that
|
450
|
-
# contains the Data Lake Analytics account.
|
360
|
+
# contains the Data Lake Analytics account.
|
451
361
|
# @param account_name [String] The name of the Data Lake Analytics account to
|
452
|
-
#
|
453
|
-
# @param parameters [
|
454
|
-
#
|
362
|
+
# update.
|
363
|
+
# @param parameters [DataLakeAnalyticsAccountUpdateParameters] Parameters
|
364
|
+
# supplied to the update Data Lake Analytics account operation.
|
455
365
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
456
366
|
# will be added to the HTTP request.
|
457
367
|
#
|
458
368
|
# @return [Concurrent::Promise] promise which provides async access to http
|
459
369
|
# response.
|
460
370
|
#
|
461
|
-
def
|
371
|
+
def update_async(resource_group_name, account_name, parameters = nil, custom_headers = nil)
|
462
372
|
# Send request
|
463
|
-
promise =
|
373
|
+
promise = begin_update_async(resource_group_name, account_name, parameters, custom_headers)
|
464
374
|
|
465
375
|
promise = promise.then do |response|
|
466
376
|
# Defining deserialization method.
|
467
377
|
deserialize_method = lambda do |parsed_response|
|
468
|
-
result_mapper = DataLakeAnalyticsAccount.mapper()
|
469
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response
|
378
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccount.mapper()
|
379
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
470
380
|
end
|
471
381
|
|
472
382
|
# Waiting for response.
|
@@ -477,47 +387,39 @@ module Azure::ARM::DataLakeAnalytics
|
|
477
387
|
end
|
478
388
|
|
479
389
|
#
|
480
|
-
#
|
481
|
-
#
|
390
|
+
# Begins the delete process for the Data Lake Analytics account object
|
391
|
+
# specified by the account name.
|
482
392
|
#
|
483
393
|
# @param resource_group_name [String] The name of the Azure resource group that
|
484
394
|
# contains the Data Lake Analytics account.
|
485
395
|
# @param account_name [String] The name of the Data Lake Analytics account to
|
486
|
-
#
|
487
|
-
# @param parameters [DataLakeAnalyticsAccountUpdateParameters] Parameters
|
488
|
-
# supplied to the update Data Lake Analytics account operation.
|
396
|
+
# delete
|
489
397
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
490
398
|
# will be added to the HTTP request.
|
491
399
|
#
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
response = update_async(resource_group_name, account_name, parameters, custom_headers).value!
|
496
|
-
response.body unless response.nil?
|
400
|
+
def delete(resource_group_name, account_name, custom_headers = nil)
|
401
|
+
response = delete_async(resource_group_name, account_name, custom_headers).value!
|
402
|
+
nil
|
497
403
|
end
|
498
404
|
|
499
405
|
#
|
500
406
|
# @param resource_group_name [String] The name of the Azure resource group that
|
501
407
|
# contains the Data Lake Analytics account.
|
502
408
|
# @param account_name [String] The name of the Data Lake Analytics account to
|
503
|
-
#
|
504
|
-
# @param parameters [DataLakeAnalyticsAccountUpdateParameters] Parameters
|
505
|
-
# supplied to the update Data Lake Analytics account operation.
|
409
|
+
# delete
|
506
410
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
507
411
|
# will be added to the HTTP request.
|
508
412
|
#
|
509
413
|
# @return [Concurrent::Promise] promise which provides async access to http
|
510
414
|
# response.
|
511
415
|
#
|
512
|
-
def
|
416
|
+
def delete_async(resource_group_name, account_name, custom_headers = nil)
|
513
417
|
# Send request
|
514
|
-
promise =
|
418
|
+
promise = begin_delete_async(resource_group_name, account_name, custom_headers)
|
515
419
|
|
516
420
|
promise = promise.then do |response|
|
517
421
|
# Defining deserialization method.
|
518
422
|
deserialize_method = lambda do |parsed_response|
|
519
|
-
result_mapper = DataLakeAnalyticsAccount.mapper()
|
520
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
|
521
423
|
end
|
522
424
|
|
523
425
|
# Waiting for response.
|
@@ -528,53 +430,51 @@ module Azure::ARM::DataLakeAnalytics
|
|
528
430
|
end
|
529
431
|
|
530
432
|
#
|
531
|
-
#
|
532
|
-
# specified by the account name.
|
433
|
+
# Gets details of the specified Data Lake Analytics account.
|
533
434
|
#
|
534
435
|
# @param resource_group_name [String] The name of the Azure resource group that
|
535
436
|
# contains the Data Lake Analytics account.
|
536
437
|
# @param account_name [String] The name of the Data Lake Analytics account to
|
537
|
-
#
|
438
|
+
# retrieve.
|
538
439
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
539
440
|
# will be added to the HTTP request.
|
540
441
|
#
|
442
|
+
# @return [DataLakeAnalyticsAccount] operation results.
|
541
443
|
#
|
542
|
-
def
|
543
|
-
response =
|
544
|
-
nil
|
444
|
+
def get(resource_group_name, account_name, custom_headers = nil)
|
445
|
+
response = get_async(resource_group_name, account_name, custom_headers).value!
|
446
|
+
response.body unless response.nil?
|
545
447
|
end
|
546
448
|
|
547
449
|
#
|
548
|
-
#
|
549
|
-
# specified by the account name.
|
450
|
+
# Gets details of the specified Data Lake Analytics account.
|
550
451
|
#
|
551
452
|
# @param resource_group_name [String] The name of the Azure resource group that
|
552
453
|
# contains the Data Lake Analytics account.
|
553
454
|
# @param account_name [String] The name of the Data Lake Analytics account to
|
554
|
-
#
|
455
|
+
# retrieve.
|
555
456
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
556
457
|
# will be added to the HTTP request.
|
557
458
|
#
|
558
459
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
559
460
|
#
|
560
|
-
def
|
561
|
-
|
461
|
+
def get_with_http_info(resource_group_name, account_name, custom_headers = nil)
|
462
|
+
get_async(resource_group_name, account_name, custom_headers).value!
|
562
463
|
end
|
563
464
|
|
564
465
|
#
|
565
|
-
#
|
566
|
-
# specified by the account name.
|
466
|
+
# Gets details of the specified Data Lake Analytics account.
|
567
467
|
#
|
568
468
|
# @param resource_group_name [String] The name of the Azure resource group that
|
569
469
|
# contains the Data Lake Analytics account.
|
570
470
|
# @param account_name [String] The name of the Data Lake Analytics account to
|
571
|
-
#
|
471
|
+
# retrieve.
|
572
472
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
573
473
|
# to the HTTP request.
|
574
474
|
#
|
575
475
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
576
476
|
#
|
577
|
-
def
|
477
|
+
def get_async(resource_group_name, account_name, custom_headers = nil)
|
578
478
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
579
479
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
580
480
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -586,7 +486,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
586
486
|
# Set Headers
|
587
487
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
588
488
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
589
|
-
path_template = '
|
489
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}'
|
590
490
|
|
591
491
|
request_url = @base_url || @client.base_url
|
592
492
|
|
@@ -597,18 +497,28 @@ module Azure::ARM::DataLakeAnalytics
|
|
597
497
|
headers: request_headers.merge(custom_headers || {}),
|
598
498
|
base_url: request_url
|
599
499
|
}
|
600
|
-
promise = @client.make_request_async(:
|
500
|
+
promise = @client.make_request_async(:get, path_template, options)
|
601
501
|
|
602
502
|
promise = promise.then do |result|
|
603
503
|
http_response = result.response
|
604
504
|
status_code = http_response.status
|
605
505
|
response_content = http_response.body
|
606
|
-
unless status_code == 200
|
506
|
+
unless status_code == 200
|
607
507
|
error_model = JSON.load(response_content)
|
608
508
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
609
509
|
end
|
610
510
|
|
611
511
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
512
|
+
# Deserialize Response
|
513
|
+
if status_code == 200
|
514
|
+
begin
|
515
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
516
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccount.mapper()
|
517
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
518
|
+
rescue Exception => e
|
519
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
520
|
+
end
|
521
|
+
end
|
612
522
|
|
613
523
|
result
|
614
524
|
end
|
@@ -687,11 +597,11 @@ module Azure::ARM::DataLakeAnalytics
|
|
687
597
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
688
598
|
|
689
599
|
# Serialize Request
|
690
|
-
request_mapper = DataLakeAnalyticsAccount.mapper()
|
691
|
-
request_content = @client.serialize(request_mapper, parameters
|
600
|
+
request_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccount.mapper()
|
601
|
+
request_content = @client.serialize(request_mapper, parameters)
|
692
602
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
693
603
|
|
694
|
-
path_template = '
|
604
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}'
|
695
605
|
|
696
606
|
request_url = @base_url || @client.base_url
|
697
607
|
|
@@ -719,8 +629,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
719
629
|
if status_code == 201
|
720
630
|
begin
|
721
631
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
722
|
-
result_mapper = DataLakeAnalyticsAccount.mapper()
|
723
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
632
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccount.mapper()
|
633
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
724
634
|
rescue Exception => e
|
725
635
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
726
636
|
end
|
@@ -729,8 +639,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
729
639
|
if status_code == 200
|
730
640
|
begin
|
731
641
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
732
|
-
result_mapper = DataLakeAnalyticsAccount.mapper()
|
733
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
642
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccount.mapper()
|
643
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
734
644
|
rescue Exception => e
|
735
645
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
736
646
|
end
|
@@ -812,11 +722,11 @@ module Azure::ARM::DataLakeAnalytics
|
|
812
722
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
813
723
|
|
814
724
|
# Serialize Request
|
815
|
-
request_mapper = DataLakeAnalyticsAccountUpdateParameters.mapper()
|
816
|
-
request_content = @client.serialize(request_mapper, parameters
|
725
|
+
request_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccountUpdateParameters.mapper()
|
726
|
+
request_content = @client.serialize(request_mapper, parameters)
|
817
727
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
818
728
|
|
819
|
-
path_template = '
|
729
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}'
|
820
730
|
|
821
731
|
request_url = @base_url || @client.base_url
|
822
732
|
|
@@ -844,8 +754,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
844
754
|
if status_code == 200
|
845
755
|
begin
|
846
756
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
847
|
-
result_mapper = DataLakeAnalyticsAccount.mapper()
|
848
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
757
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccount.mapper()
|
758
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
849
759
|
rescue Exception => e
|
850
760
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
851
761
|
end
|
@@ -854,8 +764,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
854
764
|
if status_code == 201
|
855
765
|
begin
|
856
766
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
857
|
-
result_mapper = DataLakeAnalyticsAccount.mapper()
|
858
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
767
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccount.mapper()
|
768
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
859
769
|
rescue Exception => e
|
860
770
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
861
771
|
end
|
@@ -867,6 +777,95 @@ module Azure::ARM::DataLakeAnalytics
|
|
867
777
|
promise.execute
|
868
778
|
end
|
869
779
|
|
780
|
+
#
|
781
|
+
# Begins the delete process for the Data Lake Analytics account object
|
782
|
+
# specified by the account name.
|
783
|
+
#
|
784
|
+
# @param resource_group_name [String] The name of the Azure resource group that
|
785
|
+
# contains the Data Lake Analytics account.
|
786
|
+
# @param account_name [String] The name of the Data Lake Analytics account to
|
787
|
+
# delete
|
788
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
789
|
+
# will be added to the HTTP request.
|
790
|
+
#
|
791
|
+
#
|
792
|
+
def begin_delete(resource_group_name, account_name, custom_headers = nil)
|
793
|
+
response = begin_delete_async(resource_group_name, account_name, custom_headers).value!
|
794
|
+
nil
|
795
|
+
end
|
796
|
+
|
797
|
+
#
|
798
|
+
# Begins the delete process for the Data Lake Analytics account object
|
799
|
+
# specified by the account name.
|
800
|
+
#
|
801
|
+
# @param resource_group_name [String] The name of the Azure resource group that
|
802
|
+
# contains the Data Lake Analytics account.
|
803
|
+
# @param account_name [String] The name of the Data Lake Analytics account to
|
804
|
+
# delete
|
805
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
806
|
+
# will be added to the HTTP request.
|
807
|
+
#
|
808
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
809
|
+
#
|
810
|
+
def begin_delete_with_http_info(resource_group_name, account_name, custom_headers = nil)
|
811
|
+
begin_delete_async(resource_group_name, account_name, custom_headers).value!
|
812
|
+
end
|
813
|
+
|
814
|
+
#
|
815
|
+
# Begins the delete process for the Data Lake Analytics account object
|
816
|
+
# specified by the account name.
|
817
|
+
#
|
818
|
+
# @param resource_group_name [String] The name of the Azure resource group that
|
819
|
+
# contains the Data Lake Analytics account.
|
820
|
+
# @param account_name [String] The name of the Data Lake Analytics account to
|
821
|
+
# delete
|
822
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
823
|
+
# to the HTTP request.
|
824
|
+
#
|
825
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
826
|
+
#
|
827
|
+
def begin_delete_async(resource_group_name, account_name, custom_headers = nil)
|
828
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
829
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
830
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
831
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
832
|
+
|
833
|
+
|
834
|
+
request_headers = {}
|
835
|
+
|
836
|
+
# Set Headers
|
837
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
838
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
839
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}'
|
840
|
+
|
841
|
+
request_url = @base_url || @client.base_url
|
842
|
+
|
843
|
+
options = {
|
844
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
845
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'subscriptionId' => @client.subscription_id},
|
846
|
+
query_params: {'api-version' => @client.api_version},
|
847
|
+
headers: request_headers.merge(custom_headers || {}),
|
848
|
+
base_url: request_url
|
849
|
+
}
|
850
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
851
|
+
|
852
|
+
promise = promise.then do |result|
|
853
|
+
http_response = result.response
|
854
|
+
status_code = http_response.status
|
855
|
+
response_content = http_response.body
|
856
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
857
|
+
error_model = JSON.load(response_content)
|
858
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
859
|
+
end
|
860
|
+
|
861
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
862
|
+
|
863
|
+
result
|
864
|
+
end
|
865
|
+
|
866
|
+
promise.execute
|
867
|
+
end
|
868
|
+
|
870
869
|
#
|
871
870
|
# Gets the first page of Data Lake Analytics accounts, if any, within a
|
872
871
|
# specific resource group. This includes a link to the next page, if any.
|
@@ -944,8 +943,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
944
943
|
if status_code == 200
|
945
944
|
begin
|
946
945
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
947
|
-
result_mapper = DataLakeAnalyticsAccountListResult.mapper()
|
948
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
946
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccountListResult.mapper()
|
947
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
949
948
|
rescue Exception => e
|
950
949
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
951
950
|
end
|
@@ -1034,8 +1033,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
1034
1033
|
if status_code == 200
|
1035
1034
|
begin
|
1036
1035
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1037
|
-
result_mapper = DataLakeAnalyticsAccountListResult.mapper()
|
1038
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
1036
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccountListResult.mapper()
|
1037
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1039
1038
|
rescue Exception => e
|
1040
1039
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1041
1040
|
end
|