databases_principals
Creates, updates, deletes, gets or lists a databases_principals
resource.
Overview
Name | databases_principals |
Type | Resource |
Id | azure.data_explorer.databases_principals |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Database principal name. |
appId | string | Application id - relevant only for application principal type. |
email | string | Database principal email if exists. |
fqn | string | Database principal fully qualified name. |
role | string | Database principal role. |
tenantName | string | The tenant name of the principal |
type | string | Database principal type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | clusterName, databaseName, resourceGroupName, subscriptionId | Returns a list of database principals of the given Kusto cluster and database. |
SELECT
examples
Returns a list of database principals of the given Kusto cluster and database.
SELECT
name,
appId,
email,
fqn,
role,
tenantName,
type
FROM azure.data_explorer.databases_principals
WHERE clusterName = '{{ clusterName }}'
AND databaseName = '{{ databaseName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';