EndpointSettings class
Class representing a EndpointSettings.
Constructors
Endpoint |
Create a EndpointSettings. |
Methods
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<EndpointSettingsGetSettingsResponse>
Promise<Models.EndpointSettingsGetSettingsResponse>
getSettings(RequestOptionsBase, ServiceCallback<EndpointSettingsDTO>)
function getSettings(options: RequestOptionsBase, callback: ServiceCallback<EndpointSettingsDTO>)
Parameters
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
getSettings(ServiceCallback<EndpointSettingsDTO>)
function getSettings(callback: ServiceCallback<EndpointSettingsDTO>)
Parameters
- callback
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