Share via


SnapshotPolicyResource.GetVolumesAsync(CancellationToken) Method

Definition

Get volumes associated with snapshot policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes
  • Operation Id: SnapshotPolicies_ListVolumes
  • Default Api Version: 2024-07-01
  • Resource: SnapshotPolicyResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppVolumeResource> GetVolumesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVolumesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppVolumeResource>
override this.GetVolumesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppVolumeResource>
Public Overridable Function GetVolumesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetAppVolumeResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of NetAppVolumeResource that may take multiple service requests to iterate over.

Applies to