ArmSynapseModelFactory.SynapseDatabasePrincipalAssignmentData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
Database principal role.
- 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.
Returns
A new SynapseDatabasePrincipalAssignmentData instance for mocking.
Applies to
Azure SDK for .NET