Share via


ServicePrincipal Constructors

Definition

Overloads

ServicePrincipal()

Initializes a new instance of the ServicePrincipal class.

ServicePrincipal(String, String, String, String)

Initializes a new instance of the ServicePrincipal class.

ServicePrincipal()

Initializes a new instance of the ServicePrincipal class.

public ServicePrincipal ();
Public Sub New ()

Applies to

ServicePrincipal(String, String, String, String)

Initializes a new instance of the ServicePrincipal class.

public ServicePrincipal (string principalId = default, string clientId = default, string tenantId = default, string type = default);
new Microsoft.Azure.Management.Sql.Models.ServicePrincipal : string * string * string * string -> Microsoft.Azure.Management.Sql.Models.ServicePrincipal
Public Sub New (Optional principalId As String = Nothing, Optional clientId As String = Nothing, Optional tenantId As String = Nothing, Optional type As String = Nothing)

Parameters

principalId
String

The Azure Active Directory application object id.

clientId
String

The Azure Active Directory application client id.

tenantId
String

The Azure Active Directory tenant id.

type
String

Service principal type. Possible values include: 'None', 'SystemAssigned'

Applies to