Skip to main content

accounts

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

Overview

Nameaccounts
TypeResource
Idazure.data_lake_analytics.accounts

Fields

NameDatatypeDescription
idtextThe resource identifier.
nametextThe resource name.
accountNametextfield from the properties object
account_idtextfield from the properties object
compute_policiestextfield from the properties object
creation_timetextfield from the properties object
current_tiertextfield from the properties object
data_lake_store_accountstextfield from the properties object
debug_data_access_leveltextfield from the properties object
default_data_lake_store_accounttextfield from the properties object
default_data_lake_store_account_typetextfield from the properties object
endpointtextfield from the properties object
firewall_allow_azure_ipstextfield from the properties object
firewall_rulestextfield from the properties object
firewall_statetextfield from the properties object
hive_metastorestextfield from the properties object
last_modified_timetextfield from the properties object
locationtextThe resource location.
max_active_job_count_per_usertextfield from the properties object
max_degree_of_parallelismtextfield from the properties object
max_degree_of_parallelism_per_jobtextfield from the properties object
max_job_counttextfield from the properties object
max_job_running_time_in_mintextfield from the properties object
max_queued_job_count_per_usertextfield from the properties object
min_priority_per_jobtextfield from the properties object
new_tiertextfield from the properties object
provisioning_statetextfield from the properties object
public_data_lake_store_accountstextfield from the properties object
query_store_retentiontextfield from the properties object
resourceGroupNametextfield from the properties object
statetextfield from the properties object
storage_accountstextfield from the properties object
subscriptionIdtextfield from the properties object
system_max_degree_of_parallelismtextfield from the properties object
system_max_job_counttextfield from the properties object
tagstextThe resource tags.
typetextThe resource type.
virtual_network_rulestextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, resourceGroupName, subscriptionIdGets details of the specified Data Lake Analytics account.
listSELECTsubscriptionIdGets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any.
createINSERTaccountName, resourceGroupName, subscriptionId, data__location, data__propertiesCreates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads.
deleteDELETEaccountName, resourceGroupName, subscriptionIdBegins the delete process for the Data Lake Analytics account object specified by the account name.
updateUPDATEaccountName, resourceGroupName, subscriptionIdUpdates the Data Lake Analytics account object specified by the accountName with the contents of the account object.
check_name_availabilityEXEClocation, subscriptionId, data__name, data__typeChecks whether the specified account name is available or taken.

SELECT examples

Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.

SELECT
id,
name,
accountName,
account_id,
compute_policies,
creation_time,
current_tier,
data_lake_store_accounts,
debug_data_access_level,
default_data_lake_store_account,
default_data_lake_store_account_type,
endpoint,
firewall_allow_azure_ips,
firewall_rules,
firewall_state,
hive_metastores,
last_modified_time,
location,
max_active_job_count_per_user,
max_degree_of_parallelism,
max_degree_of_parallelism_per_job,
max_job_count,
max_job_running_time_in_min,
max_queued_job_count_per_user,
min_priority_per_job,
new_tier,
provisioning_state,
public_data_lake_store_accounts,
query_store_retention,
resourceGroupName,
state,
storage_accounts,
subscriptionId,
system_max_degree_of_parallelism,
system_max_job_count,
tags,
type,
virtual_network_rules
FROM azure.data_lake_analytics.vw_accounts
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new accounts resource.

/*+ create */
INSERT INTO azure.data_lake_analytics.accounts (
accountName,
resourceGroupName,
subscriptionId,
data__location,
data__properties,
location,
tags,
properties
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ data__properties }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}'
;

UPDATE example

Updates a accounts resource.

/*+ update */
UPDATE azure.data_lake_analytics.accounts
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified accounts resource.

/*+ delete */
DELETE FROM azure.data_lake_analytics.accounts
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';