Share via


StorageClassificationMappingCollection Class

Definition

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

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

Constructors

StorageClassificationMappingCollection()

Initializes a new instance of the StorageClassificationMappingCollection 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

CreateOrUpdate(WaitUntil, String, StorageClassificationMappingCreateOrUpdateContent, CancellationToken)

The operation to create a storage classification mapping.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}
  • Operation Id: ReplicationStorageClassificationMappings_Create
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationMappingResource
CreateOrUpdateAsync(WaitUntil, String, StorageClassificationMappingCreateOrUpdateContent, CancellationToken)

The operation to create a storage classification mapping.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}
  • Operation Id: ReplicationStorageClassificationMappings_Create
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationMappingResource
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}/replicationStorageClassificationMappings/{storageClassificationMappingName}
  • Operation Id: ReplicationStorageClassificationMappings_Get
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationMappingResource
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}/replicationStorageClassificationMappings/{storageClassificationMappingName}
  • Operation Id: ReplicationStorageClassificationMappings_Get
  • Default Api Version: 2023-08-01
  • Resource: StorageClassificationMappingResource
Get(String, CancellationToken)

Gets the details of the specified storage classification mapping.

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

Lists the storage classification mappings for the fabric.

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

Lists the storage classification mappings for the fabric.

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

Gets the details of the specified storage classification mapping.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StorageClassificationMappingResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to