Skip to main content

accounts

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

Overview

Nameaccounts
TypeResource
Idazure.data_lake_store.accounts

Fields

NameDatatypeDescription
idtextThe resource identifier.
nametextThe resource name.
accountNametextfield from the properties object
account_idtextfield from the properties object
creation_timetextfield from the properties object
current_tiertextfield from the properties object
default_grouptextfield from the properties object
encryption_configtextfield from the properties object
encryption_provisioning_statetextfield from the properties object
encryption_statetextfield 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
identityobjectThe encryption identity properties.
last_modified_timetextfield from the properties object
locationtextThe resource location.
new_tiertextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextThe resource tags.
trusted_id_provider_statetextfield from the properties object
trusted_id_providerstextfield from the properties object
typetextThe resource type.
virtual_network_rulestextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, resourceGroupName, subscriptionIdGets the specified Data Lake Store account.
listSELECTsubscriptionIdLists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any.
createINSERTaccountName, resourceGroupName, subscriptionId, data__locationCreates the specified Data Lake Store account.
deleteDELETEaccountName, resourceGroupName, subscriptionIdDeletes the specified Data Lake Store account.
updateUPDATEaccountName, resourceGroupName, subscriptionIdUpdates the specified Data Lake Store account information.
check_name_availabilityEXEClocation, subscriptionId, data__name, data__typeChecks whether the specified account name is available or taken.
enable_key_vaultEXECaccountName, resourceGroupName, subscriptionIdAttempts to enable a user managed Key Vault for encryption of the specified Data Lake Store account.

SELECT examples

Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any.

SELECT
id,
name,
accountName,
account_id,
creation_time,
current_tier,
default_group,
encryption_config,
encryption_provisioning_state,
encryption_state,
endpoint,
firewall_allow_azure_ips,
firewall_rules,
firewall_state,
identity,
last_modified_time,
location,
new_tier,
provisioning_state,
resourceGroupName,
state,
subscriptionId,
tags,
trusted_id_provider_state,
trusted_id_providers,
type,
virtual_network_rules
FROM azure.data_lake_store.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_store.accounts (
accountName,
resourceGroupName,
subscriptionId,
data__location,
location,
tags,
identity,
properties
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ location }}',
'{{ tags }}',
'{{ identity }}',
'{{ properties }}'
;

UPDATE example

Updates a accounts resource.

/*+ update */
UPDATE azure.data_lake_store.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_store.accounts
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';