EndpointKeys class

代表 EndpointKeys 的類別。

建構函式

EndpointKeys(QnAMakerClientContext)

建立 EndpointKeys。

方法

getKeys(RequestOptionsBase)
getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)
getKeys(ServiceCallback<EndpointKeysDTO>)
refreshKeys(string, RequestOptionsBase)
refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)
refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

建構函式詳細資料

EndpointKeys(QnAMakerClientContext)

建立 EndpointKeys。

new EndpointKeys(client: QnAMakerClientContext)

參數

client
QnAMakerClientContext

服務用戶端的參考。

方法詳細資料

getKeys(RequestOptionsBase)

function getKeys(options?: RequestOptionsBase): Promise<EndpointKeysGetKeysResponse>

參數

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.EndpointKeysGetKeysResponse>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

function getKeys(options: RequestOptionsBase, callback: ServiceCallback<EndpointKeysDTO>)

參數

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<EndpointKeysDTO>

回呼

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

參數

callback

ServiceCallback<EndpointKeysDTO>

回呼

refreshKeys(string, RequestOptionsBase)

function refreshKeys(keyType: string, options?: RequestOptionsBase): Promise<EndpointKeysRefreshKeysResponse>

參數

keyType

string

機碼類型

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.EndpointKeysRefreshKeysResponse>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

function refreshKeys(keyType: string, options: RequestOptionsBase, callback: ServiceCallback<EndpointKeysDTO>)

參數

keyType

string

機碼類型

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<EndpointKeysDTO>

回呼

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

function refreshKeys(keyType: string, callback: ServiceCallback<EndpointKeysDTO>)

參數

keyType

string

機碼類型

callback

ServiceCallback<EndpointKeysDTO>

回呼