Udostępnij za pośrednictwem


EndpointSettings class

Klasa reprezentująca element EndpointSettings.

Konstruktory

EndpointSettings(QnAMakerClientContext)

Utwórz element EndpointSettings.

Metody

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

Szczegóły konstruktora

EndpointSettings(QnAMakerClientContext)

Utwórz element EndpointSettings.

new EndpointSettings(client: QnAMakerClientContext)

Parametry

client
QnAMakerClientContext

Odwołanie do klienta usługi.

Szczegóły metody

getSettings(RequestOptionsBase)

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

Parametry

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<Models.EndpointSettingsGetSettingsResponse>

getSettings(RequestOptionsBase, ServiceCallback<EndpointSettingsDTO>)

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

Parametry

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<EndpointSettingsDTO>

Wywołanie zwrotne

getSettings(ServiceCallback<EndpointSettingsDTO>)

function getSettings(callback: ServiceCallback<EndpointSettingsDTO>)

Parametry

callback

ServiceCallback<EndpointSettingsDTO>

Wywołanie zwrotne

updateSettings(EndpointSettingsDTO, RequestOptionsBase)

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

Parametry

endpointSettingsPayload
EndpointSettingsDTO

Opublikuj treść żądania.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<RestResponse>

Promise<msRest.RestResponse>

updateSettings(EndpointSettingsDTO, RequestOptionsBase, ServiceCallback<void>)

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

Parametry

endpointSettingsPayload
EndpointSettingsDTO

Opublikuj treść żądania.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<void>

Wywołanie zwrotne

updateSettings(EndpointSettingsDTO, ServiceCallback<void>)

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

Parametry

endpointSettingsPayload
EndpointSettingsDTO

Opublikuj treść żądania.

callback

ServiceCallback<void>

Wywołanie zwrotne