Compartilhar via


EndpointSettings class

Classe que representa um EndpointSettings.

Construtores

EndpointSettings(QnAMakerClientContext)

Crie um EndpointSettings.

Métodos

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

Detalhes do construtor

EndpointSettings(QnAMakerClientContext)

Crie um EndpointSettings.

new EndpointSettings(client: QnAMakerClientContext)

Parâmetros

client
QnAMakerClientContext

Referência ao cliente de serviço.

Detalhes do método

getSettings(RequestOptionsBase)

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

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.EndpointSettingsGetSettingsResponse>

getSettings(RequestOptionsBase, ServiceCallback<EndpointSettingsDTO>)

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

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<EndpointSettingsDTO>

O retorno de chamada

getSettings(ServiceCallback<EndpointSettingsDTO>)

function getSettings(callback: ServiceCallback<EndpointSettingsDTO>)

Parâmetros

callback

ServiceCallback<EndpointSettingsDTO>

O retorno de chamada

updateSettings(EndpointSettingsDTO, RequestOptionsBase)

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

Parâmetros

endpointSettingsPayload
EndpointSettingsDTO

Corpo da postagem da solicitação.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<RestResponse>

Prometa<msRest.RestResponse>

updateSettings(EndpointSettingsDTO, RequestOptionsBase, ServiceCallback<void>)

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

Parâmetros

endpointSettingsPayload
EndpointSettingsDTO

Corpo da postagem da solicitação.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

O retorno de chamada

updateSettings(EndpointSettingsDTO, ServiceCallback<void>)

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

Parâmetros

endpointSettingsPayload
EndpointSettingsDTO

Corpo da postagem da solicitação.

callback

ServiceCallback<void>

O retorno de chamada