< Back

Start-AzureRmSiteRecoveryPolicyAssociationJob

Thu Apr 04, 2019 5:40 am

NAME Start-AzureRmSiteRecoveryPolicyAssociationJob



SYNOPSIS

Starts a Site Recovery replication policy association job.





SYNTAX

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

<ASRProtectionContainer> -RecoveryProtectionContainer <ASRProtectionContainer> [<CommonParameters>]





DESCRIPTION

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

Recovery protection container.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



-Policy <ASRPolicy>

Specifies the Site Recovery policy object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-PrimaryProtectionContainer <ASRProtectionContainer>

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



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RecoveryProtectionContainer <ASRProtectionContainer>

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



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

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).



INPUTS

ASRPolicy

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





OUTPUTS

Microsoft.Azure.Commands.SiteRecovery.ASRJob







NOTES











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ciationjob