Azure Data Lake Analytics Account
This page shows how to write Terraform and Azure Resource Manager for Data Lake Analytics Account and write them securely.
azurerm_data_lake_analytics_account (Terraform)
The Analytics Account in Data Lake can be configured in Terraform with the resource name azurerm_data_lake_analytics_account. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_data_lake_analytics_account" "this" {
default_store_account_name = var.default_store_account_name
location = var.location
name = var.name
resource_group_name = var.resource_group_name
tags = var.tags
resource "azurerm_data_lake_analytics_account" "this" {
default_store_account_name = var.default_store_account_name
location = var.location
name = var.name
resource_group_name = var.resource_group_name
tags = var.tags
Parameters
-
default_store_account_namerequired - string -
idoptional computed - string -
locationrequired - string -
namerequired - string -
resource_group_namerequired - string -
tagsoptional - map from string to string -
tieroptional - string -
timeoutssingle block
Explanation in Terraform Registry
Manages an Azure Data Lake Analytics Account.
Tips: Best Practices for The Other Azure Data Lake Resources
In addition to the azurerm_data_lake_store, Azure Data Lake has the other resources that should be configured for security reasons. Please check some examples of those resources and precautions.
azurerm_data_lake_store
Ensure to enable the encryption of data lake storage
It is better to enable the encryption of Data Lake storage.
Microsoft.DataLakeAnalytics/accounts (Azure Resource Manager)
The accounts in Microsoft.DataLakeAnalytics can be configured in Azure Resource Manager with the resource name Microsoft.DataLakeAnalytics/accounts. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersionrequired - stringlocationrequired - stringThe resource location.
namerequired - stringThe name of the Data Lake Analytics account.
propertiesrequiredcomputePoliciesoptional arraynamerequired - stringThe unique name of the compute policy to create.
propertiesrequiredmaxDegreeOfParallelismPerJoboptional - integerThe maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.
minPriorityPerJoboptional - integerThe minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.
objectIdrequired - stringThe AAD object identifier for the entity to create a policy for.
objectTyperequired - stringThe type of AAD object the object identifier refers to.
dataLakeStoreAccountsrequired arraynamerequired - stringThe unique name of the Data Lake Store account to add.
propertiesoptionalsuffixoptional - stringThe optional suffix for the Data Lake Store account.
defaultDataLakeStoreAccountrequired - stringThe default Data Lake Store account associated with this account.
firewallAllowAzureIpsoptional - stringThe current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
firewallRulesoptional arraynamerequired - stringThe unique name of the firewall rule to create.
propertiesrequiredendIpAddressrequired - stringThe end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
startIpAddressrequired - stringThe start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
firewallStateoptional - stringThe current state of the IP address firewall for this account.
maxDegreeOfParallelismoptional - integerThe maximum supported degree of parallelism for this account.
maxDegreeOfParallelismPerJoboptional - integerThe maximum supported degree of parallelism per job for this account.
maxJobCountoptional - integerThe maximum supported jobs running under the account at the same time.
minPriorityPerJoboptional - integerThe minimum supported priority per job for this account.
newTieroptional - stringThe commitment tier for the next month.
queryStoreRetentionoptional - integerThe number of days that job metadata is retained.
storageAccountsoptional arraynamerequired - stringThe unique name of the Azure Storage account to add.
propertiesrequiredaccessKeyrequired - stringThe access key associated with this Azure Storage account that will be used to connect to it.
suffixoptional - stringThe optional suffix for the storage account.
tagsoptional - stringThe resource tags.
typerequired - string
Frequently asked questions
What is Azure Data Lake Analytics Account?
Azure Data Lake Analytics Account is a resource for Data Lake of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Data Lake Analytics Account?
For Terraform, the kevinhead/azurerm and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.