PSRecoveryServicesClient.CreatePolicy(String, CreatePolicyInput) 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.
Creates Azure Site Recovery Policy.
public Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation CreatePolicy (string policyName, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.CreatePolicyInput input);
member this.CreatePolicy : string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.CreatePolicyInput -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.PSSiteRecoveryLongRunningOperation
Public Function CreatePolicy (policyName As String, input As CreatePolicyInput) As PSSiteRecoveryLongRunningOperation
Parameters
- policyName
- String
Policy Name
- input
- CreatePolicyInput
Policy Input
Returns
Long operation response