Partilhar via


BotConnectionSettingResource.UpdateAsync Método

Definição

Atualizações um registro de Configuração de Conexão para um Serviço de Bot

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections/{connectionName}
  • IdBotConnection_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.BotConnectionSettingResource>> UpdateAsync (Azure.ResourceManager.BotService.BotConnectionSettingData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.BotService.BotConnectionSettingData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.BotConnectionSettingResource>>
override this.UpdateAsync : Azure.ResourceManager.BotService.BotConnectionSettingData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.BotService.BotConnectionSettingResource>>
Public Overridable Function UpdateAsync (data As BotConnectionSettingData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BotConnectionSettingResource))

Parâmetros

data
BotConnectionSettingData

Os parâmetros a serem fornecidos para atualizar a Configuração de Conexão.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a