Compartir a través de


SiteSlotVirtualNetworkConnectionGatewayResource.UpdateAsync Método

Definición

Descripción de Agrega una puerta de enlace a una Virtual Network conectada (PUT) o la actualiza (PATCH).

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
  • IdWebApps_UpdateVnetConnectionGatewaySlot de operaciones
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))

Parámetros

data
AppServiceVirtualNetworkGatewayData

Las propiedades con las que se va a actualizar esta puerta de enlace.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

data es null.

Se aplica a