Partager 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
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
GetNetworkCloudStorageAppliances(ResourceGroupResource)

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

GetNetworkCloudStorageAppliances(SubscriptionResource, CancellationToken)

Source:
NetworkCloudExtensions.cs
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
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
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
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