你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SiteSlotVirtualNetworkConnectionGatewayResource.UpdateAsync 方法

定义

将网关添加到连接的 虚拟网络 (PUT) 或 (PATCH) 进行更新的说明。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
  • 操作IdWebApps_UpdateVnetConnectionGatewaySlot
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionGatewayResource>> UpdateAsync (Azure.ResourceManager.AppService.AppServiceVirtualNetworkGatewayData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AppService.AppServiceVirtualNetworkGatewayData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionGatewayResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.AppServiceVirtualNetworkGatewayData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionGatewayResource>>
Public Overridable Function UpdateAsync (data As AppServiceVirtualNetworkGatewayData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteSlotVirtualNetworkConnectionGatewayResource))

参数

data
AppServiceVirtualNetworkGatewayData

用于更新此网关的属性。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

data 为 null。

适用于