RecoveryServicesSiteRecoveryExtensions.GetSiteRecoveryRecoveryPlans Method

Definition

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

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

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 SiteRecoveryRecoveryPlanResources and their operations over a SiteRecoveryRecoveryPlanResource.

Exceptions

resourceGroupResource or resourceName is null.

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

Applies to