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

AccessInformationSecretsContract 类

定义

API 管理服务的租户访问信息协定。

public class AccessInformationSecretsContract
type AccessInformationSecretsContract = class
Public Class AccessInformationSecretsContract
继承
AccessInformationSecretsContract

构造函数

AccessInformationSecretsContract()

初始化 AccessInformationSecretsContract 类的新实例。

AccessInformationSecretsContract(String, String, String, String, Nullable<Boolean>)

初始化 AccessInformationSecretsContract 类的新实例。

属性

Enabled

获取或设置确定是否启用直接访问。

Id

获取或设置访问信息类型 ('access'或'gitAccess')

PrimaryKey

获取或设置主访问密钥。 此属性不会在“GET”操作上填充! 使用“/listSecrets”POST 请求获取值。

PrincipalId

获取或设置主体 (用户) 标识符。

SecondaryKey

获取或设置辅助访问密钥。 此属性不会在“GET”操作上填充! 使用“/listSecrets”POST 请求获取值。

适用于