EndpointKeys class

Klasa reprezentująca klucz punktu końcowego.

Konstruktory

EndpointKeys(QnAMakerClientContext)

Utwórz klucz punktu końcowego.

Metody

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

Szczegóły konstruktora

EndpointKeys(QnAMakerClientContext)

Utwórz klucz punktu końcowego.

new EndpointKeys(client: QnAMakerClientContext)

Parametry

client
QnAMakerClientContext

Odwołanie do klienta usługi.

Szczegóły metody

getKeys(RequestOptionsBase)

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

Parametry

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<Models.EndpointKeysGetKeysResponse>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parametry

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<EndpointKeysDTO>

Wywołanie zwrotne

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

Parametry

callback

ServiceCallback<EndpointKeysDTO>

Wywołanie zwrotne

refreshKeys(string, RequestOptionsBase)

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

Parametry

keyType

string

Typ klucza

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<Models.EndpointKeysRefreshKeysResponse>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parametry

keyType

string

Typ klucza

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<EndpointKeysDTO>

Wywołanie zwrotne

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

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

Parametry

keyType

string

Typ klucza

callback

ServiceCallback<EndpointKeysDTO>

Wywołanie zwrotne