RecoveryServicesSiteRecoveryExtensions.GetSiteRecoveryRecoveryPlans Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET