Sdílet prostřednictvím


EndpointSettings class

Třída představující EndpointSettings.

Konstruktory

EndpointSettings(QnAMakerClientContext)

Vytvořte EndpointSettings.

Metody

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

Podrobnosti konstruktoru

EndpointSettings(QnAMakerClientContext)

Vytvořte EndpointSettings.

new EndpointSettings(client: QnAMakerClientContext)

Parametry

client
QnAMakerClientContext

Odkaz na klienta služby

Podrobnosti metody

getSettings(RequestOptionsBase)

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

Parametry

options
RequestOptionsBase

Volitelné parametry

Návraty

Promise<Models.EndpointSettingsGetSettingsResponse>

getSettings(RequestOptionsBase, ServiceCallback<EndpointSettingsDTO>)

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

Parametry

options
RequestOptionsBase

Volitelné parametry

callback

ServiceCallback<EndpointSettingsDTO>

Zpětné volání

getSettings(ServiceCallback<EndpointSettingsDTO>)

function getSettings(callback: ServiceCallback<EndpointSettingsDTO>)

Parametry

callback

ServiceCallback<EndpointSettingsDTO>

Zpětné volání

updateSettings(EndpointSettingsDTO, RequestOptionsBase)

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

Parametry

endpointSettingsPayload
EndpointSettingsDTO

Post body žádosti.

options
RequestOptionsBase

Volitelné parametry

Návraty

Promise<RestResponse>

Promise<msRest.RestResponse>

updateSettings(EndpointSettingsDTO, RequestOptionsBase, ServiceCallback<void>)

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

Parametry

endpointSettingsPayload
EndpointSettingsDTO

Post body žádosti.

options
RequestOptionsBase

Volitelné parametry

callback

ServiceCallback<void>

Zpětné volání

updateSettings(EndpointSettingsDTO, ServiceCallback<void>)

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

Parametry

endpointSettingsPayload
EndpointSettingsDTO

Post body žádosti.

callback

ServiceCallback<void>

Zpětné volání