Partager via


NetworkCloudStorageApplianceCollection Class

Definition

A class representing a collection of NetworkCloudStorageApplianceResource and their operations. Each NetworkCloudStorageApplianceResource in the collection will belong to the same instance of ResourceGroupResource. To get a NetworkCloudStorageApplianceCollection instance call the GetNetworkCloudStorageAppliances method from an instance of ResourceGroupResource.

public class NetworkCloudStorageApplianceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.NetworkCloud.NetworkCloudStorageApplianceResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.NetworkCloudStorageApplianceResource>
type NetworkCloudStorageApplianceCollection = class
    inherit ArmCollection
    interface seq<NetworkCloudStorageApplianceResource>
    interface IEnumerable
    interface IAsyncEnumerable<NetworkCloudStorageApplianceResource>
Public Class NetworkCloudStorageApplianceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of NetworkCloudStorageApplianceResource), IEnumerable(Of NetworkCloudStorageApplianceResource)
Inheritance
NetworkCloudStorageApplianceCollection
Implements

Constructors

NetworkCloudStorageApplianceCollection()

Initializes a new instance of the NetworkCloudStorageApplianceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances/{storageApplianceName}
  • Operation Id: StorageAppliances_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances/{storageApplianceName}
  • Operation Id: StorageAppliances_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
Get(String, CancellationToken)

Get properties of the provided storage appliance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances/{storageApplianceName}
  • Operation Id: StorageAppliances_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
GetAll(CancellationToken)

Get a list of storage appliances in the provided resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances
  • Operation Id: StorageAppliances_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
GetAllAsync(CancellationToken)

Get a list of storage appliances in the provided resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances
  • Operation Id: StorageAppliances_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
GetAsync(String, CancellationToken)

Get properties of the provided storage appliance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances/{storageApplianceName}
  • Operation Id: StorageAppliances_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances/{storageApplianceName}
  • Operation Id: StorageAppliances_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances/{storageApplianceName}
  • Operation Id: StorageAppliances_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudStorageApplianceResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<NetworkCloudStorageApplianceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkCloudStorageApplianceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to