Share via


StorageClassificationCollection Class

Definition

A class representing a collection of StorageClassificationResource and their operations. Each StorageClassificationResource in the collection will belong to the same instance of SiteRecoveryFabricResource. To get a StorageClassificationCollection instance call the GetStorageClassifications method from an instance of SiteRecoveryFabricResource.

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

Constructors

StorageClassificationCollection()

Initializes a new instance of the StorageClassificationCollection 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.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}
  • Operation Id: ReplicationStorageClassifications_Get
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}
  • Operation Id: ReplicationStorageClassifications_Get
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationResource
Get(String, CancellationToken)

Gets the details of the specified storage classification.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}
  • Operation Id: ReplicationStorageClassifications_Get
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationResource
GetAll(CancellationToken)

Lists the storage classifications available in the specified fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications
  • Operation Id: ReplicationStorageClassifications_ListByReplicationFabrics
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationResource
GetAllAsync(CancellationToken)

Lists the storage classifications available in the specified fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications
  • Operation Id: ReplicationStorageClassifications_ListByReplicationFabrics
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationResource
GetAsync(String, CancellationToken)

Gets the details of the specified storage classification.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}
  • Operation Id: ReplicationStorageClassifications_Get
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}
  • Operation Id: ReplicationStorageClassifications_Get
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}
  • Operation Id: ReplicationStorageClassifications_Get
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationResource
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<StorageClassificationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StorageClassificationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to