Microsoft.Kusto clusters/databases/principalAssignments template reference
Template format
To create a Microsoft.Kusto/clusters/databases/principalAssignments resource, add the following JSON to the resources section of your template.
{
"name": "string",
"type": "Microsoft.Kusto/clusters/databases/principalAssignments",
"apiVersion": "2020-06-14",
"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/databases/principalAssignments object
Name | Type | Required | Value |
---|---|---|---|
name | string | Yes | The name of the Kusto principalAssignment. |
type | enum | Yes | principalAssignments -or- Microsoft.Kusto/clusters/databases/principalAssignments See Set name and type for child resources. |
apiVersion | enum | Yes | 2020-06-14 |
properties | object | Yes | The database principal. - DatabasePrincipalProperties object |
DatabasePrincipalProperties object
Name | Type | Required | Value |
---|---|---|---|
principalId | string | Yes | The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. |
role | enum | Yes | Database principal role. - Admin, Ingestor, Monitor, User, UnrestrictedViewers, Viewer |
tenantId | string | No | The tenant id of the principal |
principalType | enum | Yes | Principal type. - App, Group, User |