ServicePrincipalCredentialEntity Class

Definition

The ServicePrincipalCredential.

public class ServicePrincipalCredentialEntity : Azure.AI.MetricsAdvisor.Administration.DataSourceCredentialEntity
type ServicePrincipalCredentialEntity = class
    inherit DataSourceCredentialEntity
Public Class ServicePrincipalCredentialEntity
Inherits DataSourceCredentialEntity
Inheritance
ServicePrincipalCredentialEntity

Remarks

In order to create a credential entity, you must pass this instance to the method CreateDataSourceCredentialAsync(DataSourceCredentialEntity, CancellationToken).

Constructors

ServicePrincipalCredentialEntity(String, String, String, String)

Initializes a new instance of the ServicePrincipalCredentialEntity class.

Properties

ClientId

The client ID of the service principal used for authentication.

CredentialKind

The credential kind.

(Inherited from DataSourceCredentialEntity)
Description

A description of this DataSourceCredentialEntity. Defaults to an empty string.

(Inherited from DataSourceCredentialEntity)
Id

The unique identifier of this DataSourceCredentialEntity.

(Inherited from DataSourceCredentialEntity)
Name

A custom name for this DataSourceCredentialEntity to be displayed on the web portal. Data feed names must be unique across the same Metris Advisor resource.

(Inherited from DataSourceCredentialEntity)
TenantId

The tenant ID of the service principal used for authentication.

Methods

UpdateClientSecret(String)

Updates the client secret.

Applies to