RecoveryServicesSiteRecoveryExtensions.GetSiteRecoveryPolicies Method
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 SiteRecoveryPolicyResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSiteRecoveryPolicies(String) instead.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryPolicyCollection GetSiteRecoveryPolicies(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName);
static member GetSiteRecoveryPolicies : Azure.ResourceManager.Resources.ResourceGroupResource * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryPolicyCollection
<Extension()>
Public Function GetSiteRecoveryPolicies (resourceGroupResource As ResourceGroupResource, resourceName As String) As SiteRecoveryPolicyCollection
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- resourceName
- String
The name of the recovery services vault.
An object representing collection of SiteRecoveryPolicyResources and their operations over a SiteRecoveryPolicyResource.
resourceGroupResource
or resourceName
is null.
resourceName
is an empty string, and was expected to be non-empty.
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: