ArmSynapseModelFactory.SynapseDatabasePrincipalAssignmentData Method

Definition

Initializes a new instance of SynapseDatabasePrincipalAssignmentData.

public static Azure.ResourceManager.Synapse.SynapseDatabasePrincipalAssignmentData SynapseDatabasePrincipalAssignmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string principalId = default, Azure.ResourceManager.Synapse.Models.SynapseDatabasePrincipalRole? role = default, Guid? tenantId = default, Azure.ResourceManager.Synapse.Models.SynapsePrincipalType? principalType = default, string tenantName = default, string principalName = default, Azure.ResourceManager.Synapse.Models.ResourceProvisioningState? provisioningState = default, Guid? aadObjectId = default);
static member SynapseDatabasePrincipalAssignmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Synapse.Models.SynapseDatabasePrincipalRole> * Nullable<Guid> * Nullable<Azure.ResourceManager.Synapse.Models.SynapsePrincipalType> * string * string * Nullable<Azure.ResourceManager.Synapse.Models.ResourceProvisioningState> * Nullable<Guid> -> Azure.ResourceManager.Synapse.SynapseDatabasePrincipalAssignmentData
Public Shared Function SynapseDatabasePrincipalAssignmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional principalId As String = Nothing, Optional role As Nullable(Of SynapseDatabasePrincipalRole) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional principalType As Nullable(Of SynapsePrincipalType) = Nothing, Optional tenantName As String = Nothing, Optional principalName As String = Nothing, Optional provisioningState As Nullable(Of ResourceProvisioningState) = Nothing, Optional aadObjectId As Nullable(Of Guid) = Nothing) As SynapseDatabasePrincipalAssignmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

principalId
String

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

role
Nullable<SynapseDatabasePrincipalRole>

Database principal role.

tenantId
Nullable<Guid>

The tenant id of the principal.

principalType
Nullable<SynapsePrincipalType>

Principal type.

tenantName
String

The tenant name of the principal.

principalName
String

The principal name.

provisioningState
Nullable<ResourceProvisioningState>

The provisioned state of the resource.

aadObjectId
Nullable<Guid>

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

Returns

A new SynapseDatabasePrincipalAssignmentData instance for mocking.

Applies to