次の方法で共有


MockableNetworkCloudSubscriptionResource.GetNetworkCloudVolumesAsync Method

Definition

Get a list of volumes in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/volumes
  • Operation Id: Volumes_ListBySubscription
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVolumeResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource> GetNetworkCloudVolumesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkCloudVolumesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>
override this.GetNetworkCloudVolumesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>
Public Overridable Function GetNetworkCloudVolumesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkCloudVolumeResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to