Partilhar via


EndpointKeys class

Classe que representa um EndpointKeys.

Construtores

EndpointKeys(QnAMakerClientContext)

Criar 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)

Criar um EndpointKeys.

new EndpointKeys(client: QnAMakerClientContext)

Parâmetros

client
QnAMakerClientContext

Referência ao cliente de serviço.

Detalhes de Método

getKeys(RequestOptionsBase)

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

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

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>

A chamada de retorno

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

Parâmetros

callback

ServiceCallback<EndpointKeysDTO>

A chamada de retorno

refreshKeys(string, RequestOptionsBase)

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

Parâmetros

keyType

string

Tipo de Chave

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<Models.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>

A chamada de retorno

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

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

Parâmetros

keyType

string

Tipo de Chave

callback

ServiceCallback<EndpointKeysDTO>

A chamada de retorno