EndpointKeys class

EndpointKeys'i temsil eden sınıf.

Oluşturucular

EndpointKeys(QnAMakerClientContext)

EndpointKeys oluşturun.

Yöntemler

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

Oluşturucu Ayrıntıları

EndpointKeys(QnAMakerClientContext)

EndpointKeys oluşturun.

new EndpointKeys(client: QnAMakerClientContext)

Parametreler

client
QnAMakerClientContext

Hizmet istemcisine başvuru.

Yöntem Ayrıntıları

getKeys(RequestOptionsBase)

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

Parametreler

options
RequestOptionsBase

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.EndpointKeysGetKeysResponse>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parametreler

options
RequestOptionsBase

İsteğe bağlı parametreler

callback

ServiceCallback<EndpointKeysDTO>

Geri arama

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

Parametreler

callback

ServiceCallback<EndpointKeysDTO>

Geri arama

refreshKeys(string, RequestOptionsBase)

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

Parametreler

keyType

string

Anahtar Türü

options
RequestOptionsBase

İsteğe bağlı parametreler

Döndürülenler

Promise<Models.EndpointKeysRefreshKeysResponse>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parametreler

keyType

string

Anahtar Türü

options
RequestOptionsBase

İsteğe bağlı parametreler

callback

ServiceCallback<EndpointKeysDTO>

Geri arama

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

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

Parametreler

keyType

string

Anahtar Türü

callback

ServiceCallback<EndpointKeysDTO>

Geri arama