Share via


NetAppVolumeGroupResource.UpdateAsync Method

Definition

Create a volume group along with specified volumes

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}
  • Operation Id: VolumeGroups_Create
  • Default Api Version: 2024-07-01
  • Resource: NetAppVolumeGroupResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.NetAppVolumeGroupResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.NetAppVolumeGroupData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.NetApp.NetAppVolumeGroupData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.NetAppVolumeGroupResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.NetApp.NetAppVolumeGroupData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetApp.NetAppVolumeGroupResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As NetAppVolumeGroupData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NetAppVolumeGroupResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
NetAppVolumeGroupData

Volume Group object supplied in the body of the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to