Share via


PSRecoveryServicesClient.UpdatePolicy(String, UpdatePolicyInput) Method

Definition

Update Azure Site Recovery Policy.

public Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation UpdatePolicy (string policyName, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.UpdatePolicyInput input);
member this.UpdatePolicy : string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.UpdatePolicyInput -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation
Public Function UpdatePolicy (policyName As String, input As UpdatePolicyInput) As PSSiteRecoveryLongRunningOperation

Parameters

policyName
String

Policy Name

input
UpdatePolicyInput

Policy Input

Returns

Long operation response

Applies to