EndpointKeys class

Klass som representerar en EndpointKeys.

Konstruktorer

EndpointKeys(QnAMakerClientContext)

Skapa en EndpointKeys.

Metoder

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

Konstruktorinformation

EndpointKeys(QnAMakerClientContext)

Skapa en EndpointKeys.

new EndpointKeys(client: QnAMakerClientContext)

Parametrar

client
QnAMakerClientContext

Referens till tjänstklienten.

Metodinformation

getKeys(RequestOptionsBase)

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

Parametrar

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.EndpointKeysGetKeysResponse>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parametrar

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<EndpointKeysDTO>

Återanropet

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

Parametrar

callback

ServiceCallback<EndpointKeysDTO>

Återanropet

refreshKeys(string, RequestOptionsBase)

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

Parametrar

keyType

string

Typ av nyckel

options
RequestOptionsBase

De valfria parametrarna

Returer

Promise<Models.EndpointKeysRefreshKeysResponse>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parametrar

keyType

string

Typ av nyckel

options
RequestOptionsBase

De valfria parametrarna

callback

ServiceCallback<EndpointKeysDTO>

Återanropet

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

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

Parametrar

keyType

string

Typ av nyckel

callback

ServiceCallback<EndpointKeysDTO>

Återanropet