azure_mgmt_datalake_analytics 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -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
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] the start IP address for the firewall rule. This can
|
16
17
|
# be either ipv4 or ipv6. Start and End should be in the same protocol.
|
17
18
|
attr_accessor :start_ip_address
|
@@ -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
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [Array<SasTokenInfo>]
|
17
18
|
attr_accessor :value
|
18
19
|
|
@@ -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
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [Array<StorageContainer>] the results of the list operation
|
17
18
|
attr_accessor :value
|
18
19
|
|
@@ -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
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] Resource Id
|
17
18
|
attr_accessor :id
|
18
19
|
|
@@ -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
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] the access token for the associated Azure Storage
|
16
17
|
# Container.
|
17
18
|
attr_accessor :access_token
|
@@ -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
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] the access key associated with this Azure Storage
|
16
17
|
# account that will be used to connect to it.
|
17
18
|
attr_accessor :access_key
|
@@ -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
|
|
@@ -12,12 +12,13 @@ module Azure::ARM::DataLakeAnalytics
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
|
16
|
-
attr_accessor :name
|
17
|
-
|
15
|
+
include MsRest::JSONable
|
18
16
|
# @return [String] the unique identifier of the blob container.
|
19
17
|
attr_accessor :id
|
20
18
|
|
19
|
+
# @return [String] the name of the blob container.
|
20
|
+
attr_accessor :name
|
21
|
+
|
21
22
|
# @return [String] the type of the blob container.
|
22
23
|
attr_accessor :type
|
23
24
|
|
@@ -37,18 +38,18 @@ module Azure::ARM::DataLakeAnalytics
|
|
37
38
|
name: 'Composite',
|
38
39
|
class_name: 'StorageContainer',
|
39
40
|
model_properties: {
|
40
|
-
|
41
|
+
id: {
|
41
42
|
required: false,
|
42
43
|
read_only: true,
|
43
|
-
serialized_name: '
|
44
|
+
serialized_name: 'id',
|
44
45
|
type: {
|
45
46
|
name: 'String'
|
46
47
|
}
|
47
48
|
},
|
48
|
-
|
49
|
+
name: {
|
49
50
|
required: false,
|
50
51
|
read_only: true,
|
51
|
-
serialized_name: '
|
52
|
+
serialized_name: 'name',
|
52
53
|
type: {
|
53
54
|
name: 'String'
|
54
55
|
}
|
@@ -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
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] Resource name
|
16
17
|
attr_accessor :name
|
17
18
|
|
@@ -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
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] the start IP address for the firewall rule. This can
|
16
17
|
# be either ipv4 or ipv6. Start and End should be in the same protocol.
|
17
18
|
attr_accessor :start_ip_address
|
data/lib/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb
CHANGED
@@ -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
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] the updated access key associated with this Azure
|
17
18
|
# Storage account that will be used to connect to it.
|
18
19
|
attr_accessor :access_key
|
@@ -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 StorageAccounts
|
11
|
-
include Azure::ARM::DataLakeAnalytics::Models
|
12
11
|
include MsRestAzure
|
13
12
|
|
14
13
|
#
|
@@ -23,63 +22,69 @@ module Azure::ARM::DataLakeAnalytics
|
|
23
22
|
attr_reader :client
|
24
23
|
|
25
24
|
#
|
26
|
-
#
|
27
|
-
#
|
25
|
+
# Updates the specified Data Lake Analytics account to add an Azure Storage
|
26
|
+
# account.
|
28
27
|
#
|
29
28
|
# @param resource_group_name [String] The name of the Azure resource group that
|
30
29
|
# contains the Data Lake Analytics account.
|
31
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
32
|
-
# which to
|
33
|
-
# @param storage_account_name [String] The name of the Azure Storage account
|
34
|
-
#
|
30
|
+
# @param account_name [String] The name of the Data Lake Analytics account to
|
31
|
+
# which to add the Azure Storage account.
|
32
|
+
# @param storage_account_name [String] The name of the Azure Storage account to
|
33
|
+
# add
|
34
|
+
# @param parameters [AddStorageAccountParameters] The parameters containing the
|
35
|
+
# access key and optional suffix for the Azure Storage Account.
|
35
36
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
36
37
|
# will be added to the HTTP request.
|
37
38
|
#
|
38
|
-
# @return [StorageAccountInfo] operation results.
|
39
39
|
#
|
40
|
-
def
|
41
|
-
response =
|
42
|
-
|
40
|
+
def add(resource_group_name, account_name, storage_account_name, parameters, custom_headers = nil)
|
41
|
+
response = add_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers).value!
|
42
|
+
nil
|
43
43
|
end
|
44
44
|
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
46
|
+
# Updates the specified Data Lake Analytics account to add an Azure Storage
|
47
|
+
# account.
|
48
48
|
#
|
49
49
|
# @param resource_group_name [String] The name of the Azure resource group that
|
50
50
|
# contains the Data Lake Analytics account.
|
51
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
52
|
-
# which to
|
53
|
-
# @param storage_account_name [String] The name of the Azure Storage account
|
54
|
-
#
|
51
|
+
# @param account_name [String] The name of the Data Lake Analytics account to
|
52
|
+
# which to add the Azure Storage account.
|
53
|
+
# @param storage_account_name [String] The name of the Azure Storage account to
|
54
|
+
# add
|
55
|
+
# @param parameters [AddStorageAccountParameters] The parameters containing the
|
56
|
+
# access key and optional suffix for the Azure Storage Account.
|
55
57
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
56
58
|
# will be added to the HTTP request.
|
57
59
|
#
|
58
60
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
59
61
|
#
|
60
|
-
def
|
61
|
-
|
62
|
+
def add_with_http_info(resource_group_name, account_name, storage_account_name, parameters, custom_headers = nil)
|
63
|
+
add_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers).value!
|
62
64
|
end
|
63
65
|
|
64
66
|
#
|
65
|
-
#
|
66
|
-
#
|
67
|
+
# Updates the specified Data Lake Analytics account to add an Azure Storage
|
68
|
+
# account.
|
67
69
|
#
|
68
70
|
# @param resource_group_name [String] The name of the Azure resource group that
|
69
71
|
# contains the Data Lake Analytics account.
|
70
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
71
|
-
# which to
|
72
|
-
# @param storage_account_name [String] The name of the Azure Storage account
|
73
|
-
#
|
72
|
+
# @param account_name [String] The name of the Data Lake Analytics account to
|
73
|
+
# which to add the Azure Storage account.
|
74
|
+
# @param storage_account_name [String] The name of the Azure Storage account to
|
75
|
+
# add
|
76
|
+
# @param parameters [AddStorageAccountParameters] The parameters containing the
|
77
|
+
# access key and optional suffix for the Azure Storage Account.
|
74
78
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
75
79
|
# to the HTTP request.
|
76
80
|
#
|
77
81
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
78
82
|
#
|
79
|
-
def
|
83
|
+
def add_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers = nil)
|
80
84
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
81
85
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
82
86
|
fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
|
87
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
83
88
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
84
89
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
85
90
|
|
@@ -89,7 +94,15 @@ module Azure::ARM::DataLakeAnalytics
|
|
89
94
|
# Set Headers
|
90
95
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
91
96
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
92
|
-
|
97
|
+
|
98
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
99
|
+
|
100
|
+
# Serialize Request
|
101
|
+
request_mapper = Azure::ARM::DataLakeAnalytics::Models::AddStorageAccountParameters.mapper()
|
102
|
+
request_content = @client.serialize(request_mapper, parameters)
|
103
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
104
|
+
|
105
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}'
|
93
106
|
|
94
107
|
request_url = @base_url || @client.base_url
|
95
108
|
|
@@ -97,10 +110,11 @@ module Azure::ARM::DataLakeAnalytics
|
|
97
110
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
98
111
|
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'storageAccountName' => storage_account_name,'subscriptionId' => @client.subscription_id},
|
99
112
|
query_params: {'api-version' => @client.api_version},
|
113
|
+
body: request_content,
|
100
114
|
headers: request_headers.merge(custom_headers || {}),
|
101
115
|
base_url: request_url
|
102
116
|
}
|
103
|
-
promise = @client.make_request_async(:
|
117
|
+
promise = @client.make_request_async(:put, path_template, options)
|
104
118
|
|
105
119
|
promise = promise.then do |result|
|
106
120
|
http_response = result.response
|
@@ -112,16 +126,6 @@ module Azure::ARM::DataLakeAnalytics
|
|
112
126
|
end
|
113
127
|
|
114
128
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
115
|
-
# Deserialize Response
|
116
|
-
if status_code == 200
|
117
|
-
begin
|
118
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
119
|
-
result_mapper = StorageAccountInfo.mapper()
|
120
|
-
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
121
|
-
rescue Exception => e
|
122
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
123
|
-
end
|
124
|
-
end
|
125
129
|
|
126
130
|
result
|
127
131
|
end
|
@@ -130,59 +134,65 @@ module Azure::ARM::DataLakeAnalytics
|
|
130
134
|
end
|
131
135
|
|
132
136
|
#
|
133
|
-
# Updates the
|
134
|
-
#
|
137
|
+
# Updates the Data Lake Analytics account to replace Azure Storage blob account
|
138
|
+
# details, such as the access key and/or suffix.
|
135
139
|
#
|
136
140
|
# @param resource_group_name [String] The name of the Azure resource group that
|
137
141
|
# contains the Data Lake Analytics account.
|
138
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
139
|
-
#
|
140
|
-
# @param storage_account_name [String] The
|
141
|
-
#
|
142
|
+
# @param account_name [String] The name of the Data Lake Analytics account to
|
143
|
+
# modify storage accounts in
|
144
|
+
# @param storage_account_name [String] The Azure Storage account to modify
|
145
|
+
# @param parameters [UpdateStorageAccountParameters] The parameters containing
|
146
|
+
# the access key and suffix to update the storage account with, if any. Passing
|
147
|
+
# nothing results in no change.
|
142
148
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
143
149
|
# will be added to the HTTP request.
|
144
150
|
#
|
145
151
|
#
|
146
|
-
def
|
147
|
-
response =
|
152
|
+
def update(resource_group_name, account_name, storage_account_name, parameters = nil, custom_headers = nil)
|
153
|
+
response = update_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers).value!
|
148
154
|
nil
|
149
155
|
end
|
150
156
|
|
151
157
|
#
|
152
|
-
# Updates the
|
153
|
-
#
|
158
|
+
# Updates the Data Lake Analytics account to replace Azure Storage blob account
|
159
|
+
# details, such as the access key and/or suffix.
|
154
160
|
#
|
155
161
|
# @param resource_group_name [String] The name of the Azure resource group that
|
156
162
|
# contains the Data Lake Analytics account.
|
157
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
158
|
-
#
|
159
|
-
# @param storage_account_name [String] The
|
160
|
-
#
|
163
|
+
# @param account_name [String] The name of the Data Lake Analytics account to
|
164
|
+
# modify storage accounts in
|
165
|
+
# @param storage_account_name [String] The Azure Storage account to modify
|
166
|
+
# @param parameters [UpdateStorageAccountParameters] The parameters containing
|
167
|
+
# the access key and suffix to update the storage account with, if any. Passing
|
168
|
+
# nothing results in no change.
|
161
169
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
162
170
|
# will be added to the HTTP request.
|
163
171
|
#
|
164
172
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
165
173
|
#
|
166
|
-
def
|
167
|
-
|
174
|
+
def update_with_http_info(resource_group_name, account_name, storage_account_name, parameters = nil, custom_headers = nil)
|
175
|
+
update_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers).value!
|
168
176
|
end
|
169
177
|
|
170
178
|
#
|
171
|
-
# Updates the
|
172
|
-
#
|
179
|
+
# Updates the Data Lake Analytics account to replace Azure Storage blob account
|
180
|
+
# details, such as the access key and/or suffix.
|
173
181
|
#
|
174
182
|
# @param resource_group_name [String] The name of the Azure resource group that
|
175
183
|
# contains the Data Lake Analytics account.
|
176
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
177
|
-
#
|
178
|
-
# @param storage_account_name [String] The
|
179
|
-
#
|
184
|
+
# @param account_name [String] The name of the Data Lake Analytics account to
|
185
|
+
# modify storage accounts in
|
186
|
+
# @param storage_account_name [String] The Azure Storage account to modify
|
187
|
+
# @param parameters [UpdateStorageAccountParameters] The parameters containing
|
188
|
+
# the access key and suffix to update the storage account with, if any. Passing
|
189
|
+
# nothing results in no change.
|
180
190
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
181
191
|
# to the HTTP request.
|
182
192
|
#
|
183
193
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
184
194
|
#
|
185
|
-
def
|
195
|
+
def update_async(resource_group_name, account_name, storage_account_name, parameters = nil, custom_headers = nil)
|
186
196
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
187
197
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
188
198
|
fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
|
@@ -195,7 +205,15 @@ module Azure::ARM::DataLakeAnalytics
|
|
195
205
|
# Set Headers
|
196
206
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
197
207
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
198
|
-
|
208
|
+
|
209
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
210
|
+
|
211
|
+
# Serialize Request
|
212
|
+
request_mapper = Azure::ARM::DataLakeAnalytics::Models::UpdateStorageAccountParameters.mapper()
|
213
|
+
request_content = @client.serialize(request_mapper, parameters)
|
214
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
215
|
+
|
216
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}'
|
199
217
|
|
200
218
|
request_url = @base_url || @client.base_url
|
201
219
|
|
@@ -203,10 +221,11 @@ module Azure::ARM::DataLakeAnalytics
|
|
203
221
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
204
222
|
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'storageAccountName' => storage_account_name,'subscriptionId' => @client.subscription_id},
|
205
223
|
query_params: {'api-version' => @client.api_version},
|
224
|
+
body: request_content,
|
206
225
|
headers: request_headers.merge(custom_headers || {}),
|
207
226
|
base_url: request_url
|
208
227
|
}
|
209
|
-
promise = @client.make_request_async(:
|
228
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
210
229
|
|
211
230
|
promise = promise.then do |result|
|
212
231
|
http_response = result.response
|
@@ -226,65 +245,59 @@ module Azure::ARM::DataLakeAnalytics
|
|
226
245
|
end
|
227
246
|
|
228
247
|
#
|
229
|
-
# Updates the Data Lake Analytics account to
|
230
|
-
#
|
248
|
+
# Updates the specified Data Lake Analytics account to remove an Azure Storage
|
249
|
+
# account.
|
231
250
|
#
|
232
251
|
# @param resource_group_name [String] The name of the Azure resource group that
|
233
252
|
# contains the Data Lake Analytics account.
|
234
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
235
|
-
#
|
236
|
-
# @param storage_account_name [String] The Azure Storage account to
|
237
|
-
#
|
238
|
-
# the access key and suffix to update the storage account with, if any. Passing
|
239
|
-
# nothing results in no change.
|
253
|
+
# @param account_name [String] The name of the Data Lake Analytics account from
|
254
|
+
# which to remove the Azure Storage account.
|
255
|
+
# @param storage_account_name [String] The name of the Azure Storage account to
|
256
|
+
# remove
|
240
257
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
241
258
|
# will be added to the HTTP request.
|
242
259
|
#
|
243
260
|
#
|
244
|
-
def
|
245
|
-
response =
|
261
|
+
def delete(resource_group_name, account_name, storage_account_name, custom_headers = nil)
|
262
|
+
response = delete_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
|
246
263
|
nil
|
247
264
|
end
|
248
265
|
|
249
266
|
#
|
250
|
-
# Updates the Data Lake Analytics account to
|
251
|
-
#
|
267
|
+
# Updates the specified Data Lake Analytics account to remove an Azure Storage
|
268
|
+
# account.
|
252
269
|
#
|
253
270
|
# @param resource_group_name [String] The name of the Azure resource group that
|
254
271
|
# contains the Data Lake Analytics account.
|
255
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
256
|
-
#
|
257
|
-
# @param storage_account_name [String] The Azure Storage account to
|
258
|
-
#
|
259
|
-
# the access key and suffix to update the storage account with, if any. Passing
|
260
|
-
# nothing results in no change.
|
272
|
+
# @param account_name [String] The name of the Data Lake Analytics account from
|
273
|
+
# which to remove the Azure Storage account.
|
274
|
+
# @param storage_account_name [String] The name of the Azure Storage account to
|
275
|
+
# remove
|
261
276
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
262
277
|
# will be added to the HTTP request.
|
263
278
|
#
|
264
279
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
265
280
|
#
|
266
|
-
def
|
267
|
-
|
281
|
+
def delete_with_http_info(resource_group_name, account_name, storage_account_name, custom_headers = nil)
|
282
|
+
delete_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
|
268
283
|
end
|
269
284
|
|
270
285
|
#
|
271
|
-
# Updates the Data Lake Analytics account to
|
272
|
-
#
|
286
|
+
# Updates the specified Data Lake Analytics account to remove an Azure Storage
|
287
|
+
# account.
|
273
288
|
#
|
274
289
|
# @param resource_group_name [String] The name of the Azure resource group that
|
275
290
|
# contains the Data Lake Analytics account.
|
276
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
277
|
-
#
|
278
|
-
# @param storage_account_name [String] The Azure Storage account to
|
279
|
-
#
|
280
|
-
# the access key and suffix to update the storage account with, if any. Passing
|
281
|
-
# nothing results in no change.
|
291
|
+
# @param account_name [String] The name of the Data Lake Analytics account from
|
292
|
+
# which to remove the Azure Storage account.
|
293
|
+
# @param storage_account_name [String] The name of the Azure Storage account to
|
294
|
+
# remove
|
282
295
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
283
296
|
# to the HTTP request.
|
284
297
|
#
|
285
298
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
286
299
|
#
|
287
|
-
def
|
300
|
+
def delete_async(resource_group_name, account_name, storage_account_name, custom_headers = nil)
|
288
301
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
289
302
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
290
303
|
fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
|
@@ -297,15 +310,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
297
310
|
# Set Headers
|
298
311
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
299
312
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
300
|
-
|
301
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
302
|
-
|
303
|
-
# Serialize Request
|
304
|
-
request_mapper = UpdateStorageAccountParameters.mapper()
|
305
|
-
request_content = @client.serialize(request_mapper, parameters, 'parameters')
|
306
|
-
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
307
|
-
|
308
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}'
|
313
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}'
|
309
314
|
|
310
315
|
request_url = @base_url || @client.base_url
|
311
316
|
|
@@ -313,11 +318,10 @@ module Azure::ARM::DataLakeAnalytics
|
|
313
318
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
314
319
|
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'storageAccountName' => storage_account_name,'subscriptionId' => @client.subscription_id},
|
315
320
|
query_params: {'api-version' => @client.api_version},
|
316
|
-
body: request_content,
|
317
321
|
headers: request_headers.merge(custom_headers || {}),
|
318
322
|
base_url: request_url
|
319
323
|
}
|
320
|
-
promise = @client.make_request_async(:
|
324
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
321
325
|
|
322
326
|
promise = promise.then do |result|
|
323
327
|
http_response = result.response
|
@@ -337,69 +341,63 @@ module Azure::ARM::DataLakeAnalytics
|
|
337
341
|
end
|
338
342
|
|
339
343
|
#
|
340
|
-
#
|
341
|
-
# account.
|
344
|
+
# Gets the specified Azure Storage account linked to the given Data Lake
|
345
|
+
# Analytics account.
|
342
346
|
#
|
343
347
|
# @param resource_group_name [String] The name of the Azure resource group that
|
344
348
|
# contains the Data Lake Analytics account.
|
345
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
346
|
-
# which to
|
347
|
-
# @param storage_account_name [String] The name of the Azure Storage account
|
348
|
-
#
|
349
|
-
# @param parameters [AddStorageAccountParameters] The parameters containing the
|
350
|
-
# access key and optional suffix for the Azure Storage Account.
|
349
|
+
# @param account_name [String] The name of the Data Lake Analytics account from
|
350
|
+
# which to retrieve Azure storage account details.
|
351
|
+
# @param storage_account_name [String] The name of the Azure Storage account
|
352
|
+
# for which to retrieve the details.
|
351
353
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
352
354
|
# will be added to the HTTP request.
|
353
355
|
#
|
356
|
+
# @return [StorageAccountInfo] operation results.
|
354
357
|
#
|
355
|
-
def
|
356
|
-
response =
|
357
|
-
nil
|
358
|
+
def get(resource_group_name, account_name, storage_account_name, custom_headers = nil)
|
359
|
+
response = get_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
|
360
|
+
response.body unless response.nil?
|
358
361
|
end
|
359
362
|
|
360
363
|
#
|
361
|
-
#
|
362
|
-
# account.
|
364
|
+
# Gets the specified Azure Storage account linked to the given Data Lake
|
365
|
+
# Analytics account.
|
363
366
|
#
|
364
367
|
# @param resource_group_name [String] The name of the Azure resource group that
|
365
368
|
# contains the Data Lake Analytics account.
|
366
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
367
|
-
# which to
|
368
|
-
# @param storage_account_name [String] The name of the Azure Storage account
|
369
|
-
#
|
370
|
-
# @param parameters [AddStorageAccountParameters] The parameters containing the
|
371
|
-
# access key and optional suffix for the Azure Storage Account.
|
369
|
+
# @param account_name [String] The name of the Data Lake Analytics account from
|
370
|
+
# which to retrieve Azure storage account details.
|
371
|
+
# @param storage_account_name [String] The name of the Azure Storage account
|
372
|
+
# for which to retrieve the details.
|
372
373
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
373
374
|
# will be added to the HTTP request.
|
374
375
|
#
|
375
376
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
376
377
|
#
|
377
|
-
def
|
378
|
-
|
378
|
+
def get_with_http_info(resource_group_name, account_name, storage_account_name, custom_headers = nil)
|
379
|
+
get_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
|
379
380
|
end
|
380
381
|
|
381
382
|
#
|
382
|
-
#
|
383
|
-
# account.
|
383
|
+
# Gets the specified Azure Storage account linked to the given Data Lake
|
384
|
+
# Analytics account.
|
384
385
|
#
|
385
386
|
# @param resource_group_name [String] The name of the Azure resource group that
|
386
387
|
# contains the Data Lake Analytics account.
|
387
|
-
# @param account_name [String] The name of the Data Lake Analytics account
|
388
|
-
# which to
|
389
|
-
# @param storage_account_name [String] The name of the Azure Storage account
|
390
|
-
#
|
391
|
-
# @param parameters [AddStorageAccountParameters] The parameters containing the
|
392
|
-
# access key and optional suffix for the Azure Storage Account.
|
388
|
+
# @param account_name [String] The name of the Data Lake Analytics account from
|
389
|
+
# which to retrieve Azure storage account details.
|
390
|
+
# @param storage_account_name [String] The name of the Azure Storage account
|
391
|
+
# for which to retrieve the details.
|
393
392
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
394
393
|
# to the HTTP request.
|
395
394
|
#
|
396
395
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
397
396
|
#
|
398
|
-
def
|
397
|
+
def get_async(resource_group_name, account_name, storage_account_name, custom_headers = nil)
|
399
398
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
400
399
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
401
400
|
fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
|
402
|
-
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
403
401
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
404
402
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
405
403
|
|
@@ -409,15 +407,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
409
407
|
# Set Headers
|
410
408
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
411
409
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
412
|
-
|
413
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
414
|
-
|
415
|
-
# Serialize Request
|
416
|
-
request_mapper = AddStorageAccountParameters.mapper()
|
417
|
-
request_content = @client.serialize(request_mapper, parameters, 'parameters')
|
418
|
-
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
419
|
-
|
420
|
-
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}'
|
410
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}'
|
421
411
|
|
422
412
|
request_url = @base_url || @client.base_url
|
423
413
|
|
@@ -425,11 +415,10 @@ module Azure::ARM::DataLakeAnalytics
|
|
425
415
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
426
416
|
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'storageAccountName' => storage_account_name,'subscriptionId' => @client.subscription_id},
|
427
417
|
query_params: {'api-version' => @client.api_version},
|
428
|
-
body: request_content,
|
429
418
|
headers: request_headers.merge(custom_headers || {}),
|
430
419
|
base_url: request_url
|
431
420
|
}
|
432
|
-
promise = @client.make_request_async(:
|
421
|
+
promise = @client.make_request_async(:get, path_template, options)
|
433
422
|
|
434
423
|
promise = promise.then do |result|
|
435
424
|
http_response = result.response
|
@@ -441,6 +430,16 @@ module Azure::ARM::DataLakeAnalytics
|
|
441
430
|
end
|
442
431
|
|
443
432
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
433
|
+
# Deserialize Response
|
434
|
+
if status_code == 200
|
435
|
+
begin
|
436
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
437
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::StorageAccountInfo.mapper()
|
438
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
439
|
+
rescue Exception => e
|
440
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
441
|
+
end
|
442
|
+
end
|
444
443
|
|
445
444
|
result
|
446
445
|
end
|
@@ -522,7 +521,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
522
521
|
# Set Headers
|
523
522
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
524
523
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
525
|
-
path_template = '
|
524
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}/Containers/{containerName}'
|
526
525
|
|
527
526
|
request_url = @base_url || @client.base_url
|
528
527
|
|
@@ -549,8 +548,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
549
548
|
if status_code == 200
|
550
549
|
begin
|
551
550
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
552
|
-
result_mapper = StorageContainer.mapper()
|
553
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
551
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::StorageContainer.mapper()
|
552
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
554
553
|
rescue Exception => e
|
555
554
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
556
555
|
end
|
@@ -632,7 +631,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
632
631
|
# Set Headers
|
633
632
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
634
633
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
635
|
-
path_template = '
|
634
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}/Containers'
|
636
635
|
|
637
636
|
request_url = @base_url || @client.base_url
|
638
637
|
|
@@ -659,8 +658,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
659
658
|
if status_code == 200
|
660
659
|
begin
|
661
660
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
662
|
-
result_mapper = ListStorageContainersResult.mapper()
|
663
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
661
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::ListStorageContainersResult.mapper()
|
662
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
664
663
|
rescue Exception => e
|
665
664
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
666
665
|
end
|
@@ -746,7 +745,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
746
745
|
# Set Headers
|
747
746
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
748
747
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
749
|
-
path_template = '
|
748
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}/Containers/{containerName}/listSasTokens'
|
750
749
|
|
751
750
|
request_url = @base_url || @client.base_url
|
752
751
|
|
@@ -773,8 +772,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
773
772
|
if status_code == 200
|
774
773
|
begin
|
775
774
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
776
|
-
result_mapper = ListSasTokensResult.mapper()
|
777
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
775
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::ListSasTokensResult.mapper()
|
776
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
778
777
|
rescue Exception => e
|
779
778
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
780
779
|
end
|
@@ -891,7 +890,7 @@ module Azure::ARM::DataLakeAnalytics
|
|
891
890
|
# Set Headers
|
892
891
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
893
892
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
894
|
-
path_template = '
|
893
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/'
|
895
894
|
|
896
895
|
request_url = @base_url || @client.base_url
|
897
896
|
|
@@ -918,8 +917,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
918
917
|
if status_code == 200
|
919
918
|
begin
|
920
919
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
921
|
-
result_mapper = DataLakeAnalyticsAccountListStorageAccountsResult.mapper()
|
922
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
920
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccountListStorageAccountsResult.mapper()
|
921
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
923
922
|
rescue Exception => e
|
924
923
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
925
924
|
end
|
@@ -1011,8 +1010,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
1011
1010
|
if status_code == 200
|
1012
1011
|
begin
|
1013
1012
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1014
|
-
result_mapper = ListStorageContainersResult.mapper()
|
1015
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
1013
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::ListStorageContainersResult.mapper()
|
1014
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1016
1015
|
rescue Exception => e
|
1017
1016
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1018
1017
|
end
|
@@ -1101,8 +1100,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
1101
1100
|
if status_code == 200
|
1102
1101
|
begin
|
1103
1102
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1104
|
-
result_mapper = ListSasTokensResult.mapper()
|
1105
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
1103
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::ListSasTokensResult.mapper()
|
1104
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1106
1105
|
rescue Exception => e
|
1107
1106
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1108
1107
|
end
|
@@ -1195,8 +1194,8 @@ module Azure::ARM::DataLakeAnalytics
|
|
1195
1194
|
if status_code == 200
|
1196
1195
|
begin
|
1197
1196
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1198
|
-
result_mapper = DataLakeAnalyticsAccountListStorageAccountsResult.mapper()
|
1199
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
1197
|
+
result_mapper = Azure::ARM::DataLakeAnalytics::Models::DataLakeAnalyticsAccountListStorageAccountsResult.mapper()
|
1198
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1200
1199
|
rescue Exception => e
|
1201
1200
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1202
1201
|
end
|