Freigeben über


VirtualNetworkResource.Update(ResourcePatch, CancellationToken) Methode

Definition

API zum Aktualisieren bestimmter Eigenschaften der virtuellen Netzwerkressource.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks/{virtualNetworkName}
  • Vorgangs-IdVirtualNetworks_Update
public virtual Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualNetworkResource> Update (Azure.ResourceManager.ConnectedVMwarevSphere.Models.ResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ConnectedVMwarevSphere.Models.ResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualNetworkResource>
override this.Update : Azure.ResourceManager.ConnectedVMwarevSphere.Models.ResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualNetworkResource>
Public Overridable Function Update (patch As ResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VirtualNetworkResource)

Parameter

patch
ResourcePatch

Zu aktualisierende Ressourceneigenschaften.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: