New-AzRecoveryServicesAsrPolicy

  Az.RecoveryServices
Module Version:

2.4.0

NAME:
New-AzRecoveryServicesAsrPolicy
DESCRIPTION:

The New-AzRecoveryServicesAsrPolicy cmdlet creates an Azure Site Recovery replication policy. The replication policy is used to specify replication settings such
as the replication frequency and number of recovery points.

EXAMPLES:

SYNTAX:

SYNOPSIS:
Creates an Azure Site Recovery replication policy.
INPUTS:

None

OUTPUTS:

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob

PARAMETERS:

-ApplicationConsistentSnapshotFrequencyInHours
Specifies the frequency(in hours) at which to create application consistent recovery points.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-Authentication
Specifies the type of authentication used. Valid values are:

– Certificate

– Kerberos

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-AzureToAzure
Switch parameter specifies the scenario for azure to azure policy creation.

Required? true
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-AzureToVMware
Switch parameter specifies the scenario for azure to vMWare policy creation.

Required? true
Position? 0
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-Compression
Specifies if compression should be enabled.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-HyperVToAzure
Switch parameter to specify policy is to be used to replicate Hyper-V virtual machines to Azure

Required? false
Position? 0
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-MultiVmSyncStatus
Specifies multiVm sync status for the policy.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-Name
Specifies the name of the ASR replication policy.

Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-NumberOfRecoveryPointsToRetain
Specifies the number recovery points to retain.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-RecoveryAzureStorageAccountId
Specifies the ID of the Azure storage account to replicate to.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-RecoveryPointRetentionInHours
Retain the recovery points for given time in hours.

Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-ReplicaDeletion
Specifies if the replica virtual machine should be deleted on disabling replication from a VMM managed site to another.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-ReplicationFrequencyInSeconds
Specifies the replication frequency interval in seconds. Valid values are:

– 30

– 300

– 900

Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-ReplicationMethod
Specifies the replication method. Valid values are:

– Online

– Offline

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-ReplicationPort
Specifies the port used for replication.

Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-ReplicationProvider
Specifies the replication provider for the policy.

Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-ReplicationStartTime
Specifies the replication start time. It must be no later than 24-hours from the start of the job.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-RPOWarningThresholdInMinutes
The RPO threshold value in minutes to warn on.

Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-VmmToVmm
Switch parameter to specify policy is to be used to replicate between Hyper-V sites managed by a VMM server.

Required? false
Position? 0
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-VMwareToAzure
Switch parameter specifying that the replication policy being created will be used to replicate VMware virtual machines and/or Physical servers to Azure.

Required? true
Position? 0
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-Confirm
Prompts you for confirmation before running the cmdlet.

Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

LEAVE A COMMENT