Freigeben über


SiteSlotVirtualNetworkConnectionGatewayResource.Update Methode

Definition

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
  • Vorgangs-IdWebApps_UpdateVnetConnectionGatewaySlot
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionGatewayResource> Update (Azure.ResourceManager.AppService.AppServiceVirtualNetworkGatewayData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.AppService.AppServiceVirtualNetworkGatewayData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionGatewayResource>
override this.Update : Azure.ResourceManager.AppService.AppServiceVirtualNetworkGatewayData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionGatewayResource>
Public Overridable Function Update (data As AppServiceVirtualNetworkGatewayData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SiteSlotVirtualNetworkConnectionGatewayResource)

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: