次の方法で共有


PSRecoveryServicesClient.GetAzureSiteRecoveryPolicy Method

Definition

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

Applies to