Udostępnij za pośrednictwem


BotConnectionSettingResource.Update 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 Azure.Response<Azure.ResourceManager.BotService.BotConnectionSettingResource> Update (Azure.ResourceManager.BotService.BotConnectionSettingData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.BotService.BotConnectionSettingData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.BotService.BotConnectionSettingResource>
override this.Update : Azure.ResourceManager.BotService.BotConnectionSettingData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.BotService.BotConnectionSettingResource>
Public Overridable Function Update (data As BotConnectionSettingData, Optional cancellationToken As CancellationToken = Nothing) As 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