MockableRecoveryServicesSiteRecoveryResourceGroupResource.GetSiteRecoveryPolicies Method

Definition

Gets a collection of SiteRecoveryPolicyResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryPolicyCollection GetSiteRecoveryPolicies (string resourceName);
abstract member GetSiteRecoveryPolicies : string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryPolicyCollection
override this.GetSiteRecoveryPolicies : string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryPolicyCollection
Public Overridable Function GetSiteRecoveryPolicies (resourceName As String) As SiteRecoveryPolicyCollection

Parameters

resourceName
String

The name of the recovery services vault.

Returns

An object representing collection of SiteRecoveryPolicyResources and their operations over a SiteRecoveryPolicyResource.

Exceptions

resourceName is null.

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

Applies to