Share via


NetworkCloudExtensions.GetNetworkCloudVolumes Method

Definition

Overloads

GetNetworkCloudVolumes(SubscriptionResource, CancellationToken)

Get a list of volumes in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/volumes
  • Operation Id: Volumes_ListBySubscription
GetNetworkCloudVolumes(ResourceGroupResource)

Gets a collection of NetworkCloudVolumeResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudVolumes() instead.

GetNetworkCloudVolumes(SubscriptionResource, CancellationToken)

Source:
NetworkCloudExtensions.cs

Get a list of volumes in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/volumes
  • Operation Id: Volumes_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource> GetNetworkCloudVolumes (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudVolumes : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>
<Extension()>
Public Function GetNetworkCloudVolumes (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkCloudVolumeResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to

GetNetworkCloudVolumes(ResourceGroupResource)

Source:
NetworkCloudExtensions.cs

Gets a collection of NetworkCloudVolumeResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudVolumes() instead.

public static Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeCollection GetNetworkCloudVolumes (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkCloudVolumes : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeCollection
<Extension()>
Public Function GetNetworkCloudVolumes (resourceGroupResource As ResourceGroupResource) As NetworkCloudVolumeCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkCloudVolumeResources and their operations over a NetworkCloudVolumeResource.

Exceptions

resourceGroupResource is null.

Applies to