你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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