The workspaces/kustoPools/databases/principalAssignments resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Synapse/workspaces/kustoPools/databases/principalAssignments resource, add the following JSON to your template.
{
"type": "Microsoft.Synapse/workspaces/kustoPools/databases/principalAssignments",
"apiVersion": "2021-06-01-preview",
"name": "string",
"properties": {
"principalId": "string",
"principalType": "string",
"role": "string",
"tenantId": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Synapse/workspaces/kustoPools/databases/principalAssignments' |
apiVersion | The resource api version | '2021-06-01-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | The database principal. | DatabasePrincipalProperties |
Name | Description | Value |
---|---|---|
principalId | The principal ID assigned to the database principal. It can be a user email, application ID, or security group name. | string (required) |
principalType | Principal type. | 'App' 'Group' 'User' (required) |
role | Database principal role. | 'Admin' 'Ingestor' 'Monitor' 'UnrestrictedViewer' 'User' 'Viewer' (required) |
tenantId | The tenant id of the principal | string |