Freigeben über


SiteVirtualNetworkConnectionGatewayResource.UpdateAsync Methode

Definition

Beschreibung für Fügt ein Gateway zu einem verbundenen Virtual Network (PUT) hinzu oder aktualisiert es (PATCH).

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
  • Vorgang IdWebApps_UpdateVnetConnectionGateway
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionGatewayResource>> 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.SiteVirtualNetworkConnectionGatewayResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.AppServiceVirtualNetworkGatewayData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionGatewayResource>>
Public Overridable Function UpdateAsync (data As AppServiceVirtualNetworkGatewayData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteVirtualNetworkConnectionGatewayResource))

Parameter

data
AppServiceVirtualNetworkGatewayData

Die Eigenschaften, mit denen dieses Gateway aktualisiert werden soll.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: