Share via


DataReplicationFabricCollection Class

Definition

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

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

Constructors

DataReplicationFabricCollection()

Initializes a new instance of the DataReplicationFabricCollection 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, DataReplicationFabricData, CancellationToken)

Creates the fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Operation Id: Fabric_Create
CreateOrUpdateAsync(WaitUntil, String, DataReplicationFabricData, CancellationToken)

Creates the fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Operation Id: Fabric_Create
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Operation Id: Fabric_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Operation Id: Fabric_Get
Get(String, CancellationToken)

Gets the details of the fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Operation Id: Fabric_Get
GetAll(String, CancellationToken)

Gets the list of fabrics in the given subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics
  • Operation Id: Fabric_List
GetAllAsync(String, CancellationToken)

Gets the list of fabrics in the given subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics
  • Operation Id: Fabric_List
GetAsync(String, CancellationToken)

Gets the details of the fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Operation Id: Fabric_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Operation Id: Fabric_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Operation Id: Fabric_Get
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<DataReplicationFabricResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataReplicationFabricResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to