Start-AzureRmSiteRecoveryCommitFailoverJob

Starts the commit failover action for a Site Recovery object.

Syntax

Start-AzureRmSiteRecoveryCommitFailoverJob
     -ReplicationProtectedItem <ASRReplicationProtectedItem>
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]
Start-AzureRmSiteRecoveryCommitFailoverJob
     -RecoveryPlan <ASRRecoveryPlan>
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]
Start-AzureRmSiteRecoveryCommitFailoverJob
     -ProtectionEntity <ASRProtectionEntity>
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]

Description

The Start-AzureRmSiteRecoveryCommitFailoverJob cmdlet starts the commit failover process for an Azure Site Recovery object after a failover operation.

Required Parameters

-ProtectionEntity

Specifies the Site Recovery protection entity object.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRProtectionEntity
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-RecoveryPlan

Specifies a recovery plan object.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRRecoveryPlan
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-ReplicationProtectedItem
Type:Microsoft.Azure.Commands.SiteRecovery.ASRReplicationProtectedItem
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ASRProtectionEntity

Parameter 'ProtectionEntity' accepts value of type 'ASRProtectionEntity' from the pipeline

Inputs

ASRRecoveryPlan

Parameter 'RecoveryPlan' accepts value of type 'ASRRecoveryPlan' from the pipeline

Inputs

ASRReplicationProtectedItem

Parameter 'ReplicationProtectedItem' accepts value of type 'ASRReplicationProtectedItem' from the pipeline

Outputs

Microsoft.Azure.Commands.SiteRecovery.ASRJob