Condividi tramite


EndpointKeys class

Classe che rappresenta un endpointKeys.

Costruttori

EndpointKeys(QnAMakerClientContext)

Creare un endpointKeys.

Metodi

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

Dettagli costruttore

EndpointKeys(QnAMakerClientContext)

Creare un endpointKeys.

new EndpointKeys(client: QnAMakerClientContext)

Parametri

client
QnAMakerClientContext

Riferimento al client del servizio.

Dettagli metodo

getKeys(RequestOptionsBase)

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

Parametri

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.EndpointKeysGetKeysResponse>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parametri

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<EndpointKeysDTO>

Callback

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

Parametri

callback

ServiceCallback<EndpointKeysDTO>

Callback

refreshKeys(string, RequestOptionsBase)

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

Parametri

keyType

string

Tipo di chiave

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.EndpointKeysRefreshKeysResponse>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parametri

keyType

string

Tipo di chiave

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<EndpointKeysDTO>

Callback

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

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

Parametri

keyType

string

Tipo di chiave

callback

ServiceCallback<EndpointKeysDTO>

Callback