Microsoft.Kusto clusters/principalAssignments template reference
Template format
To create a Microsoft.Kusto/clusters/principalAssignments resource, add the following JSON to the resources section of your template.
{
"name": "string",
"type": "Microsoft.Kusto/clusters/principalAssignments",
"apiVersion": "2019-11-09",
"properties": {
"principalId": "string",
"role": "string",
"tenantId": "string",
"principalType": "string"
}
}
Property values
The following tables describe the values you need to set in the schema.
Microsoft.Kusto/clusters/principalAssignments object
Name | Type | Required | Value |
---|---|---|---|
name | string | Yes | The name of the Kusto principalAssignment. |
type | enum | Yes | principalAssignments -or- Microsoft.Kusto/clusters/principalAssignments See Set name and type for child resources. |
apiVersion | enum | Yes | 2019-11-09 |
properties | object | Yes | The cluster principal. - ClusterPrincipalProperties object |
ClusterPrincipalProperties object
Name | Type | Required | Value |
---|---|---|---|
principalId | string | Yes | The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name. |
role | enum | Yes | Cluster principal role. - AllDatabasesAdmin or AllDatabasesViewer |
tenantId | string | No | The tenant id of the principal |
principalType | enum | Yes | Principal type. - App, Group, User |