DatabasePrincipalAssignment Class
Class representing a database principal assignment.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.kusto.models._models_py3.ProxyResourceDatabasePrincipalAssignment
Constructor
DatabasePrincipalAssignment(*, principal_id: Optional[str] = None, role: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.DatabasePrincipalRole]] = None, tenant_id: Optional[str] = None, principal_type: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.PrincipalType]] = None, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- str
The name of the resource.
- type
- str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- principal_id
- str
The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.
- role
- str or <xref:kusto_management_client.models.DatabasePrincipalRole>
Database principal role. Possible values include: "Admin", "Ingestor", "Monitor", "User", "UnrestrictedViewer", "Viewer".
- tenant_id
- str
The tenant id of the principal.
- principal_type
- str or <xref:kusto_management_client.models.PrincipalType>
Principal type. Possible values include: "App", "Group", "User".
- tenant_name
- str
The tenant name of the principal.
- principal_name
- str
The principal name.
- provisioning_state
- str or <xref:kusto_management_client.models.ProvisioningState>
The provisioned state of the resource. Possible values include: "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving".
- aad_object_id
- str
The service principal object id in AAD (Azure active directory).
Feedback
Submit and view feedback for