共用方式為


DatabasePrincipalAssignment Constructors

Definition

Overloads

DatabasePrincipalAssignment()

Initializes a new instance of the DatabasePrincipalAssignment class.

DatabasePrincipalAssignment(String, String, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the DatabasePrincipalAssignment class.

DatabasePrincipalAssignment()

Initializes a new instance of the DatabasePrincipalAssignment class.

public DatabasePrincipalAssignment ();
Public Sub New ()

Applies to

DatabasePrincipalAssignment(String, String, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the DatabasePrincipalAssignment class.

public DatabasePrincipalAssignment (string principalId, string role, string principalType, string id = default, string name = default, string type = default, string tenantId = default, string tenantName = default, string principalName = default, string provisioningState = default, string aadObjectId = default);
new Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalAssignment : string * string * string * string * string * string * string * string * string * string * string -> Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalAssignment
Public Sub New (principalId As String, role As String, principalType As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tenantId As String = Nothing, Optional tenantName As String = Nothing, Optional principalName As String = Nothing, Optional provisioningState As String = Nothing, Optional aadObjectId As String = Nothing)

Parameters

principalId
String

The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.

role
String

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

principalType
String

Principal type. Possible values include: 'App', 'Group', 'User'

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

tenantId
String

The tenant id of the principal

tenantName
String

The tenant name of the principal

principalName
String

The principal name

provisioningState
String

The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'

aadObjectId
String

The service principal object id in AAD (Azure active directory)

Applies to