EndpointKeys class

Class representing a EndpointKeys.

Constructors

EndpointKeys(QnAMakerClientContext)

Create a EndpointKeys.

Methods

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

Constructor Details

EndpointKeys(QnAMakerClientContext)

Create a EndpointKeys.

new EndpointKeys(client: QnAMakerClientContext)

Parameters

client
QnAMakerClientContext

Reference to the service client.

Method Details

getKeys(RequestOptionsBase)

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

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.EndpointKeysGetKeysResponse>

getKeys(RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parameters

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EndpointKeysDTO>

The callback

getKeys(ServiceCallback<EndpointKeysDTO>)

function getKeys(callback: ServiceCallback<EndpointKeysDTO>)

Parameters

callback

ServiceCallback<EndpointKeysDTO>

The callback

refreshKeys(string, RequestOptionsBase)

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

Parameters

keyType

string

Type of Key

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.EndpointKeysRefreshKeysResponse>

refreshKeys(string, RequestOptionsBase, ServiceCallback<EndpointKeysDTO>)

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

Parameters

keyType

string

Type of Key

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EndpointKeysDTO>

The callback

refreshKeys(string, ServiceCallback<EndpointKeysDTO>)

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

Parameters

keyType

string

Type of Key

callback

ServiceCallback<EndpointKeysDTO>

The callback