DatabasePrincipal Class

A class representing database principal entity.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
DatabasePrincipal

Constructor

DatabasePrincipal(*, role: Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.DatabasePrincipalRole], name: str, type: Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.DatabasePrincipalType], fqn: Optional[str] = None, email: Optional[str] = None, app_id: Optional[str] = None, **kwargs)

Variables

role
str or <xref:kusto_management_client.models.DatabasePrincipalRole>

Required. Database principal role. Possible values include: "Admin", "Ingestor", "Monitor", "User", "UnrestrictedViewer", "Viewer".

name
str

Required. Database principal name.

type
str or <xref:kusto_management_client.models.DatabasePrincipalType>

Required. Database principal type. Possible values include: "App", "Group", "User".

fqn
str

Database principal fully qualified name.

email
str

Database principal email if exists.

app_id
str

Application id - relevant only for application principal type.

tenant_name
str

The tenant name of the principal.