ServicePrincipalCredentialEntity(String, String, String, String) Constructor

Definition

Initializes a new instance of the ServicePrincipalCredentialEntity class.

public ServicePrincipalCredentialEntity (string name, string clientId, string clientSecret, string tenantId);
new Azure.AI.MetricsAdvisor.Administration.ServicePrincipalCredentialEntity : string * string * string * string -> Azure.AI.MetricsAdvisor.Administration.ServicePrincipalCredentialEntity
Public Sub New (name As String, clientId As String, clientSecret As String, tenantId As String)

Parameters

name
String

A custom unique name for this ServicePrincipalCredentialEntity to be displayed on the web portal.

clientId
String

The client ID of the service principal used for authentication.

clientSecret
String

The client secret of the service principal used for authentication.

tenantId
String

The tenant ID of the service principal used for authentication.

Applies to