Azure Data Explorer Database Principal

This page shows how to write Terraform and Azure Resource Manager for Data Explorer Database Principal and write them securely.

azurerm_kusto_database_principal (Terraform)

The Database Principal in Data Explorer can be configured in Terraform with the resource name azurerm_kusto_database_principal. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L7
resource "azurerm_kusto_database_principal" "this" {
  client_id           = var.client_id
  cluster_name        = var.cluster_name
  database_name       = var.database_name
  object_id           = var.object_id
  resource_group_name = var.resource_group_name

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) Database Principal

NOTE: This resource is being deprecated due to API updates and should no longer be used. Please use azurerm_kusto_database_principal_assignment instead.

Microsoft.Kusto/Clusters/Databases/Role/FQN/some-guid (Azure Resource Manager)

The Clusters/Databases/Role/FQN/some-guid in Microsoft.Kusto can be configured in Azure Resource Manager with the resource name Microsoft.Kusto/Clusters/Databases/Role/FQN/some-guid. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Frequently asked questions

What is Azure Data Explorer Database Principal?

Azure Data Explorer Database Principal 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 Database Principal?

For Terraform, the kevinhead/azurerm source code example is useful. See the Terraform Example section for further details.