Share via


NetworkCloudExtensions.GetNetworkCloudStorageAppliances Method

Definition

Overloads

GetNetworkCloudStorageAppliances(SubscriptionResource, CancellationToken)

Get a list of storage appliances in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/storageAppliances
  • Operation Id: StorageAppliances_ListBySubscription
GetNetworkCloudStorageAppliances(ResourceGroupResource)

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

GetNetworkCloudStorageAppliances(SubscriptionResource, CancellationToken)

Source:
NetworkCloudExtensions.cs

Get a list of storage appliances in the provided subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to

GetNetworkCloudStorageAppliances(ResourceGroupResource)

Source:
NetworkCloudExtensions.cs

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

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkCloudStorageApplianceResources and their operations over a NetworkCloudStorageApplianceResource.

Exceptions

resourceGroupResource is null.

Applies to