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

main.tf#L1
resource "azurerm_kusto_cluster" "cluster_ok" {
  name                = "kustocluster"
  location            = azurerm_resource_group.rg.location
  resource_group_name = azurerm_resource_group.rg.name

  sku {
main.tf#L1
resource "azurerm_kusto_cluster" "cluster" {
  name                = var.cluster_name
  location            = var.resource_group_location
  resource_group_name = var.resource_group_name

  sku {
main.tf#L1
resource "azurerm_kusto_cluster" "cluster_ok" {
  name                = "kustocluster"
  location            = azurerm_resource_group.rg.location
  resource_group_name = azurerm_resource_group.rg.name

  sku {
main.tf#L2
resource "azurerm_kusto_cluster" "cluster" {
  name                = var.kusto_cluster_name
  location            = var.resource_group_location
  resource_group_name = var.resource_group_name

  sku {
azurerm-kusto.tf#L1
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 {
main.tf#L1
resource "azurerm_kusto_cluster" "kusto" {
  name                = var.kusto_name
  location            = var.location
  resource_group_name = var.resource_group_name

  sku {
main.tf#L7
resource "azurerm_kusto_cluster" "this" {
  location            = var.location
  name                = var.name
  resource_group_name = var.resource_group_name
  tags                = var.tags

main.tf#L1
resource "azurerm_kusto_cluster" "cluster_ok" {
  name                = "kustocluster"
  location            = azurerm_resource_group.rg.location
  resource_group_name = azurerm_resource_group.rg.name

  sku {
main.tf#L7
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
adx.tf#L1
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 {

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

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

azuredeploy.json
{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
      "clusters_kustocluster_name": {
azuredeploy.json
{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
      "clusters_kustocluster_name": {
asaga-workspace-lab-02.json#L11
            "type": "Microsoft.Kusto/Clusters",
            "apiVersion": "2020-06-14",
            "name": "[variables('clusterName')]",
            "location": "[variables('location')]",
            "sku": {
                "name": "Dev(No SLA)_Standard_E2a_v4",
asaga-workspace-lab-02.json#L11
            "type": "Microsoft.Kusto/Clusters",
            "apiVersion": "2020-06-14",
            "name": "[variables('clusterName')]",
            "location": "[variables('location')]",
            "sku": {
                "name": "Dev(No SLA)_Standard_E2a_v4",
azuredeploy.json
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
      "clusters_kustocluster_name": {
azuredeploy.json
{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
      "clusters_kustocluster_name": {
azuredeploy.json
{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
      "clusters_kustocluster_name": {
azuredeploy.json
{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
      "clusters_kustocluster_name": {
azuredeploy.json
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
      "clusters_kustocluster_name": {
azuredeploy.json
{
  "$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.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.