EndpointKeys class

EndpointKeys-et képviselő osztály.

Konstruktorok

EndpointKeys(QnAMakerClientContext)

EndpointKeys létrehozása.

Metódusok

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

Konstruktor adatai

EndpointKeys(QnAMakerClientContext)

EndpointKeys létrehozása.

new EndpointKeys(client: QnAMakerClientContext)

Paraméterek

client
QnAMakerClientContext

Hivatkozás a szolgáltatásügyfélre.

Metódus adatai

getKeys(RequestOptionsBase)

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

Paraméterek

options
RequestOptionsBase

A választható paraméterek

Válaszok

Ígéretmodellek.EndpointKeysGetKeysResponse<>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Paraméterek

options
RequestOptionsBase

A választható paraméterek

callback

ServiceCallback<EndpointKeysDTO>

A visszahívás

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

Paraméterek

callback

ServiceCallback<EndpointKeysDTO>

A visszahívás

refreshKeys(string, RequestOptionsBase)

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

Paraméterek

keyType

string

Kulcs típusa

options
RequestOptionsBase

A választható paraméterek

Válaszok

Ígéretmodellek.EndpointKeysRefreshKeysResponse<>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Paraméterek

keyType

string

Kulcs típusa

options
RequestOptionsBase

A választható paraméterek

callback

ServiceCallback<EndpointKeysDTO>

A visszahívás

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

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

Paraméterek

keyType

string

Kulcs típusa

callback

ServiceCallback<EndpointKeysDTO>

A visszahívás