Share via


MockableNetworkCloudSubscriptionResource.GetNetworkCloudVolumes Method

Definition

Get a list of volumes in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/volumes
  • Operation Id: Volumes_ListBySubscription
public virtual Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource> GetNetworkCloudVolumes (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkCloudVolumes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>
override this.GetNetworkCloudVolumes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>
Public Overridable Function GetNetworkCloudVolumes (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkCloudVolumeResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NetworkCloudVolumeResource that may take multiple service requests to iterate over.

Applies to