Freigeben über


VMwareDatastoreResource.UpdateAsync(ResourcePatch, CancellationToken) Methode

Definition

API zum Aktualisieren bestimmter Eigenschaften der Datenspeicherressource.

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

Parameter

patch
ResourcePatch

Zu aktualisierende Ressourceneigenschaften.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: