BotConnectionSettingResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The parameters to provide for updating the Connection Setting.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
data
is null.