EndpointKeys class

Classe que representa um EndpointKeys.

Construtores

EndpointKeys(QnAMakerClientContext)

Crie um EndpointKeys.

Métodos

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

Detalhes do construtor

EndpointKeys(QnAMakerClientContext)

Crie um EndpointKeys.

new EndpointKeys(client: QnAMakerClientContext)

Parâmetros

client
QnAMakerClientContext

Referência ao cliente de serviço.

Detalhes do método

getKeys(RequestOptionsBase)

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

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.EndpointKeysGetKeysResponse>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<EndpointKeysDTO>

O retorno de chamada

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

Parâmetros

callback

ServiceCallback<EndpointKeysDTO>

O retorno de chamada

refreshKeys(string, RequestOptionsBase)

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

Parâmetros

keyType

string

Tipo de chave

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Modelos de Promessa.EndpointKeysRefreshKeysResponse<>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parâmetros

keyType

string

Tipo de chave

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<EndpointKeysDTO>

O retorno de chamada

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

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

Parâmetros

keyType

string

Tipo de chave

callback

ServiceCallback<EndpointKeysDTO>

O retorno de chamada