Compartir a través de


EndpointSettings class

Clase que representa un EndpointSettings.

Constructores

EndpointSettings(QnAMakerClientContext)

Cree un EndpointSettings.

Métodos

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

Detalles del constructor

EndpointSettings(QnAMakerClientContext)

Cree un EndpointSettings.

new EndpointSettings(client: QnAMakerClientContext)

Parámetros

client
QnAMakerClientContext

Referencia al cliente de servicio.

Detalles del método

getSettings(RequestOptionsBase)

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

Parámetros

options
RequestOptionsBase

Parámetros opcionales

Devoluciones

Promise<Models.EndpointSettingsGetSettingsResponse>

getSettings(RequestOptionsBase, ServiceCallback<EndpointSettingsDTO>)

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

Parámetros

options
RequestOptionsBase

Parámetros opcionales

callback

ServiceCallback<EndpointSettingsDTO>

La devolución de llamada

getSettings(ServiceCallback<EndpointSettingsDTO>)

function getSettings(callback: ServiceCallback<EndpointSettingsDTO>)

Parámetros

callback

ServiceCallback<EndpointSettingsDTO>

La devolución de llamada

updateSettings(EndpointSettingsDTO, RequestOptionsBase)

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

Parámetros

endpointSettingsPayload
EndpointSettingsDTO

Publique el cuerpo de la solicitud.

options
RequestOptionsBase

Parámetros opcionales

Devoluciones

Promise<RestResponse>

Promise<msRest.RestResponse>

updateSettings(EndpointSettingsDTO, RequestOptionsBase, ServiceCallback<void>)

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

Parámetros

endpointSettingsPayload
EndpointSettingsDTO

Publique el cuerpo de la solicitud.

options
RequestOptionsBase

Parámetros opcionales

callback

ServiceCallback<void>

La devolución de llamada

updateSettings(EndpointSettingsDTO, ServiceCallback<void>)

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

Parámetros

endpointSettingsPayload
EndpointSettingsDTO

Publique el cuerpo de la solicitud.

callback

ServiceCallback<void>

La devolución de llamada