ServicePrincipalSecretAuthInfo(String, Guid, String) Constructor

Definition

Initializes a new instance of ServicePrincipalSecretAuthInfo.

public ServicePrincipalSecretAuthInfo (string clientId, Guid principalId, string secret);
new Azure.ResourceManager.ServiceLinker.Models.ServicePrincipalSecretAuthInfo : string * Guid * string -> Azure.ResourceManager.ServiceLinker.Models.ServicePrincipalSecretAuthInfo
Public Sub New (clientId As String, principalId As Guid, secret As String)

Parameters

clientId
String

ServicePrincipal application clientId for servicePrincipal auth.

principalId
Guid

Principal Id for servicePrincipal auth.

secret
String

Secret for servicePrincipal auth.

Exceptions

clientId or secret is null.

Applies to