EndpointSettings class
Klasa reprezentująca element EndpointSettings.
Konstruktory
Endpoint |
Utwórz element EndpointSettings. |
Metody
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<EndpointSettingsGetSettingsResponse>
Promise<Models.EndpointSettingsGetSettingsResponse>
getSettings(RequestOptionsBase, ServiceCallback<EndpointSettingsDTO>)
function getSettings(options: RequestOptionsBase, callback: ServiceCallback<EndpointSettingsDTO>)
Parametry
- options
- RequestOptionsBase
Parametry opcjonalne
- callback
Wywołanie zwrotne
getSettings(ServiceCallback<EndpointSettingsDTO>)
function getSettings(callback: ServiceCallback<EndpointSettingsDTO>)
Parametry
- callback
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