Azure Data Explorer Cluster
This page shows how to write Terraform and Azure Resource Manager for Data Explorer Cluster and write them securely.
azurerm_kusto_cluster (Terraform)
The Cluster in Data Explorer can be configured in Terraform with the resource name azurerm_kusto_cluster. The following sections describe 10 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_kusto_cluster" "cluster_ok" {
name = "kustocluster"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
sku {
resource "azurerm_kusto_cluster" "cluster" {
name = var.cluster_name
location = var.resource_group_location
resource_group_name = var.resource_group_name
sku {
resource "azurerm_kusto_cluster" "cluster_ok" {
name = "kustocluster"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
sku {
resource "azurerm_kusto_cluster" "cluster" {
name = var.kusto_cluster_name
location = var.resource_group_location
resource_group_name = var.resource_group_name
sku {
resource "azurerm_kusto_cluster" "cluster" {
location = data.azurerm_resource_group.rg.location
name = var.cluster_name
resource_group_name = data.azurerm_resource_group.rg.name
sku {
resource "azurerm_kusto_cluster" "kusto" {
name = var.kusto_name
location = var.location
resource_group_name = var.resource_group_name
sku {
resource "azurerm_kusto_cluster" "this" {
location = var.location
name = var.name
resource_group_name = var.resource_group_name
tags = var.tags
resource "azurerm_kusto_cluster" "cluster_ok" {
name = "kustocluster"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
sku {
resource "azurerm_kusto_cluster" "this" {
enable_disk_encryption = var.enable_disk_encryption
enable_streaming_ingest = var.enable_streaming_ingest
location = var.location
name = var.name
resource_group_name = var.resource_group_name
resource "azurerm_kusto_cluster" "adxtest" {
name = var.resource_base_name
location = azurerm_resource_group.adxtest.location
resource_group_name = azurerm_resource_group.adxtest.name
sku {
Parameters
-
data_ingestion_urioptional computed - string -
double_encryption_enabledoptional - bool -
enable_disk_encryptionoptional - bool -
enable_purgeoptional - bool -
enable_streaming_ingestoptional - bool -
engineoptional - string -
idoptional computed - string -
language_extensionsoptional - list of string -
locationrequired - string -
namerequired - string -
resource_group_namerequired - string -
tagsoptional - map from string to string -
trusted_external_tenantsoptional computed - list of string -
urioptional computed - string -
zonesoptional - list of string -
identitylist block-
identity_idsoptional - set of string -
principal_idoptional computed - string -
tenant_idoptional computed - string -
typerequired - string
-
-
optimized_auto_scalelist block-
maximum_instancesrequired - number -
minimum_instancesrequired - number
-
-
skulist block -
timeoutssingle block -
virtual_network_configurationlist block-
data_management_public_ip_idrequired - string -
engine_public_ip_idrequired - string -
subnet_idrequired - string
-
Explanation in Terraform Registry
Manages a Kusto (also known as Azure Data Explorer) Cluster
Microsoft.Kusto/Clusters (Azure Resource Manager)
The Clusters in Microsoft.Kusto can be configured in Azure Resource Manager with the resource name Microsoft.Kusto/Clusters. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusters_kustocluster_name": {
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusters_kustocluster_name": {
"type": "Microsoft.Kusto/Clusters",
"apiVersion": "2020-06-14",
"name": "[variables('clusterName')]",
"location": "[variables('location')]",
"sku": {
"name": "Dev(No SLA)_Standard_E2a_v4",
"type": "Microsoft.Kusto/Clusters",
"apiVersion": "2020-06-14",
"name": "[variables('clusterName')]",
"location": "[variables('location')]",
"sku": {
"name": "Dev(No SLA)_Standard_E2a_v4",
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusters_kustocluster_name": {
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusters_kustocluster_name": {
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusters_kustocluster_name": {
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusters_kustocluster_name": {
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusters_kustocluster_name": {
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusters_kustocluster_name": {
Frequently asked questions
What is Azure Data Explorer Cluster?
Azure Data Explorer Cluster is a resource for Data Explorer of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Data Explorer Cluster?
For Terraform, the SnidermanIndustries/checkov-fork, prashant101386/devops and melscoop-test/check source code examples are useful. See the Terraform Example section for further details.
For Azure Resource Manager, the CSA-DanielVillamizar/Azure, WebWeaver503/azqs-templates and MaheshGupta09/microsoft-data-engineering-ilt-deploy source code examples are useful. See the Azure Resource Manager Example section for further details.