你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServicePrincipalInKeyVaultCredentialEntity 类

定义

ServicePrincipalInKVCredential。

public class ServicePrincipalInKeyVaultCredentialEntity : Azure.AI.MetricsAdvisor.Administration.DataSourceCredentialEntity
type ServicePrincipalInKeyVaultCredentialEntity = class
    inherit DataSourceCredentialEntity
Public Class ServicePrincipalInKeyVaultCredentialEntity
Inherits DataSourceCredentialEntity
继承
ServicePrincipalInKeyVaultCredentialEntity

注解

若要创建凭据实体,必须将此实例传递给 方法 CreateDataSourceCredentialAsync(DataSourceCredentialEntity, CancellationToken)

构造函数

ServicePrincipalInKeyVaultCredentialEntity(String, Uri, String, String, String, String, String)

初始化 ServicePrincipalInKeyVaultCredentialEntity 类的新实例。

属性

CredentialKind

凭据类型。

(继承自 DataSourceCredentialEntity)
Description

DataSourceCredentialEntity的说明。 默认为空字符串。

(继承自 DataSourceCredentialEntity)
Endpoint

要连接到存储机密的密钥保管库资源的终结点。

Id

DataSourceCredentialEntity的唯一标识符。

(继承自 DataSourceCredentialEntity)
KeyVaultClientId

要向密钥保管库资源进行身份验证的客户端 ID。

Name

要显示在 Web 门户上的自定义 DataSourceCredentialEntity 名称。 数据馈送名称必须在同一个 Metris 顾问资源中是唯一的。

(继承自 DataSourceCredentialEntity)
SecretNameForClientId

存储用于数据源身份验证的客户端 ID 的密钥保管库机密的名称。

SecretNameForClientSecret

存储用于数据源身份验证的客户端机密的密钥保管库机密的名称。

TenantId

用于身份验证的服务主体的租户 ID。

方法

UpdateKeyVaultClientSecret(String)

汇报用于访问密钥保管库资源的客户端密码。

适用于