Freigeben über


VMwareHostResource.UpdateAsync(ResourcePatch, CancellationToken) Methode

Definition

API zum Aktualisieren bestimmter Eigenschaften der Hostressource.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/hosts/{hostName}
  • Vorgang IdHosts_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource>> 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.VMwareHostResource>>
override this.UpdateAsync : Azure.ResourceManager.ConnectedVMwarevSphere.Models.ResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareHostResource>>
Public Overridable Function UpdateAsync (patch As ResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VMwareHostResource))

Parameter

patch
ResourcePatch

Zu aktualisierende Ressourceneigenschaften.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: