Skip to main content

data_lake_store_accounts

Creates, updates, deletes, gets or lists a data_lake_store_accounts resource.

Overview

Namedata_lake_store_accounts
TypeResource
Idazure.datalake_analytics.data_lake_store_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name.
suffixstringThe optional suffix for the Data Lake Store account.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, account_name, data_lake_store_account_name, subscription_idGets the specified Data Lake Store account details in the specified Data Lake Analytics account.
list_by_accountselectresource_group_name, account_name, subscription_id$filter, $top, $skip, $select, $orderby, $countGets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.
deletedeleteresource_group_name, account_name, data_lake_store_account_name, subscription_idUpdates the Data Lake Analytics account specified to remove the specified Data Lake Store account.
addexecresource_group_name, account_name, data_lake_store_account_name, subscription_idUpdates the specified Data Lake Analytics account to include the additional Data Lake Store account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_namestringThe name of the Data Lake Analytics account. Required.
data_lake_store_account_namestringThe name of the Data Lake Store account to add. Required.
resource_group_namestringThe name of the Azure resource group. Required.
subscription_idstring
$countbooleanThe Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. Default value is None.
$filterstringOData filter. Optional. Default value is None.
$orderbystringOrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. Default value is None.
$selectstringOData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. Default value is None.
$skipintegerThe number of items to skip over before returning elements. Optional. Default value is None.
$topintegerThe number of items to return. Optional. Default value is None.

SELECT examples

Gets the specified Data Lake Store account details in the specified Data Lake Analytics account.

SELECT
id,
name,
suffix,
type
FROM azure.datalake_analytics.data_lake_store_accounts
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND data_lake_store_account_name = '{{ data_lake_store_account_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

DELETE examples

Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account.

DELETE FROM azure.datalake_analytics.data_lake_store_accounts
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND data_lake_store_account_name = '{{ data_lake_store_account_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Updates the specified Data Lake Analytics account to include the additional Data Lake Store account.

EXEC azure.datalake_analytics.data_lake_store_accounts.add 
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@data_lake_store_account_name='{{ data_lake_store_account_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;