Partilhar via


EndpointSettings class

Classe que representa um EndpointSettings.

Construtores

EndpointSettings(QnAMakerClientContext)

Criar 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)

Criar um EndpointSettings.

new EndpointSettings(client: QnAMakerClientContext)

Parâmetros

client
QnAMakerClientContext

Referência ao cliente de serviço.

Detalhes de Método

getSettings(RequestOptionsBase)

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

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

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>

A chamada de retorno

getSettings(ServiceCallback<EndpointSettingsDTO>)

function getSettings(callback: ServiceCallback<EndpointSettingsDTO>)

Parâmetros

callback

ServiceCallback<EndpointSettingsDTO>

A chamada de retorno

updateSettings(EndpointSettingsDTO, RequestOptionsBase)

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

Parâmetros

endpointSettingsPayload
EndpointSettingsDTO

Publicar corpo do pedido.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<RestResponse>

Promise<msRest.RestResponse>

updateSettings(EndpointSettingsDTO, RequestOptionsBase, ServiceCallback<void>)

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

Parâmetros

endpointSettingsPayload
EndpointSettingsDTO

Publicar corpo do pedido.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

A chamada de retorno

updateSettings(EndpointSettingsDTO, ServiceCallback<void>)

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

Parâmetros

endpointSettingsPayload
EndpointSettingsDTO

Publicar corpo do pedido.

callback

ServiceCallback<void>

A chamada de retorno