Freigeben über


ElasticSanVolumeResource.UpdateAsync Methode

Definition

Aktualisieren sie ein Volume.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSans/{elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
  • Vorgangs-IdVolumes_Update
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ElasticSan.ElasticSanVolumeResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ElasticSan.Models.ElasticSanVolumePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ElasticSan.Models.ElasticSanVolumePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ElasticSan.ElasticSanVolumeResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ElasticSan.Models.ElasticSanVolumePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ElasticSan.ElasticSanVolumeResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As ElasticSanVolumePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ElasticSanVolumeResource))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

patch
ElasticSanVolumePatch

Volume-Objekt.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: