Azure Data Explorer Database Principal Assignment
This page shows how to write Terraform and Azure Resource Manager for Data Explorer Database Principal Assignment and write them securely.
azurerm_kusto_database_principal_assignment (Terraform)
The Database Principal Assignment in Data Explorer can be configured in Terraform with the resource name azurerm_kusto_database_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 -
database_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 (also known as Azure Data Explorer) Database Principal Assignment.
Microsoft.Kusto/Clusters/Databases/PrincipalAssignments (Azure Resource Manager)
The Clusters/Databases/PrincipalAssignments in Microsoft.Kusto can be configured in Azure Resource Manager with the resource name Microsoft.Kusto/Clusters/Databases/PrincipalAssignments
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
KustoClusterPrincipalAssignmentsList.json#L16
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoDatabasePrincipalAssignmentsList.json#L16
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoDatabasePrincipalAssignmentsList.json#L16
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsList.json#L16
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoDatabasePrincipalAssignmentsCreateOrUpdate.json#L23
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoDatabasePrincipalAssignmentsCreateOrUpdate.json#L23
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsList.json#L16
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoDatabasePrincipalAssignmentsList.json#L16
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoDatabasePrincipalAssignmentsList.json#L16
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",
KustoClusterPrincipalAssignmentsList.json#L16
"type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
"properties": {
"role": "Admin",
"principalId": "87654321-1234-1234-1234-123456789123",
"principalType": "App",
"tenantId": "12345678-1234-1234-1234-123456789123",