你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EndpointKeys class
表示 EndpointKeys 的类。
构造函数
Endpoint |
创建 EndpointKeys。 |
方法
构造函数详细信息
EndpointKeys(QnAMakerClientContext)
创建 EndpointKeys。
new EndpointKeys(client: QnAMakerClientContext)
参数
- client
- QnAMakerClientContext
对服务客户端的引用。
方法详细信息
getKeys(RequestOptionsBase)
function getKeys(options?: RequestOptionsBase): Promise<EndpointKeysGetKeysResponse>
参数
- options
- RequestOptionsBase
可选参数
返回
Promise<EndpointKeysGetKeysResponse>
Promise<Models.EndpointKeysGetKeysResponse>
getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)
function getKeys(options: RequestOptionsBase, callback: ServiceCallback<EndpointKeysDTO>)
参数
- options
- RequestOptionsBase
可选参数
- callback
回调
getKeys(ServiceCallback<EndpointKeysDTO>)
function getKeys(callback: ServiceCallback<EndpointKeysDTO>)
参数
- callback
回调
refreshKeys(string, RequestOptionsBase)
function refreshKeys(keyType: string, options?: RequestOptionsBase): Promise<EndpointKeysRefreshKeysResponse>
参数
- keyType
-
string
密钥类型
- options
- RequestOptionsBase
可选参数
返回
Promise<EndpointKeysRefreshKeysResponse>
Promise<Models.EndpointKeysRefreshKeysResponse>
refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)
function refreshKeys(keyType: string, options: RequestOptionsBase, callback: ServiceCallback<EndpointKeysDTO>)
参数
- keyType
-
string
密钥类型
- options
- RequestOptionsBase
可选参数
- callback
回调
refreshKeys(string, ServiceCallback<EndpointKeysDTO>)
function refreshKeys(keyType: string, callback: ServiceCallback<EndpointKeysDTO>)
参数
- keyType
-
string
密钥类型
- callback
回调