Share via


RecoveryServicesSiteRecoveryExtensions.GetSiteRecoveryFabrics Method

Definition

Gets a collection of SiteRecoveryFabricResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSiteRecoveryFabrics(String) instead.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryFabricCollection GetSiteRecoveryFabrics (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName);
static member GetSiteRecoveryFabrics : Azure.ResourceManager.Resources.ResourceGroupResource * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryFabricCollection
<Extension()>
Public Function GetSiteRecoveryFabrics (resourceGroupResource As ResourceGroupResource, resourceName As String) As SiteRecoveryFabricCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

resourceName
String

The name of the recovery services vault.

Returns

An object representing collection of SiteRecoveryFabricResources and their operations over a SiteRecoveryFabricResource.

Exceptions

resourceGroupResource or resourceName is null.

resourceName is an empty string, and was expected to be non-empty.

Applies to