azure_mgmt_datalake_store 0.15.2 → 0.16.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/2015-10-01-preview/generated/azure_mgmt_datalake_store/account.rb +105 -97
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb +4 -1
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store.rb +28 -12
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/{account.rb → accounts.rb} +491 -402
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb +15 -4
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/firewall_rules.rb +171 -201
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/locations.rb +116 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/capability_information.rb +100 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/check_name_availability_parameters.rb +61 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_data_lake_store_account_parameters.rb +216 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_firewall_rule_with_account_parameters.rb +71 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_firewall_rule_parameters.rb +59 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_trusted_id_provider_parameters.rb +47 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_trusted_id_provider_with_account_parameters.rb +60 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account.rb +82 -70
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_basic.rb +21 -19
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_list_result.rb +3 -3
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_rule.rb +8 -5
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{data_lake_store_firewall_rule_list_result.rb → firewall_rule_list_result.rb} +7 -7
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{error_details.rb → name_availability_information.rb} +21 -20
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation.rb +72 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation_display.rb +83 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation_list_result.rb +68 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation_origin.rb +17 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/resource.rb +9 -7
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/sub_resource.rb +5 -4
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/subscription_state.rb +19 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/trusted_id_provider.rb +5 -3
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{data_lake_store_trusted_id_provider_list_result.rb → trusted_id_provider_list_result.rb} +7 -8
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{data_lake_store_account_update_parameters.rb → update_data_lake_store_account_parameters.rb} +84 -41
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_parameters.rb +3 -3
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_with_account_parameters.rb +71 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_parameters.rb +2 -2
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_with_account_parameters.rb +60 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/operations.rb +107 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_store/trusted_id_providers.rb +171 -201
- data/lib/profiles/latest/datalakestore_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/datalakestore_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/datalakestore_profile_module.rb +184 -105
- data/lib/version.rb +1 -1
- metadata +23 -7
@@ -106,6 +106,9 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
|
|
106
106
|
fail ArgumentError, 'path is nil' if path.nil?
|
107
107
|
|
108
108
|
request_url = options[:base_url] || @base_url
|
109
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
110
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
111
|
+
end
|
109
112
|
|
110
113
|
request_headers = @request_headers
|
111
114
|
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
@@ -122,7 +125,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
|
|
122
125
|
#
|
123
126
|
def add_telemetry
|
124
127
|
sdk_information = 'azure_mgmt_datalake_store'
|
125
|
-
sdk_information = "#{sdk_information}/0.
|
128
|
+
sdk_information = "#{sdk_information}/0.16.0"
|
126
129
|
add_user_agent_information(sdk_information)
|
127
130
|
end
|
128
131
|
end
|
@@ -20,26 +20,40 @@ require '2016-11-01/generated/azure_mgmt_datalake_store/module_definition'
|
|
20
20
|
require 'ms_rest_azure'
|
21
21
|
|
22
22
|
module Azure::DataLakeStore::Mgmt::V2016_11_01
|
23
|
+
autoload :Accounts, '2016-11-01/generated/azure_mgmt_datalake_store/accounts.rb'
|
23
24
|
autoload :FirewallRules, '2016-11-01/generated/azure_mgmt_datalake_store/firewall_rules.rb'
|
24
25
|
autoload :TrustedIdProviders, '2016-11-01/generated/azure_mgmt_datalake_store/trusted_id_providers.rb'
|
25
|
-
autoload :
|
26
|
+
autoload :Operations, '2016-11-01/generated/azure_mgmt_datalake_store/operations.rb'
|
27
|
+
autoload :Locations, '2016-11-01/generated/azure_mgmt_datalake_store/locations.rb'
|
26
28
|
autoload :DataLakeStoreAccountManagementClient, '2016-11-01/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb'
|
27
29
|
|
28
30
|
module Models
|
29
|
-
autoload :
|
30
|
-
autoload :
|
31
|
-
autoload :
|
32
|
-
autoload :UpdateTrustedIdProviderParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_parameters.rb'
|
33
|
-
autoload :DataLakeStoreAccountUpdateParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_update_parameters.rb'
|
34
|
-
autoload :DataLakeStoreTrustedIdProviderListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_trusted_id_provider_list_result.rb'
|
35
|
-
autoload :DataLakeStoreFirewallRuleListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_firewall_rule_list_result.rb'
|
31
|
+
autoload :CapabilityInformation, '2016-11-01/generated/azure_mgmt_datalake_store/models/capability_information.rb'
|
32
|
+
autoload :Resource, '2016-11-01/generated/azure_mgmt_datalake_store/models/resource.rb'
|
33
|
+
autoload :NameAvailabilityInformation, '2016-11-01/generated/azure_mgmt_datalake_store/models/name_availability_information.rb'
|
36
34
|
autoload :EncryptionIdentity, '2016-11-01/generated/azure_mgmt_datalake_store/models/encryption_identity.rb'
|
35
|
+
autoload :CreateFirewallRuleWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_firewall_rule_with_account_parameters.rb'
|
37
36
|
autoload :EncryptionConfig, '2016-11-01/generated/azure_mgmt_datalake_store/models/encryption_config.rb'
|
38
|
-
autoload :
|
39
|
-
autoload :Resource, '2016-11-01/generated/azure_mgmt_datalake_store/models/resource.rb'
|
37
|
+
autoload :CreateTrustedIdProviderWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_trusted_id_provider_with_account_parameters.rb'
|
40
38
|
autoload :KeyVaultMetaInfo, '2016-11-01/generated/azure_mgmt_datalake_store/models/key_vault_meta_info.rb'
|
39
|
+
autoload :CreateOrUpdateTrustedIdProviderParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_trusted_id_provider_parameters.rb'
|
40
|
+
autoload :CheckNameAvailabilityParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/check_name_availability_parameters.rb'
|
41
|
+
autoload :UpdateTrustedIdProviderParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_parameters.rb'
|
42
|
+
autoload :FirewallRuleListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_rule_list_result.rb'
|
43
|
+
autoload :CreateDataLakeStoreAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_data_lake_store_account_parameters.rb'
|
44
|
+
autoload :OperationDisplay, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation_display.rb'
|
45
|
+
autoload :UpdateKeyVaultMetaInfo, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_key_vault_meta_info.rb'
|
46
|
+
autoload :OperationListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation_list_result.rb'
|
47
|
+
autoload :UpdateEncryptionConfig, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_encryption_config.rb'
|
48
|
+
autoload :UpdateFirewallRuleWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_with_account_parameters.rb'
|
49
|
+
autoload :TrustedIdProviderListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/trusted_id_provider_list_result.rb'
|
50
|
+
autoload :UpdateTrustedIdProviderWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_with_account_parameters.rb'
|
51
|
+
autoload :SubResource, '2016-11-01/generated/azure_mgmt_datalake_store/models/sub_resource.rb'
|
52
|
+
autoload :UpdateDataLakeStoreAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_data_lake_store_account_parameters.rb'
|
53
|
+
autoload :Operation, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation.rb'
|
54
|
+
autoload :CreateOrUpdateFirewallRuleParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_firewall_rule_parameters.rb'
|
41
55
|
autoload :DataLakeStoreAccountListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_list_result.rb'
|
42
|
-
autoload :
|
56
|
+
autoload :UpdateFirewallRuleParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_parameters.rb'
|
43
57
|
autoload :FirewallRule, '2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_rule.rb'
|
44
58
|
autoload :TrustedIdProvider, '2016-11-01/generated/azure_mgmt_datalake_store/models/trusted_id_provider.rb'
|
45
59
|
autoload :DataLakeStoreAccount, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account.rb'
|
@@ -48,10 +62,12 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
48
62
|
autoload :EncryptionState, '2016-11-01/generated/azure_mgmt_datalake_store/models/encryption_state.rb'
|
49
63
|
autoload :EncryptionProvisioningState, '2016-11-01/generated/azure_mgmt_datalake_store/models/encryption_provisioning_state.rb'
|
50
64
|
autoload :FirewallState, '2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_state.rb'
|
65
|
+
autoload :FirewallAllowAzureIpsState, '2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_allow_azure_ips_state.rb'
|
51
66
|
autoload :TrustedIdProviderState, '2016-11-01/generated/azure_mgmt_datalake_store/models/trusted_id_provider_state.rb'
|
52
67
|
autoload :TierType, '2016-11-01/generated/azure_mgmt_datalake_store/models/tier_type.rb'
|
53
|
-
autoload :FirewallAllowAzureIpsState, '2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_allow_azure_ips_state.rb'
|
54
68
|
autoload :DataLakeStoreAccountStatus, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_status.rb'
|
55
69
|
autoload :DataLakeStoreAccountState, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_state.rb'
|
70
|
+
autoload :OperationOrigin, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation_origin.rb'
|
71
|
+
autoload :SubscriptionState, '2016-11-01/generated/azure_mgmt_datalake_store/models/subscription_state.rb'
|
56
72
|
end
|
57
73
|
end
|
@@ -7,11 +7,11 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
7
7
|
#
|
8
8
|
# Creates an Azure Data Lake Store account management client.
|
9
9
|
#
|
10
|
-
class
|
10
|
+
class Accounts
|
11
11
|
include MsRestAzure
|
12
12
|
|
13
13
|
#
|
14
|
-
# Creates and initializes a new instance of the
|
14
|
+
# Creates and initializes a new instance of the Accounts class.
|
15
15
|
# @param client service class for accessing basic functionality.
|
16
16
|
#
|
17
17
|
def initialize(client)
|
@@ -22,132 +22,308 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Lists the Data Lake Store accounts within the subscription. The response
|
26
|
+
# includes a link to the next page of results, if any.
|
26
27
|
#
|
27
|
-
# @param
|
28
|
-
#
|
29
|
-
# @param
|
30
|
-
#
|
31
|
-
#
|
28
|
+
# @param filter [String] OData filter. Optional.
|
29
|
+
# @param top [Integer] The number of items to return. Optional.
|
30
|
+
# @param skip [Integer] The number of items to skip over before returning
|
31
|
+
# elements. Optional.
|
32
|
+
# @param select [String] OData Select statement. Limits the properties on each
|
33
|
+
# entry to just those requested, e.g.
|
34
|
+
# Categories?$select=CategoryName,Description. Optional.
|
35
|
+
# @param orderby [String] OrderBy clause. One or more comma-separated
|
36
|
+
# expressions with an optional "asc" (the default) or "desc" depending on the
|
37
|
+
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
38
|
+
# desc. Optional.
|
39
|
+
# @param count [Boolean] The Boolean value of true or false to request a count
|
40
|
+
# of the matching resources included with the resources in the response, e.g.
|
41
|
+
# Categories?$count=true. Optional.
|
32
42
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
33
43
|
# will be added to the HTTP request.
|
34
44
|
#
|
35
|
-
# @return [
|
45
|
+
# @return [Array<DataLakeStoreAccountBasic>] operation results.
|
36
46
|
#
|
37
|
-
def
|
38
|
-
|
39
|
-
|
47
|
+
def list(filter:nil, top:nil, skip:nil, select:nil, orderby:nil, count:nil, custom_headers:nil)
|
48
|
+
first_page = list_as_lazy(filter:filter, top:top, skip:skip, select:select, orderby:orderby, count:count, custom_headers:custom_headers)
|
49
|
+
first_page.get_all_items
|
40
50
|
end
|
41
51
|
|
42
52
|
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
# @param
|
47
|
-
#
|
53
|
+
# Lists the Data Lake Store accounts within the subscription. The response
|
54
|
+
# includes a link to the next page of results, if any.
|
55
|
+
#
|
56
|
+
# @param filter [String] OData filter. Optional.
|
57
|
+
# @param top [Integer] The number of items to return. Optional.
|
58
|
+
# @param skip [Integer] The number of items to skip over before returning
|
59
|
+
# elements. Optional.
|
60
|
+
# @param select [String] OData Select statement. Limits the properties on each
|
61
|
+
# entry to just those requested, e.g.
|
62
|
+
# Categories?$select=CategoryName,Description. Optional.
|
63
|
+
# @param orderby [String] OrderBy clause. One or more comma-separated
|
64
|
+
# expressions with an optional "asc" (the default) or "desc" depending on the
|
65
|
+
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
66
|
+
# desc. Optional.
|
67
|
+
# @param count [Boolean] The Boolean value of true or false to request a count
|
68
|
+
# of the matching resources included with the resources in the response, e.g.
|
69
|
+
# Categories?$count=true. Optional.
|
48
70
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
71
|
# will be added to the HTTP request.
|
50
72
|
#
|
51
|
-
# @return [
|
52
|
-
# response.
|
73
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
53
74
|
#
|
54
|
-
def
|
55
|
-
|
56
|
-
|
75
|
+
def list_with_http_info(filter:nil, top:nil, skip:nil, select:nil, orderby:nil, count:nil, custom_headers:nil)
|
76
|
+
list_async(filter:filter, top:top, skip:skip, select:select, orderby:orderby, count:count, custom_headers:custom_headers).value!
|
77
|
+
end
|
57
78
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
79
|
+
#
|
80
|
+
# Lists the Data Lake Store accounts within the subscription. The response
|
81
|
+
# includes a link to the next page of results, if any.
|
82
|
+
#
|
83
|
+
# @param filter [String] OData filter. Optional.
|
84
|
+
# @param top [Integer] The number of items to return. Optional.
|
85
|
+
# @param skip [Integer] The number of items to skip over before returning
|
86
|
+
# elements. Optional.
|
87
|
+
# @param select [String] OData Select statement. Limits the properties on each
|
88
|
+
# entry to just those requested, e.g.
|
89
|
+
# Categories?$select=CategoryName,Description. Optional.
|
90
|
+
# @param orderby [String] OrderBy clause. One or more comma-separated
|
91
|
+
# expressions with an optional "asc" (the default) or "desc" depending on the
|
92
|
+
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
93
|
+
# desc. Optional.
|
94
|
+
# @param count [Boolean] The Boolean value of true or false to request a count
|
95
|
+
# of the matching resources included with the resources in the response, e.g.
|
96
|
+
# Categories?$count=true. Optional.
|
97
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
98
|
+
# to the HTTP request.
|
99
|
+
#
|
100
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
101
|
+
#
|
102
|
+
def list_async(filter:nil, top:nil, skip:nil, select:nil, orderby:nil, count:nil, custom_headers:nil)
|
103
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
104
|
+
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
105
|
+
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '1'" if !skip.nil? && skip < 1
|
106
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
107
|
+
|
108
|
+
|
109
|
+
request_headers = {}
|
110
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
111
|
+
|
112
|
+
# Set Headers
|
113
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
114
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
115
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts'
|
116
|
+
|
117
|
+
request_url = @base_url || @client.base_url
|
118
|
+
|
119
|
+
options = {
|
120
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
121
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
122
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'$select' => select,'$orderby' => orderby,'$count' => count,'api-version' => @client.api_version},
|
123
|
+
headers: request_headers.merge(custom_headers || {}),
|
124
|
+
base_url: request_url
|
125
|
+
}
|
126
|
+
promise = @client.make_request_async(:get, path_template, options)
|
127
|
+
|
128
|
+
promise = promise.then do |result|
|
129
|
+
http_response = result.response
|
130
|
+
status_code = http_response.status
|
131
|
+
response_content = http_response.body
|
132
|
+
unless status_code == 200
|
133
|
+
error_model = JSON.load(response_content)
|
134
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
63
135
|
end
|
64
136
|
|
65
|
-
|
66
|
-
|
137
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
138
|
+
# Deserialize Response
|
139
|
+
if status_code == 200
|
140
|
+
begin
|
141
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
142
|
+
result_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult.mapper()
|
143
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
144
|
+
rescue Exception => e
|
145
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
result
|
67
150
|
end
|
68
151
|
|
69
|
-
promise
|
152
|
+
promise.execute
|
70
153
|
end
|
71
154
|
|
72
155
|
#
|
73
|
-
#
|
156
|
+
# Lists the Data Lake Store accounts within a specific resource group. The
|
157
|
+
# response includes a link to the next page of results, if any.
|
74
158
|
#
|
75
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
76
|
-
#
|
77
|
-
# @param
|
78
|
-
# @param
|
79
|
-
#
|
159
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
160
|
+
# @param filter [String] OData filter. Optional.
|
161
|
+
# @param top [Integer] The number of items to return. Optional.
|
162
|
+
# @param skip [Integer] The number of items to skip over before returning
|
163
|
+
# elements. Optional.
|
164
|
+
# @param select [String] OData Select statement. Limits the properties on each
|
165
|
+
# entry to just those requested, e.g.
|
166
|
+
# Categories?$select=CategoryName,Description. Optional.
|
167
|
+
# @param orderby [String] OrderBy clause. One or more comma-separated
|
168
|
+
# expressions with an optional "asc" (the default) or "desc" depending on the
|
169
|
+
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
170
|
+
# desc. Optional.
|
171
|
+
# @param count [Boolean] A Boolean value of true or false to request a count of
|
172
|
+
# the matching resources included with the resources in the response, e.g.
|
173
|
+
# Categories?$count=true. Optional.
|
80
174
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
81
175
|
# will be added to the HTTP request.
|
82
176
|
#
|
83
|
-
# @return [
|
177
|
+
# @return [Array<DataLakeStoreAccountBasic>] operation results.
|
84
178
|
#
|
85
|
-
def
|
86
|
-
|
87
|
-
|
179
|
+
def list_by_resource_group(resource_group_name, filter:nil, top:nil, skip:nil, select:nil, orderby:nil, count:nil, custom_headers:nil)
|
180
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, filter:filter, top:top, skip:skip, select:select, orderby:orderby, count:count, custom_headers:custom_headers)
|
181
|
+
first_page.get_all_items
|
88
182
|
end
|
89
183
|
|
90
184
|
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
# @param
|
95
|
-
#
|
185
|
+
# Lists the Data Lake Store accounts within a specific resource group. The
|
186
|
+
# response includes a link to the next page of results, if any.
|
187
|
+
#
|
188
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
189
|
+
# @param filter [String] OData filter. Optional.
|
190
|
+
# @param top [Integer] The number of items to return. Optional.
|
191
|
+
# @param skip [Integer] The number of items to skip over before returning
|
192
|
+
# elements. Optional.
|
193
|
+
# @param select [String] OData Select statement. Limits the properties on each
|
194
|
+
# entry to just those requested, e.g.
|
195
|
+
# Categories?$select=CategoryName,Description. Optional.
|
196
|
+
# @param orderby [String] OrderBy clause. One or more comma-separated
|
197
|
+
# expressions with an optional "asc" (the default) or "desc" depending on the
|
198
|
+
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
199
|
+
# desc. Optional.
|
200
|
+
# @param count [Boolean] A Boolean value of true or false to request a count of
|
201
|
+
# the matching resources included with the resources in the response, e.g.
|
202
|
+
# Categories?$count=true. Optional.
|
96
203
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
97
204
|
# will be added to the HTTP request.
|
98
205
|
#
|
99
|
-
# @return [
|
100
|
-
# response.
|
206
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
101
207
|
#
|
102
|
-
def
|
103
|
-
|
104
|
-
|
208
|
+
def list_by_resource_group_with_http_info(resource_group_name, filter:nil, top:nil, skip:nil, select:nil, orderby:nil, count:nil, custom_headers:nil)
|
209
|
+
list_by_resource_group_async(resource_group_name, filter:filter, top:top, skip:skip, select:select, orderby:orderby, count:count, custom_headers:custom_headers).value!
|
210
|
+
end
|
105
211
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
212
|
+
#
|
213
|
+
# Lists the Data Lake Store accounts within a specific resource group. The
|
214
|
+
# response includes a link to the next page of results, if any.
|
215
|
+
#
|
216
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
217
|
+
# @param filter [String] OData filter. Optional.
|
218
|
+
# @param top [Integer] The number of items to return. Optional.
|
219
|
+
# @param skip [Integer] The number of items to skip over before returning
|
220
|
+
# elements. Optional.
|
221
|
+
# @param select [String] OData Select statement. Limits the properties on each
|
222
|
+
# entry to just those requested, e.g.
|
223
|
+
# Categories?$select=CategoryName,Description. Optional.
|
224
|
+
# @param orderby [String] OrderBy clause. One or more comma-separated
|
225
|
+
# expressions with an optional "asc" (the default) or "desc" depending on the
|
226
|
+
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
227
|
+
# desc. Optional.
|
228
|
+
# @param count [Boolean] A Boolean value of true or false to request a count of
|
229
|
+
# the matching resources included with the resources in the response, e.g.
|
230
|
+
# Categories?$count=true. Optional.
|
231
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
232
|
+
# to the HTTP request.
|
233
|
+
#
|
234
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
235
|
+
#
|
236
|
+
def list_by_resource_group_async(resource_group_name, filter:nil, top:nil, skip:nil, select:nil, orderby:nil, count:nil, custom_headers:nil)
|
237
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
238
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
239
|
+
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
240
|
+
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '1'" if !skip.nil? && skip < 1
|
241
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
242
|
+
|
243
|
+
|
244
|
+
request_headers = {}
|
245
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
246
|
+
|
247
|
+
# Set Headers
|
248
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
249
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
250
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts'
|
251
|
+
|
252
|
+
request_url = @base_url || @client.base_url
|
253
|
+
|
254
|
+
options = {
|
255
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
256
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name},
|
257
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'$select' => select,'$orderby' => orderby,'$count' => count,'api-version' => @client.api_version},
|
258
|
+
headers: request_headers.merge(custom_headers || {}),
|
259
|
+
base_url: request_url
|
260
|
+
}
|
261
|
+
promise = @client.make_request_async(:get, path_template, options)
|
262
|
+
|
263
|
+
promise = promise.then do |result|
|
264
|
+
http_response = result.response
|
265
|
+
status_code = http_response.status
|
266
|
+
response_content = http_response.body
|
267
|
+
unless status_code == 200
|
268
|
+
error_model = JSON.load(response_content)
|
269
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
111
270
|
end
|
112
271
|
|
113
|
-
|
114
|
-
|
272
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
273
|
+
# Deserialize Response
|
274
|
+
if status_code == 200
|
275
|
+
begin
|
276
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
277
|
+
result_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult.mapper()
|
278
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
279
|
+
rescue Exception => e
|
280
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
result
|
115
285
|
end
|
116
286
|
|
117
|
-
promise
|
287
|
+
promise.execute
|
118
288
|
end
|
119
289
|
|
120
290
|
#
|
121
|
-
#
|
291
|
+
# Creates the specified Data Lake Store account.
|
122
292
|
#
|
123
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
124
|
-
#
|
125
|
-
# @param
|
293
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
294
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
295
|
+
# @param parameters [CreateDataLakeStoreAccountParameters] Parameters supplied
|
296
|
+
# to create the Data Lake Store account.
|
126
297
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
127
298
|
# will be added to the HTTP request.
|
128
299
|
#
|
129
|
-
|
130
|
-
|
131
|
-
|
300
|
+
# @return [DataLakeStoreAccount] operation results.
|
301
|
+
#
|
302
|
+
def create(resource_group_name, account_name, parameters, custom_headers:nil)
|
303
|
+
response = create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
|
304
|
+
response.body unless response.nil?
|
132
305
|
end
|
133
306
|
|
134
307
|
#
|
135
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
136
|
-
#
|
137
|
-
# @param
|
308
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
309
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
310
|
+
# @param parameters [CreateDataLakeStoreAccountParameters] Parameters supplied
|
311
|
+
# to create the Data Lake Store account.
|
138
312
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
139
313
|
# will be added to the HTTP request.
|
140
314
|
#
|
141
315
|
# @return [Concurrent::Promise] promise which provides async access to http
|
142
316
|
# response.
|
143
317
|
#
|
144
|
-
def
|
318
|
+
def create_async(resource_group_name, account_name, parameters, custom_headers:nil)
|
145
319
|
# Send request
|
146
|
-
promise =
|
320
|
+
promise = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers)
|
147
321
|
|
148
322
|
promise = promise.then do |response|
|
149
323
|
# Defining deserialization method.
|
150
324
|
deserialize_method = lambda do |parsed_response|
|
325
|
+
result_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount.mapper()
|
326
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
151
327
|
end
|
152
328
|
|
153
329
|
# Waiting for response.
|
@@ -160,64 +336,62 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
160
336
|
#
|
161
337
|
# Gets the specified Data Lake Store account.
|
162
338
|
#
|
163
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
164
|
-
#
|
165
|
-
# @param name [String] The name of the Data Lake Store account to retrieve.
|
339
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
340
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
166
341
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
167
342
|
# will be added to the HTTP request.
|
168
343
|
#
|
169
344
|
# @return [DataLakeStoreAccount] operation results.
|
170
345
|
#
|
171
|
-
def get(resource_group_name,
|
172
|
-
response = get_async(resource_group_name,
|
346
|
+
def get(resource_group_name, account_name, custom_headers:nil)
|
347
|
+
response = get_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
173
348
|
response.body unless response.nil?
|
174
349
|
end
|
175
350
|
|
176
351
|
#
|
177
352
|
# Gets the specified Data Lake Store account.
|
178
353
|
#
|
179
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
180
|
-
#
|
181
|
-
# @param name [String] The name of the Data Lake Store account to retrieve.
|
354
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
355
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
182
356
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
183
357
|
# will be added to the HTTP request.
|
184
358
|
#
|
185
359
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
186
360
|
#
|
187
|
-
def get_with_http_info(resource_group_name,
|
188
|
-
get_async(resource_group_name,
|
361
|
+
def get_with_http_info(resource_group_name, account_name, custom_headers:nil)
|
362
|
+
get_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
189
363
|
end
|
190
364
|
|
191
365
|
#
|
192
366
|
# Gets the specified Data Lake Store account.
|
193
367
|
#
|
194
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
195
|
-
#
|
196
|
-
# @param name [String] The name of the Data Lake Store account to retrieve.
|
368
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
369
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
197
370
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
198
371
|
# to the HTTP request.
|
199
372
|
#
|
200
373
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
201
374
|
#
|
202
|
-
def get_async(resource_group_name,
|
375
|
+
def get_async(resource_group_name, account_name, custom_headers:nil)
|
376
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
203
377
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
204
|
-
fail ArgumentError, '
|
378
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
205
379
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
206
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
207
380
|
|
208
381
|
|
209
382
|
request_headers = {}
|
383
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
210
384
|
|
211
385
|
# Set Headers
|
212
386
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
213
387
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
214
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{
|
388
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}'
|
215
389
|
|
216
390
|
request_url = @base_url || @client.base_url
|
217
391
|
|
218
392
|
options = {
|
219
393
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
220
|
-
path_params: {'
|
394
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name},
|
221
395
|
query_params: {'api-version' => @client.api_version},
|
222
396
|
headers: request_headers.merge(custom_headers || {}),
|
223
397
|
base_url: request_url
|
@@ -252,203 +426,155 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
252
426
|
end
|
253
427
|
|
254
428
|
#
|
255
|
-
#
|
256
|
-
# Data Lake Store account.
|
429
|
+
# Updates the specified Data Lake Store account information.
|
257
430
|
#
|
258
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
259
|
-
#
|
260
|
-
# @param
|
261
|
-
#
|
431
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
432
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
433
|
+
# @param parameters [UpdateDataLakeStoreAccountParameters] Parameters supplied
|
434
|
+
# to update the Data Lake Store account.
|
262
435
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
263
436
|
# will be added to the HTTP request.
|
264
437
|
#
|
438
|
+
# @return [DataLakeStoreAccount] operation results.
|
265
439
|
#
|
266
|
-
def
|
267
|
-
response =
|
268
|
-
nil
|
440
|
+
def update(resource_group_name, account_name, parameters, custom_headers:nil)
|
441
|
+
response = update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
|
442
|
+
response.body unless response.nil?
|
269
443
|
end
|
270
444
|
|
271
445
|
#
|
272
|
-
#
|
273
|
-
# Data Lake Store account.
|
274
|
-
#
|
275
|
-
#
|
276
|
-
# contains the Data Lake Store account.
|
277
|
-
# @param account_name [String] The name of the Data Lake Store account to
|
278
|
-
# attempt to enable the Key Vault for.
|
446
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
447
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
448
|
+
# @param parameters [UpdateDataLakeStoreAccountParameters] Parameters supplied
|
449
|
+
# to update the Data Lake Store account.
|
279
450
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
280
451
|
# will be added to the HTTP request.
|
281
452
|
#
|
282
|
-
# @return [
|
283
|
-
#
|
284
|
-
def enable_key_vault_with_http_info(resource_group_name, account_name, custom_headers = nil)
|
285
|
-
enable_key_vault_async(resource_group_name, account_name, custom_headers).value!
|
286
|
-
end
|
287
|
-
|
288
|
-
#
|
289
|
-
# Attempts to enable a user managed Key Vault for encryption of the specified
|
290
|
-
# Data Lake Store account.
|
291
|
-
#
|
292
|
-
# @param resource_group_name [String] The name of the Azure resource group that
|
293
|
-
# contains the Data Lake Store account.
|
294
|
-
# @param account_name [String] The name of the Data Lake Store account to
|
295
|
-
# attempt to enable the Key Vault for.
|
296
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
297
|
-
# to the HTTP request.
|
298
|
-
#
|
299
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
453
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
454
|
+
# response.
|
300
455
|
#
|
301
|
-
def
|
302
|
-
|
303
|
-
|
304
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
305
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
456
|
+
def update_async(resource_group_name, account_name, parameters, custom_headers:nil)
|
457
|
+
# Send request
|
458
|
+
promise = begin_update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers)
|
306
459
|
|
460
|
+
promise = promise.then do |response|
|
461
|
+
# Defining deserialization method.
|
462
|
+
deserialize_method = lambda do |parsed_response|
|
463
|
+
result_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount.mapper()
|
464
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
465
|
+
end
|
307
466
|
|
308
|
-
|
467
|
+
# Waiting for response.
|
468
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
469
|
+
end
|
309
470
|
|
310
|
-
|
311
|
-
|
312
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
313
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/enableKeyVault'
|
471
|
+
promise
|
472
|
+
end
|
314
473
|
|
315
|
-
|
474
|
+
#
|
475
|
+
# Deletes the specified Data Lake Store account.
|
476
|
+
#
|
477
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
478
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
479
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
480
|
+
# will be added to the HTTP request.
|
481
|
+
#
|
482
|
+
def delete(resource_group_name, account_name, custom_headers:nil)
|
483
|
+
response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
484
|
+
nil
|
485
|
+
end
|
316
486
|
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
487
|
+
#
|
488
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
489
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
490
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
491
|
+
# will be added to the HTTP request.
|
492
|
+
#
|
493
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
494
|
+
# response.
|
495
|
+
#
|
496
|
+
def delete_async(resource_group_name, account_name, custom_headers:nil)
|
497
|
+
# Send request
|
498
|
+
promise = begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers)
|
325
499
|
|
326
|
-
promise = promise.then do |
|
327
|
-
|
328
|
-
|
329
|
-
response_content = http_response.body
|
330
|
-
unless status_code == 200
|
331
|
-
error_model = JSON.load(response_content)
|
332
|
-
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
500
|
+
promise = promise.then do |response|
|
501
|
+
# Defining deserialization method.
|
502
|
+
deserialize_method = lambda do |parsed_response|
|
333
503
|
end
|
334
504
|
|
335
|
-
|
336
|
-
|
337
|
-
result
|
505
|
+
# Waiting for response.
|
506
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
338
507
|
end
|
339
508
|
|
340
|
-
promise
|
509
|
+
promise
|
341
510
|
end
|
342
511
|
|
343
512
|
#
|
344
|
-
#
|
345
|
-
#
|
513
|
+
# Attempts to enable a user managed Key Vault for encryption of the specified
|
514
|
+
# Data Lake Store account.
|
346
515
|
#
|
347
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
348
|
-
#
|
349
|
-
# @param filter [String] OData filter. Optional.
|
350
|
-
# @param top [Integer] The number of items to return. Optional.
|
351
|
-
# @param skip [Integer] The number of items to skip over before returning
|
352
|
-
# elements. Optional.
|
353
|
-
# @param select [String] OData Select statement. Limits the properties on each
|
354
|
-
# entry to just those requested, e.g.
|
355
|
-
# Categories?$select=CategoryName,Description. Optional.
|
356
|
-
# @param orderby [String] OrderBy clause. One or more comma-separated
|
357
|
-
# expressions with an optional "asc" (the default) or "desc" depending on the
|
358
|
-
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
359
|
-
# desc. Optional.
|
360
|
-
# @param count [Boolean] A Boolean value of true or false to request a count of
|
361
|
-
# the matching resources included with the resources in the response, e.g.
|
362
|
-
# Categories?$count=true. Optional.
|
516
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
517
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
363
518
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
364
519
|
# will be added to the HTTP request.
|
365
520
|
#
|
366
|
-
# @return [Array<DataLakeStoreAccountBasic>] operation results.
|
367
521
|
#
|
368
|
-
def
|
369
|
-
|
370
|
-
|
522
|
+
def enable_key_vault(resource_group_name, account_name, custom_headers:nil)
|
523
|
+
response = enable_key_vault_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
524
|
+
nil
|
371
525
|
end
|
372
526
|
|
373
527
|
#
|
374
|
-
#
|
375
|
-
#
|
528
|
+
# Attempts to enable a user managed Key Vault for encryption of the specified
|
529
|
+
# Data Lake Store account.
|
376
530
|
#
|
377
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
378
|
-
#
|
379
|
-
# @param filter [String] OData filter. Optional.
|
380
|
-
# @param top [Integer] The number of items to return. Optional.
|
381
|
-
# @param skip [Integer] The number of items to skip over before returning
|
382
|
-
# elements. Optional.
|
383
|
-
# @param select [String] OData Select statement. Limits the properties on each
|
384
|
-
# entry to just those requested, e.g.
|
385
|
-
# Categories?$select=CategoryName,Description. Optional.
|
386
|
-
# @param orderby [String] OrderBy clause. One or more comma-separated
|
387
|
-
# expressions with an optional "asc" (the default) or "desc" depending on the
|
388
|
-
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
389
|
-
# desc. Optional.
|
390
|
-
# @param count [Boolean] A Boolean value of true or false to request a count of
|
391
|
-
# the matching resources included with the resources in the response, e.g.
|
392
|
-
# Categories?$count=true. Optional.
|
531
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
532
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
393
533
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
394
534
|
# will be added to the HTTP request.
|
395
535
|
#
|
396
536
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
397
537
|
#
|
398
|
-
def
|
399
|
-
|
538
|
+
def enable_key_vault_with_http_info(resource_group_name, account_name, custom_headers:nil)
|
539
|
+
enable_key_vault_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
400
540
|
end
|
401
541
|
|
402
542
|
#
|
403
|
-
#
|
404
|
-
#
|
543
|
+
# Attempts to enable a user managed Key Vault for encryption of the specified
|
544
|
+
# Data Lake Store account.
|
405
545
|
#
|
406
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
407
|
-
#
|
408
|
-
# @param filter [String] OData filter. Optional.
|
409
|
-
# @param top [Integer] The number of items to return. Optional.
|
410
|
-
# @param skip [Integer] The number of items to skip over before returning
|
411
|
-
# elements. Optional.
|
412
|
-
# @param select [String] OData Select statement. Limits the properties on each
|
413
|
-
# entry to just those requested, e.g.
|
414
|
-
# Categories?$select=CategoryName,Description. Optional.
|
415
|
-
# @param orderby [String] OrderBy clause. One or more comma-separated
|
416
|
-
# expressions with an optional "asc" (the default) or "desc" depending on the
|
417
|
-
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
418
|
-
# desc. Optional.
|
419
|
-
# @param count [Boolean] A Boolean value of true or false to request a count of
|
420
|
-
# the matching resources included with the resources in the response, e.g.
|
421
|
-
# Categories?$count=true. Optional.
|
546
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
547
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
422
548
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
423
549
|
# to the HTTP request.
|
424
550
|
#
|
425
551
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
426
552
|
#
|
427
|
-
def
|
553
|
+
def enable_key_vault_async(resource_group_name, account_name, custom_headers:nil)
|
554
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
428
555
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
429
|
-
fail ArgumentError,
|
430
|
-
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '1'" if !skip.nil? && skip < 1
|
556
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
431
557
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
432
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
433
558
|
|
434
559
|
|
435
560
|
request_headers = {}
|
561
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
436
562
|
|
437
563
|
# Set Headers
|
438
564
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
439
565
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
440
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts'
|
566
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/enableKeyVault'
|
441
567
|
|
442
568
|
request_url = @base_url || @client.base_url
|
443
569
|
|
444
570
|
options = {
|
445
571
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
446
|
-
path_params: {'resourceGroupName' => resource_group_name,'
|
447
|
-
query_params: {'
|
572
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name},
|
573
|
+
query_params: {'api-version' => @client.api_version},
|
448
574
|
headers: request_headers.merge(custom_headers || {}),
|
449
575
|
base_url: request_url
|
450
576
|
}
|
451
|
-
promise = @client.make_request_async(:
|
577
|
+
promise = @client.make_request_async(:post, path_template, options)
|
452
578
|
|
453
579
|
promise = promise.then do |result|
|
454
580
|
http_response = result.response
|
@@ -460,16 +586,6 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
460
586
|
end
|
461
587
|
|
462
588
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
463
|
-
# Deserialize Response
|
464
|
-
if status_code == 200
|
465
|
-
begin
|
466
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
467
|
-
result_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult.mapper()
|
468
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
469
|
-
rescue Exception => e
|
470
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
471
|
-
end
|
472
|
-
end
|
473
589
|
|
474
590
|
result
|
475
591
|
end
|
@@ -478,107 +594,79 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
478
594
|
end
|
479
595
|
|
480
596
|
#
|
481
|
-
#
|
482
|
-
# includes a link to the next page of results, if any.
|
597
|
+
# Checks whether the specified account name is available or taken.
|
483
598
|
#
|
484
|
-
# @param
|
485
|
-
# @param
|
486
|
-
#
|
487
|
-
# elements. Optional.
|
488
|
-
# @param select [String] OData Select statement. Limits the properties on each
|
489
|
-
# entry to just those requested, e.g.
|
490
|
-
# Categories?$select=CategoryName,Description. Optional.
|
491
|
-
# @param orderby [String] OrderBy clause. One or more comma-separated
|
492
|
-
# expressions with an optional "asc" (the default) or "desc" depending on the
|
493
|
-
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
494
|
-
# desc. Optional.
|
495
|
-
# @param count [Boolean] The Boolean value of true or false to request a count
|
496
|
-
# of the matching resources included with the resources in the response, e.g.
|
497
|
-
# Categories?$count=true. Optional.
|
599
|
+
# @param location [String] The resource location without whitespace.
|
600
|
+
# @param parameters [CheckNameAvailabilityParameters] Parameters supplied to
|
601
|
+
# check the Data Lake Store account name availability.
|
498
602
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
499
603
|
# will be added to the HTTP request.
|
500
604
|
#
|
501
|
-
# @return [
|
605
|
+
# @return [NameAvailabilityInformation] operation results.
|
502
606
|
#
|
503
|
-
def
|
504
|
-
|
505
|
-
|
607
|
+
def check_name_availability(location, parameters, custom_headers:nil)
|
608
|
+
response = check_name_availability_async(location, parameters, custom_headers:custom_headers).value!
|
609
|
+
response.body unless response.nil?
|
506
610
|
end
|
507
611
|
|
508
612
|
#
|
509
|
-
#
|
510
|
-
# includes a link to the next page of results, if any.
|
613
|
+
# Checks whether the specified account name is available or taken.
|
511
614
|
#
|
512
|
-
# @param
|
513
|
-
# @param
|
514
|
-
#
|
515
|
-
# elements. Optional.
|
516
|
-
# @param select [String] OData Select statement. Limits the properties on each
|
517
|
-
# entry to just those requested, e.g.
|
518
|
-
# Categories?$select=CategoryName,Description. Optional.
|
519
|
-
# @param orderby [String] OrderBy clause. One or more comma-separated
|
520
|
-
# expressions with an optional "asc" (the default) or "desc" depending on the
|
521
|
-
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
522
|
-
# desc. Optional.
|
523
|
-
# @param count [Boolean] The Boolean value of true or false to request a count
|
524
|
-
# of the matching resources included with the resources in the response, e.g.
|
525
|
-
# Categories?$count=true. Optional.
|
615
|
+
# @param location [String] The resource location without whitespace.
|
616
|
+
# @param parameters [CheckNameAvailabilityParameters] Parameters supplied to
|
617
|
+
# check the Data Lake Store account name availability.
|
526
618
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
527
619
|
# will be added to the HTTP request.
|
528
620
|
#
|
529
621
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
530
622
|
#
|
531
|
-
def
|
532
|
-
|
623
|
+
def check_name_availability_with_http_info(location, parameters, custom_headers:nil)
|
624
|
+
check_name_availability_async(location, parameters, custom_headers:custom_headers).value!
|
533
625
|
end
|
534
626
|
|
535
627
|
#
|
536
|
-
#
|
537
|
-
# includes a link to the next page of results, if any.
|
628
|
+
# Checks whether the specified account name is available or taken.
|
538
629
|
#
|
539
|
-
# @param
|
540
|
-
# @param
|
541
|
-
#
|
542
|
-
# elements. Optional.
|
543
|
-
# @param select [String] OData Select statement. Limits the properties on each
|
544
|
-
# entry to just those requested, e.g.
|
545
|
-
# Categories?$select=CategoryName,Description. Optional.
|
546
|
-
# @param orderby [String] OrderBy clause. One or more comma-separated
|
547
|
-
# expressions with an optional "asc" (the default) or "desc" depending on the
|
548
|
-
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
549
|
-
# desc. Optional.
|
550
|
-
# @param count [Boolean] The Boolean value of true or false to request a count
|
551
|
-
# of the matching resources included with the resources in the response, e.g.
|
552
|
-
# Categories?$count=true. Optional.
|
630
|
+
# @param location [String] The resource location without whitespace.
|
631
|
+
# @param parameters [CheckNameAvailabilityParameters] Parameters supplied to
|
632
|
+
# check the Data Lake Store account name availability.
|
553
633
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
554
634
|
# to the HTTP request.
|
555
635
|
#
|
556
636
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
557
637
|
#
|
558
|
-
def
|
559
|
-
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
560
|
-
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '1'" if !skip.nil? && skip < 1
|
561
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
638
|
+
def check_name_availability_async(location, parameters, custom_headers:nil)
|
562
639
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
640
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
641
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
642
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
563
643
|
|
564
644
|
|
565
645
|
request_headers = {}
|
646
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
566
647
|
|
567
648
|
# Set Headers
|
568
649
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
569
650
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
570
|
-
|
651
|
+
|
652
|
+
# Serialize Request
|
653
|
+
request_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters.mapper()
|
654
|
+
request_content = @client.serialize(request_mapper, parameters)
|
655
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
656
|
+
|
657
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/checkNameAvailability'
|
571
658
|
|
572
659
|
request_url = @base_url || @client.base_url
|
573
660
|
|
574
661
|
options = {
|
575
662
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
576
|
-
path_params: {'subscriptionId' => @client.subscription_id},
|
577
|
-
query_params: {'
|
663
|
+
path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
|
664
|
+
query_params: {'api-version' => @client.api_version},
|
665
|
+
body: request_content,
|
578
666
|
headers: request_headers.merge(custom_headers || {}),
|
579
667
|
base_url: request_url
|
580
668
|
}
|
581
|
-
promise = @client.make_request_async(:
|
669
|
+
promise = @client.make_request_async(:post, path_template, options)
|
582
670
|
|
583
671
|
promise = promise.then do |result|
|
584
672
|
http_response = result.response
|
@@ -594,7 +682,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
594
682
|
if status_code == 200
|
595
683
|
begin
|
596
684
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
597
|
-
result_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::
|
685
|
+
result_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation.mapper()
|
598
686
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
599
687
|
rescue Exception => e
|
600
688
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -610,79 +698,75 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
610
698
|
#
|
611
699
|
# Creates the specified Data Lake Store account.
|
612
700
|
#
|
613
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
614
|
-
#
|
615
|
-
# @param
|
616
|
-
#
|
617
|
-
# Data Lake Store account.
|
701
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
702
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
703
|
+
# @param parameters [CreateDataLakeStoreAccountParameters] Parameters supplied
|
704
|
+
# to create the Data Lake Store account.
|
618
705
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
619
706
|
# will be added to the HTTP request.
|
620
707
|
#
|
621
708
|
# @return [DataLakeStoreAccount] operation results.
|
622
709
|
#
|
623
|
-
def begin_create(resource_group_name,
|
624
|
-
response = begin_create_async(resource_group_name,
|
710
|
+
def begin_create(resource_group_name, account_name, parameters, custom_headers:nil)
|
711
|
+
response = begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
|
625
712
|
response.body unless response.nil?
|
626
713
|
end
|
627
714
|
|
628
715
|
#
|
629
716
|
# Creates the specified Data Lake Store account.
|
630
717
|
#
|
631
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
632
|
-
#
|
633
|
-
# @param
|
634
|
-
#
|
635
|
-
# Data Lake Store account.
|
718
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
719
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
720
|
+
# @param parameters [CreateDataLakeStoreAccountParameters] Parameters supplied
|
721
|
+
# to create the Data Lake Store account.
|
636
722
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
637
723
|
# will be added to the HTTP request.
|
638
724
|
#
|
639
725
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
640
726
|
#
|
641
|
-
def begin_create_with_http_info(resource_group_name,
|
642
|
-
begin_create_async(resource_group_name,
|
727
|
+
def begin_create_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil)
|
728
|
+
begin_create_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
|
643
729
|
end
|
644
730
|
|
645
731
|
#
|
646
732
|
# Creates the specified Data Lake Store account.
|
647
733
|
#
|
648
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
649
|
-
#
|
650
|
-
# @param
|
651
|
-
#
|
652
|
-
# Data Lake Store account.
|
734
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
735
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
736
|
+
# @param parameters [CreateDataLakeStoreAccountParameters] Parameters supplied
|
737
|
+
# to create the Data Lake Store account.
|
653
738
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
654
739
|
# to the HTTP request.
|
655
740
|
#
|
656
741
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
657
742
|
#
|
658
|
-
def begin_create_async(resource_group_name,
|
743
|
+
def begin_create_async(resource_group_name, account_name, parameters, custom_headers:nil)
|
744
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
659
745
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
660
|
-
fail ArgumentError, '
|
746
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
661
747
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
662
748
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
663
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
664
749
|
|
665
750
|
|
666
751
|
request_headers = {}
|
752
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
667
753
|
|
668
754
|
# Set Headers
|
669
755
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
670
756
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
671
757
|
|
672
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
673
|
-
|
674
758
|
# Serialize Request
|
675
|
-
request_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::
|
759
|
+
request_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters.mapper()
|
676
760
|
request_content = @client.serialize(request_mapper, parameters)
|
677
761
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
678
762
|
|
679
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{
|
763
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}'
|
680
764
|
|
681
765
|
request_url = @base_url || @client.base_url
|
682
766
|
|
683
767
|
options = {
|
684
768
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
685
|
-
path_params: {'
|
769
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name},
|
686
770
|
query_params: {'api-version' => @client.api_version},
|
687
771
|
body: request_content,
|
688
772
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -730,79 +814,75 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
730
814
|
#
|
731
815
|
# Updates the specified Data Lake Store account information.
|
732
816
|
#
|
733
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
734
|
-
#
|
735
|
-
# @param
|
736
|
-
# @param parameters [DataLakeStoreAccountUpdateParameters] Parameters supplied
|
817
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
818
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
819
|
+
# @param parameters [UpdateDataLakeStoreAccountParameters] Parameters supplied
|
737
820
|
# to update the Data Lake Store account.
|
738
821
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
739
822
|
# will be added to the HTTP request.
|
740
823
|
#
|
741
824
|
# @return [DataLakeStoreAccount] operation results.
|
742
825
|
#
|
743
|
-
def begin_update(resource_group_name,
|
744
|
-
response = begin_update_async(resource_group_name,
|
826
|
+
def begin_update(resource_group_name, account_name, parameters, custom_headers:nil)
|
827
|
+
response = begin_update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
|
745
828
|
response.body unless response.nil?
|
746
829
|
end
|
747
830
|
|
748
831
|
#
|
749
832
|
# Updates the specified Data Lake Store account information.
|
750
833
|
#
|
751
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
752
|
-
#
|
753
|
-
# @param
|
754
|
-
# @param parameters [DataLakeStoreAccountUpdateParameters] Parameters supplied
|
834
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
835
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
836
|
+
# @param parameters [UpdateDataLakeStoreAccountParameters] Parameters supplied
|
755
837
|
# to update the Data Lake Store account.
|
756
838
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
757
839
|
# will be added to the HTTP request.
|
758
840
|
#
|
759
841
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
760
842
|
#
|
761
|
-
def begin_update_with_http_info(resource_group_name,
|
762
|
-
begin_update_async(resource_group_name,
|
843
|
+
def begin_update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil)
|
844
|
+
begin_update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value!
|
763
845
|
end
|
764
846
|
|
765
847
|
#
|
766
848
|
# Updates the specified Data Lake Store account information.
|
767
849
|
#
|
768
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
769
|
-
#
|
770
|
-
# @param
|
771
|
-
# @param parameters [DataLakeStoreAccountUpdateParameters] Parameters supplied
|
850
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
851
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
852
|
+
# @param parameters [UpdateDataLakeStoreAccountParameters] Parameters supplied
|
772
853
|
# to update the Data Lake Store account.
|
773
854
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
774
855
|
# to the HTTP request.
|
775
856
|
#
|
776
857
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
777
858
|
#
|
778
|
-
def begin_update_async(resource_group_name,
|
859
|
+
def begin_update_async(resource_group_name, account_name, parameters, custom_headers:nil)
|
860
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
779
861
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
780
|
-
fail ArgumentError, '
|
862
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
781
863
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
782
864
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
783
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
784
865
|
|
785
866
|
|
786
867
|
request_headers = {}
|
868
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
787
869
|
|
788
870
|
# Set Headers
|
789
871
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
790
872
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
791
873
|
|
792
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
793
|
-
|
794
874
|
# Serialize Request
|
795
|
-
request_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::
|
875
|
+
request_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters.mapper()
|
796
876
|
request_content = @client.serialize(request_mapper, parameters)
|
797
877
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
798
878
|
|
799
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{
|
879
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}'
|
800
880
|
|
801
881
|
request_url = @base_url || @client.base_url
|
802
882
|
|
803
883
|
options = {
|
804
884
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
805
|
-
path_params: {'
|
885
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name},
|
806
886
|
query_params: {'api-version' => @client.api_version},
|
807
887
|
body: request_content,
|
808
888
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -814,7 +894,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
814
894
|
http_response = result.response
|
815
895
|
status_code = http_response.status
|
816
896
|
response_content = http_response.body
|
817
|
-
unless status_code == 200 || status_code == 201
|
897
|
+
unless status_code == 200 || status_code == 201 || status_code == 202
|
818
898
|
error_model = JSON.load(response_content)
|
819
899
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
820
900
|
end
|
@@ -840,6 +920,16 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
840
920
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
841
921
|
end
|
842
922
|
end
|
923
|
+
# Deserialize Response
|
924
|
+
if status_code == 202
|
925
|
+
begin
|
926
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
927
|
+
result_mapper = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount.mapper()
|
928
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
929
|
+
rescue Exception => e
|
930
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
931
|
+
end
|
932
|
+
end
|
843
933
|
|
844
934
|
result
|
845
935
|
end
|
@@ -850,63 +940,61 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
850
940
|
#
|
851
941
|
# Deletes the specified Data Lake Store account.
|
852
942
|
#
|
853
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
854
|
-
#
|
855
|
-
# @param name [String] The name of the Data Lake Store account to delete.
|
943
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
944
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
856
945
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
857
946
|
# will be added to the HTTP request.
|
858
947
|
#
|
859
948
|
#
|
860
|
-
def begin_delete(resource_group_name,
|
861
|
-
response = begin_delete_async(resource_group_name,
|
949
|
+
def begin_delete(resource_group_name, account_name, custom_headers:nil)
|
950
|
+
response = begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
862
951
|
nil
|
863
952
|
end
|
864
953
|
|
865
954
|
#
|
866
955
|
# Deletes the specified Data Lake Store account.
|
867
956
|
#
|
868
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
869
|
-
#
|
870
|
-
# @param name [String] The name of the Data Lake Store account to delete.
|
957
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
958
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
871
959
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
872
960
|
# will be added to the HTTP request.
|
873
961
|
#
|
874
962
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
875
963
|
#
|
876
|
-
def begin_delete_with_http_info(resource_group_name,
|
877
|
-
begin_delete_async(resource_group_name,
|
964
|
+
def begin_delete_with_http_info(resource_group_name, account_name, custom_headers:nil)
|
965
|
+
begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
878
966
|
end
|
879
967
|
|
880
968
|
#
|
881
969
|
# Deletes the specified Data Lake Store account.
|
882
970
|
#
|
883
|
-
# @param resource_group_name [String] The name of the Azure resource group
|
884
|
-
#
|
885
|
-
# @param name [String] The name of the Data Lake Store account to delete.
|
971
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
972
|
+
# @param account_name [String] The name of the Data Lake Store account.
|
886
973
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
887
974
|
# to the HTTP request.
|
888
975
|
#
|
889
976
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
890
977
|
#
|
891
|
-
def begin_delete_async(resource_group_name,
|
978
|
+
def begin_delete_async(resource_group_name, account_name, custom_headers:nil)
|
979
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
892
980
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
893
|
-
fail ArgumentError, '
|
981
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
894
982
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
895
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
896
983
|
|
897
984
|
|
898
985
|
request_headers = {}
|
986
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
899
987
|
|
900
988
|
# Set Headers
|
901
989
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
902
990
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
903
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{
|
991
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}'
|
904
992
|
|
905
993
|
request_url = @base_url || @client.base_url
|
906
994
|
|
907
995
|
options = {
|
908
996
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
909
|
-
path_params: {'
|
997
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name},
|
910
998
|
query_params: {'api-version' => @client.api_version},
|
911
999
|
headers: request_headers.merge(custom_headers || {}),
|
912
1000
|
base_url: request_url
|
@@ -917,7 +1005,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
917
1005
|
http_response = result.response
|
918
1006
|
status_code = http_response.status
|
919
1007
|
response_content = http_response.body
|
920
|
-
unless status_code == 200 || status_code ==
|
1008
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
921
1009
|
error_model = JSON.load(response_content)
|
922
1010
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
923
1011
|
end
|
@@ -931,8 +1019,8 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
931
1019
|
end
|
932
1020
|
|
933
1021
|
#
|
934
|
-
# Lists the Data Lake Store accounts within
|
935
|
-
#
|
1022
|
+
# Lists the Data Lake Store accounts within the subscription. The response
|
1023
|
+
# includes a link to the next page of results, if any.
|
936
1024
|
#
|
937
1025
|
# @param next_page_link [String] The NextLink from the previous successful call
|
938
1026
|
# to List operation.
|
@@ -941,14 +1029,14 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
941
1029
|
#
|
942
1030
|
# @return [DataLakeStoreAccountListResult] operation results.
|
943
1031
|
#
|
944
|
-
def
|
945
|
-
response =
|
1032
|
+
def list_next(next_page_link, custom_headers:nil)
|
1033
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
946
1034
|
response.body unless response.nil?
|
947
1035
|
end
|
948
1036
|
|
949
1037
|
#
|
950
|
-
# Lists the Data Lake Store accounts within
|
951
|
-
#
|
1038
|
+
# Lists the Data Lake Store accounts within the subscription. The response
|
1039
|
+
# includes a link to the next page of results, if any.
|
952
1040
|
#
|
953
1041
|
# @param next_page_link [String] The NextLink from the previous successful call
|
954
1042
|
# to List operation.
|
@@ -957,13 +1045,13 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
957
1045
|
#
|
958
1046
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
959
1047
|
#
|
960
|
-
def
|
961
|
-
|
1048
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
1049
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
962
1050
|
end
|
963
1051
|
|
964
1052
|
#
|
965
|
-
# Lists the Data Lake Store accounts within
|
966
|
-
#
|
1053
|
+
# Lists the Data Lake Store accounts within the subscription. The response
|
1054
|
+
# includes a link to the next page of results, if any.
|
967
1055
|
#
|
968
1056
|
# @param next_page_link [String] The NextLink from the previous successful call
|
969
1057
|
# to List operation.
|
@@ -972,11 +1060,12 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
972
1060
|
#
|
973
1061
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
974
1062
|
#
|
975
|
-
def
|
1063
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
976
1064
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
977
1065
|
|
978
1066
|
|
979
1067
|
request_headers = {}
|
1068
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
980
1069
|
|
981
1070
|
# Set Headers
|
982
1071
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -1021,8 +1110,8 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
1021
1110
|
end
|
1022
1111
|
|
1023
1112
|
#
|
1024
|
-
# Lists the Data Lake Store accounts within
|
1025
|
-
# includes a link to the next page of results, if any.
|
1113
|
+
# Lists the Data Lake Store accounts within a specific resource group. The
|
1114
|
+
# response includes a link to the next page of results, if any.
|
1026
1115
|
#
|
1027
1116
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1028
1117
|
# to List operation.
|
@@ -1031,14 +1120,14 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
1031
1120
|
#
|
1032
1121
|
# @return [DataLakeStoreAccountListResult] operation results.
|
1033
1122
|
#
|
1034
|
-
def
|
1035
|
-
response =
|
1123
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
1124
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1036
1125
|
response.body unless response.nil?
|
1037
1126
|
end
|
1038
1127
|
|
1039
1128
|
#
|
1040
|
-
# Lists the Data Lake Store accounts within
|
1041
|
-
# includes a link to the next page of results, if any.
|
1129
|
+
# Lists the Data Lake Store accounts within a specific resource group. The
|
1130
|
+
# response includes a link to the next page of results, if any.
|
1042
1131
|
#
|
1043
1132
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1044
1133
|
# to List operation.
|
@@ -1047,13 +1136,13 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
1047
1136
|
#
|
1048
1137
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1049
1138
|
#
|
1050
|
-
def
|
1051
|
-
|
1139
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
1140
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1052
1141
|
end
|
1053
1142
|
|
1054
1143
|
#
|
1055
|
-
# Lists the Data Lake Store accounts within
|
1056
|
-
# includes a link to the next page of results, if any.
|
1144
|
+
# Lists the Data Lake Store accounts within a specific resource group. The
|
1145
|
+
# response includes a link to the next page of results, if any.
|
1057
1146
|
#
|
1058
1147
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1059
1148
|
# to List operation.
|
@@ -1062,11 +1151,12 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
1062
1151
|
#
|
1063
1152
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1064
1153
|
#
|
1065
|
-
def
|
1154
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
1066
1155
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1067
1156
|
|
1068
1157
|
|
1069
1158
|
request_headers = {}
|
1159
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1070
1160
|
|
1071
1161
|
# Set Headers
|
1072
1162
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -1111,11 +1201,9 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
1111
1201
|
end
|
1112
1202
|
|
1113
1203
|
#
|
1114
|
-
# Lists the Data Lake Store accounts within
|
1115
|
-
#
|
1204
|
+
# Lists the Data Lake Store accounts within the subscription. The response
|
1205
|
+
# includes a link to the next page of results, if any.
|
1116
1206
|
#
|
1117
|
-
# @param resource_group_name [String] The name of the Azure resource group that
|
1118
|
-
# contains the Data Lake Store account(s).
|
1119
1207
|
# @param filter [String] OData filter. Optional.
|
1120
1208
|
# @param top [Integer] The number of items to return. Optional.
|
1121
1209
|
# @param skip [Integer] The number of items to skip over before returning
|
@@ -1127,8 +1215,8 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
1127
1215
|
# expressions with an optional "asc" (the default) or "desc" depending on the
|
1128
1216
|
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
1129
1217
|
# desc. Optional.
|
1130
|
-
# @param count [Boolean]
|
1131
|
-
# the matching resources included with the resources in the response, e.g.
|
1218
|
+
# @param count [Boolean] The Boolean value of true or false to request a count
|
1219
|
+
# of the matching resources included with the resources in the response, e.g.
|
1132
1220
|
# Categories?$count=true. Optional.
|
1133
1221
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1134
1222
|
# will be added to the HTTP request.
|
@@ -1136,21 +1224,22 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
1136
1224
|
# @return [DataLakeStoreAccountListResult] which provide lazy access to pages
|
1137
1225
|
# of the response.
|
1138
1226
|
#
|
1139
|
-
def
|
1140
|
-
response =
|
1227
|
+
def list_as_lazy(filter:nil, top:nil, skip:nil, select:nil, orderby:nil, count:nil, custom_headers:nil)
|
1228
|
+
response = list_async(filter:filter, top:top, skip:skip, select:select, orderby:orderby, count:count, custom_headers:custom_headers).value!
|
1141
1229
|
unless response.nil?
|
1142
1230
|
page = response.body
|
1143
1231
|
page.next_method = Proc.new do |next_page_link|
|
1144
|
-
|
1232
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
1145
1233
|
end
|
1146
1234
|
page
|
1147
1235
|
end
|
1148
1236
|
end
|
1149
1237
|
|
1150
1238
|
#
|
1151
|
-
# Lists the Data Lake Store accounts within
|
1152
|
-
# includes a link to the next page of results, if any.
|
1239
|
+
# Lists the Data Lake Store accounts within a specific resource group. The
|
1240
|
+
# response includes a link to the next page of results, if any.
|
1153
1241
|
#
|
1242
|
+
# @param resource_group_name [String] The name of the Azure resource group.
|
1154
1243
|
# @param filter [String] OData filter. Optional.
|
1155
1244
|
# @param top [Integer] The number of items to return. Optional.
|
1156
1245
|
# @param skip [Integer] The number of items to skip over before returning
|
@@ -1162,8 +1251,8 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
1162
1251
|
# expressions with an optional "asc" (the default) or "desc" depending on the
|
1163
1252
|
# order you'd like the values sorted, e.g. Categories?$orderby=CategoryName
|
1164
1253
|
# desc. Optional.
|
1165
|
-
# @param count [Boolean]
|
1166
|
-
#
|
1254
|
+
# @param count [Boolean] A Boolean value of true or false to request a count of
|
1255
|
+
# the matching resources included with the resources in the response, e.g.
|
1167
1256
|
# Categories?$count=true. Optional.
|
1168
1257
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1169
1258
|
# will be added to the HTTP request.
|
@@ -1171,12 +1260,12 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
|
|
1171
1260
|
# @return [DataLakeStoreAccountListResult] which provide lazy access to pages
|
1172
1261
|
# of the response.
|
1173
1262
|
#
|
1174
|
-
def
|
1175
|
-
response =
|
1263
|
+
def list_by_resource_group_as_lazy(resource_group_name, filter:nil, top:nil, skip:nil, select:nil, orderby:nil, count:nil, custom_headers:nil)
|
1264
|
+
response = list_by_resource_group_async(resource_group_name, filter:filter, top:top, skip:skip, select:select, orderby:orderby, count:count, custom_headers:custom_headers).value!
|
1176
1265
|
unless response.nil?
|
1177
1266
|
page = response.body
|
1178
1267
|
page.next_method = Proc.new do |next_page_link|
|
1179
|
-
|
1268
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
1180
1269
|
end
|
1181
1270
|
page
|
1182
1271
|
end
|