Share via


BotConnectionSettingResource.UpdateAsync Method

Definition

Updates a Connection Setting registration for a Bot Service

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections/{connectionName}
  • Operation Id: BotConnection_Update
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))

Parameters

data
BotConnectionSettingData

The parameters to provide for updating the Connection Setting.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to