Start-AzureRmSiteRecoveryPolicyAssociationJob

Starts a Site Recovery replication policy association job.

Syntax

Start-AzureRmSiteRecoveryPolicyAssociationJob
     -Policy <ASRPolicy>
     -PrimaryProtectionContainer <ASRProtectionContainer>
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]
Start-AzureRmSiteRecoveryPolicyAssociationJob
     -Policy <ASRPolicy>
     -PrimaryProtectionContainer <ASRProtectionContainer>
     -RecoveryProtectionContainer <ASRProtectionContainer>
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]

Description

The Start-AzureRmSiteRecoveryPolicyAssociationJob cmdlet initiates an association job to associate a replication policy with an Azure Site Recovery protection container.

Required Parameters

-Policy

Specifies the Site Recovery policy object.

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

Specifies the primary protection container on which to apply the protection profile settings.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRProtectionContainer
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RecoveryProtectionContainer

Specifies the recovery protection container on which to apply the protection profile settings.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRProtectionContainer
Position:Named
Default value:None
Accept pipeline input:False
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

ASRPolicy

Parameter 'Policy' accepts value of type 'ASRPolicy' from the pipeline

Outputs

Microsoft.Azure.Commands.SiteRecovery.ASRJob