EndpointSettings class

Class representing a EndpointSettings.

Constructors

EndpointSettings(QnAMakerClientContext)

Create a EndpointSettings.

Methods

getSettings(RequestOptionsBase)
getSettings(RequestOptionsBase, ServiceCallback<EndpointSettingsDTO>)
getSettings(ServiceCallback<EndpointSettingsDTO>)
updateSettings(EndpointSettingsDTO, RequestOptionsBase)
updateSettings(EndpointSettingsDTO, RequestOptionsBase, ServiceCallback<void>)
updateSettings(EndpointSettingsDTO, ServiceCallback<void>)

Constructor Details

EndpointSettings(QnAMakerClientContext)

Create a EndpointSettings.

new EndpointSettings(client: QnAMakerClientContext)

Parameters

client
QnAMakerClientContext

Reference to the service client.

Method Details

getSettings(RequestOptionsBase)

function getSettings(options?: RequestOptionsBase): Promise<EndpointSettingsGetSettingsResponse>

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.EndpointSettingsGetSettingsResponse>

getSettings(RequestOptionsBase, ServiceCallback<EndpointSettingsDTO>)

function getSettings(options: RequestOptionsBase, callback: ServiceCallback<EndpointSettingsDTO>)

Parameters

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EndpointSettingsDTO>

The callback

getSettings(ServiceCallback<EndpointSettingsDTO>)

function getSettings(callback: ServiceCallback<EndpointSettingsDTO>)

Parameters

callback

ServiceCallback<EndpointSettingsDTO>

The callback

updateSettings(EndpointSettingsDTO, RequestOptionsBase)

function updateSettings(endpointSettingsPayload: EndpointSettingsDTO, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

endpointSettingsPayload
EndpointSettingsDTO

Post body of the request.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

updateSettings(EndpointSettingsDTO, RequestOptionsBase, ServiceCallback<void>)

function updateSettings(endpointSettingsPayload: EndpointSettingsDTO, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

endpointSettingsPayload
EndpointSettingsDTO

Post body of the request.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

updateSettings(EndpointSettingsDTO, ServiceCallback<void>)

function updateSettings(endpointSettingsPayload: EndpointSettingsDTO, callback: ServiceCallback<void>)

Parameters

endpointSettingsPayload
EndpointSettingsDTO

Post body of the request.

callback

ServiceCallback<void>

The callback