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.EndpointKeysGetKeys响应>
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
回调