Share via


ArmSynapseModelFactory.SynapseClusterPrincipalAssignmentData Method

Definition

Initializes a new instance of SynapseClusterPrincipalAssignmentData.

public static Azure.ResourceManager.Synapse.SynapseClusterPrincipalAssignmentData SynapseClusterPrincipalAssignmentData (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.SynapseClusterPrincipalRole? 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 SynapseClusterPrincipalAssignmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Synapse.Models.SynapseClusterPrincipalRole> * Nullable<Guid> * Nullable<Azure.ResourceManager.Synapse.Models.SynapsePrincipalType> * string * string * Nullable<Azure.ResourceManager.Synapse.Models.ResourceProvisioningState> * Nullable<Guid> -> Azure.ResourceManager.Synapse.SynapseClusterPrincipalAssignmentData
Public Shared Function SynapseClusterPrincipalAssignmentData (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 SynapseClusterPrincipalRole) = 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 SynapseClusterPrincipalAssignmentData

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 cluster principal. It can be a user email, application ID, or security group name.

role
Nullable<SynapseClusterPrincipalRole>

Cluster 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 SynapseClusterPrincipalAssignmentData instance for mocking.

Applies to