Azure Data Explorer Cluster Principal Assignment
This page shows how to write Terraform and Azure Resource Manager for Data Explorer Cluster Principal Assignment and write them securely.
azurerm_kusto_cluster_principal_assignment (Terraform)
The Cluster Principal Assignment in Data Explorer can be configured in Terraform with the resource name azurerm_kusto_cluster_principal_assignment
. 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
-
cluster_name
required - string -
id
optional computed - string -
name
required - string -
principal_id
required - string -
principal_name
optional computed - string -
principal_type
required - string -
resource_group_name
required - string -
role
required - string -
tenant_id
required - string -
tenant_name
optional computed - string -
timeouts
single block
Explanation in Terraform Registry
Manages a Kusto Cluster Principal Assignment.
Microsoft.Kusto/Clusters/PrincipalAssignments (Azure Resource Manager)
The Clusters/PrincipalAssignments in Microsoft.Kusto can be configured in Azure Resource Manager with the resource name Microsoft.Kusto/Clusters/PrincipalAssignments
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
template.json#L61
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"apiVersion": "2021-08-27",
"name": "[concat(parameters('Clusters_machinescluster_name'), '/c4a99fdf-b911-4665-93f4-0cadcb2bea31')]",
"dependsOn": [
"[resourceId('Microsoft.Kusto/Clusters', parameters('Clusters_machinescluster_name'))]"
],
KustoClusterPrincipalAssignmentsCreateOrUpdate.json#L22
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsCreateOrUpdate.json#L22
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsCreateOrUpdate.json#L22
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsCreateOrUpdate.json#L22
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsCreateOrUpdate.json#L22
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsCreateOrUpdate.json#L22
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsCreateOrUpdate.json#L22
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsCreateOrUpdate.json#L22
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsCreateOrUpdate.json#L22
"type": "Microsoft.Kusto/Clusters/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",