Freigeben über


VCenterResource.UpdateAsync(ResourcePatch, CancellationToken) Methode

Definition

API zum Aktualisieren bestimmter Eigenschaften der vCenter-Ressource.

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

Parameter

patch
ResourcePatch

Zu aktualisierende Ressourceneigenschaften.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: