PSRecoveryServicesClient.GetAzureSiteRecoveryPolicy 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.
Overloads
GetAzureSiteRecoveryPolicy() |
Gets Azure Site Recovery Policy. |
GetAzureSiteRecoveryPolicy(String) |
Gets Azure Site Recovery Policy given the ID. |
GetAzureSiteRecoveryPolicy()
Gets Azure Site Recovery Policy.
public System.Collections.Generic.List<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.Policy> GetAzureSiteRecoveryPolicy ();
member this.GetAzureSiteRecoveryPolicy : unit -> System.Collections.Generic.List<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.Policy>
Public Function GetAzureSiteRecoveryPolicy () As List(Of Policy)
Returns
Policy list response
Applies to
GetAzureSiteRecoveryPolicy(String)
Gets Azure Site Recovery Policy given the ID.
public Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.Policy GetAzureSiteRecoveryPolicy (string PolicyName);
member this.GetAzureSiteRecoveryPolicy : string -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.Policy
Public Function GetAzureSiteRecoveryPolicy (PolicyName As String) As Policy
Parameters
- PolicyName
- String
Policy Name
Returns
Policy response