Partager via


EndpointSettings class

Classe représentant un EndpointSettings.

Constructeurs

EndpointSettings(QnAMakerClientContext)

Créez un EndpointSettings.

Méthodes

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

Détails du constructeur

EndpointSettings(QnAMakerClientContext)

Créez un EndpointSettings.

new EndpointSettings(client: QnAMakerClientContext)

Paramètres

client
QnAMakerClientContext

Référence au client de service.

Détails de la méthode

getSettings(RequestOptionsBase)

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

Paramètres

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.EndpointSettingsGetSettingsResponse>

getSettings(RequestOptionsBase, ServiceCallback<EndpointSettingsDTO>)

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

Paramètres

options
RequestOptionsBase

Paramètres facultatifs

getSettings(ServiceCallback<EndpointSettingsDTO>)

function getSettings(callback: ServiceCallback<EndpointSettingsDTO>)

Paramètres

updateSettings(EndpointSettingsDTO, RequestOptionsBase)

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

Paramètres

endpointSettingsPayload
EndpointSettingsDTO

Post-corps de la demande.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

updateSettings(EndpointSettingsDTO, RequestOptionsBase, ServiceCallback<void>)

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

Paramètres

endpointSettingsPayload
EndpointSettingsDTO

Post-corps de la demande.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

updateSettings(EndpointSettingsDTO, ServiceCallback<void>)

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

Paramètres

endpointSettingsPayload
EndpointSettingsDTO

Post-corps de la demande.

callback

ServiceCallback<void>

Rappel