다음을 통해 공유


ArmSqlModelFactory.SqlServicePrincipal Method

Definition

Initializes a new instance of SqlServicePrincipal.

public static Azure.ResourceManager.Sql.Models.SqlServicePrincipal SqlServicePrincipal (Guid? principalId = default, Guid? clientId = default, Guid? tenantId = default, Azure.ResourceManager.Sql.Models.SqlServicePrincipalType? principalType = default);
static member SqlServicePrincipal : Nullable<Guid> * Nullable<Guid> * Nullable<Guid> * Nullable<Azure.ResourceManager.Sql.Models.SqlServicePrincipalType> -> Azure.ResourceManager.Sql.Models.SqlServicePrincipal
Public Shared Function SqlServicePrincipal (Optional principalId As Nullable(Of Guid) = Nothing, Optional clientId As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional principalType As Nullable(Of SqlServicePrincipalType) = Nothing) As SqlServicePrincipal

Parameters

principalId
Nullable<Guid>

The Azure Active Directory application object id.

clientId
Nullable<Guid>

The Azure Active Directory application client id.

tenantId
Nullable<Guid>

The Azure Active Directory tenant id.

principalType
Nullable<SqlServicePrincipalType>

Service principal type.

Returns

A new SqlServicePrincipal instance for mocking.

Applies to