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_name
required - string -
id
optional computed - string -
location
required - string -
name
required - string -
resource_group_name
required - string -
tags
optional - map from string to string -
tier
optional - string -
timeouts
single 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
apiVersion
required - stringlocation
required - stringThe resource location.
name
required - stringThe name of the Data Lake Analytics account.
properties
requiredcomputePolicies
optional arrayname
required - stringThe unique name of the compute policy to create.
properties
requiredmaxDegreeOfParallelismPerJob
optional - 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.
minPriorityPerJob
optional - 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.
objectId
required - stringThe AAD object identifier for the entity to create a policy for.
objectType
required - stringThe type of AAD object the object identifier refers to.
dataLakeStoreAccounts
required arrayname
required - stringThe unique name of the Data Lake Store account to add.
properties
optionalsuffix
optional - stringThe optional suffix for the Data Lake Store account.
defaultDataLakeStoreAccount
required - stringThe default Data Lake Store account associated with this account.
firewallAllowAzureIps
optional - stringThe current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
firewallRules
optional arrayname
required - stringThe unique name of the firewall rule to create.
properties
requiredendIpAddress
required - stringThe end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
startIpAddress
required - stringThe start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
firewallState
optional - stringThe current state of the IP address firewall for this account.
maxDegreeOfParallelism
optional - integerThe maximum supported degree of parallelism for this account.
maxDegreeOfParallelismPerJob
optional - integerThe maximum supported degree of parallelism per job for this account.
maxJobCount
optional - integerThe maximum supported jobs running under the account at the same time.
minPriorityPerJob
optional - integerThe minimum supported priority per job for this account.
newTier
optional - stringThe commitment tier for the next month.
queryStoreRetention
optional - integerThe number of days that job metadata is retained.
storageAccounts
optional arrayname
required - stringThe unique name of the Azure Storage account to add.
properties
requiredaccessKey
required - stringThe access key associated with this Azure Storage account that will be used to connect to it.
suffix
optional - stringThe optional suffix for the storage account.
tags
optional - stringThe resource tags.
type
required - 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.