SiteRecoveryFabricCollection Class

Definition

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

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

Constructors

SiteRecoveryFabricCollection()

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

The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}
  • Operation Id: ReplicationFabrics_Create
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryFabricResource
CreateOrUpdateAsync(WaitUntil, String, SiteRecoveryFabricCreateOrUpdateContent, CancellationToken)

The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site).

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the details of an Azure Site Recovery fabric.

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

Gets a list of the Azure Site Recovery fabrics in the vault.

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

Gets a list of the Azure Site Recovery fabrics in the vault.

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

Gets the details of an Azure Site Recovery fabric.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteRecoveryFabricResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to