EndpointKeys class

Classe représentant un EndpointKeys.

Constructeurs

EndpointKeys(QnAMakerClientContext)

Créez un EndpointKeys.

Méthodes

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

Détails du constructeur

EndpointKeys(QnAMakerClientContext)

Créez un EndpointKeys.

new EndpointKeys(client: QnAMakerClientContext)

Paramètres

client
QnAMakerClientContext

Référence au client de service.

Détails de la méthode

getKeys(RequestOptionsBase)

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

Paramètres

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.EndpointKeysGetKeysResponse>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Paramètres

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<EndpointKeysDTO>

Rappel

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

Paramètres

callback

ServiceCallback<EndpointKeysDTO>

Rappel

refreshKeys(string, RequestOptionsBase)

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

Paramètres

keyType

string

Type de clé

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.EndpointKeysRefreshKeysResponse>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Paramètres

keyType

string

Type de clé

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<EndpointKeysDTO>

Rappel

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

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

Paramètres

keyType

string

Type de clé

callback

ServiceCallback<EndpointKeysDTO>

Rappel