Share via


ServicePrincipal(Guid, Guid, Byte[], String) Constructor

Definition

Initializes a new instance of the ServicePrincipal class.

public ServicePrincipal (Guid applicationId, Guid aadTenantId, byte[] certificateFileBytes, string certificatePassword);
new Microsoft.Azure.Management.HDInsight.Models.ServicePrincipal : Guid * Guid * byte[] * string -> Microsoft.Azure.Management.HDInsight.Models.ServicePrincipal
Public Sub New (applicationId As Guid, aadTenantId As Guid, certificateFileBytes As Byte(), certificatePassword As String)

Parameters

applicationId
Guid

Application id of the service principal.

aadTenantId
Guid

AAD tenant id of the service principal

certificateFileBytes
Byte[]

certificate file bytes associated with service principal.

certificatePassword
String

certificate password associated with service principal.

Applies to