Megosztás a következőn keresztül:


ArmKustoModelFactory.KustoDatabasePrincipalAssignmentData Method

Definition

Initializes a new instance of KustoDatabasePrincipalAssignmentData.

public static Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentData KustoDatabasePrincipalAssignmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string databasePrincipalId = default, Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipalRole? role = default, Guid? tenantId = default, Azure.ResourceManager.Kusto.Models.KustoPrincipalAssignmentType? principalType = default, string tenantName = default, string principalName = default, Azure.ResourceManager.Kusto.Models.KustoProvisioningState? provisioningState = default, Guid? aadObjectId = default);
static member KustoDatabasePrincipalAssignmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipalRole> * Nullable<Guid> * Nullable<Azure.ResourceManager.Kusto.Models.KustoPrincipalAssignmentType> * string * string * Nullable<Azure.ResourceManager.Kusto.Models.KustoProvisioningState> * Nullable<Guid> -> Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentData
Public Shared Function KustoDatabasePrincipalAssignmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional databasePrincipalId As String = Nothing, Optional role As Nullable(Of KustoDatabasePrincipalRole) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional principalType As Nullable(Of KustoPrincipalAssignmentType) = Nothing, Optional tenantName As String = Nothing, Optional principalName As String = Nothing, Optional provisioningState As Nullable(Of KustoProvisioningState) = Nothing, Optional aadObjectId As Nullable(Of Guid) = Nothing) As KustoDatabasePrincipalAssignmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

databasePrincipalId
String

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

role
Nullable<KustoDatabasePrincipalRole>

Database principal role.

tenantId
Nullable<Guid>

The tenant id of the principal.

principalType
Nullable<KustoPrincipalAssignmentType>

Principal type.

tenantName
String

The tenant name of the principal.

principalName
String

The principal name.

provisioningState
Nullable<KustoProvisioningState>

The provisioned state of the resource.

aadObjectId
Nullable<Guid>

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

Returns

A new KustoDatabasePrincipalAssignmentData instance for mocking.

Applies to