< Back

New-AzureSiteRecoveryProtectionProfileObject

Wed Jan 30, 2019 5:48 pm

NAME New-AzureSiteRecoveryProtectionProfileObject



SYNOPSIS

Creates a Protection profile object . This is an in memory object to be further supplied for Protection Profile related operations.





SYNTAX

New-AzureSiteRecoveryProtectionProfileObject -ReplicationFrequencyInSeconds <string> -ReplicationProvider <string> [-AllowReplicaDeletion]

[-ApplicationConsistentSnapshotFrequencyInHours <int>] [-Authentication <string>] [-CompressionEnabled] [-Force] [-Name <string>] [-RecoveryPoints

<int>] [-ReplicationMethod <string>] [-ReplicationPort <int>] [-ReplicationStartTime <TimeSpan>] [<CommonParameters>]



New-AzureSiteRecoveryProtectionProfileObject -RecoveryAzureStorageAccount <string> -RecoveryAzureSubscription <string> -ReplicationFrequencyInSeconds

<string> -ReplicationProvider <string> [-ApplicationConsistentSnapshotFrequencyInHours <int>] [-Force] [-Name <string>] [-RecoveryPoints <int>]

[-ReplicationStartTime <TimeSpan>] [<CommonParameters>]





DESCRIPTION

Creates a Protection profile object in memory. This command can be used to return a protection profile object to be further supplied for Protection

Profile related operations.





PARAMETERS

-AllowReplicaDeletion [<SwitchParameter>]

Switch parameter indicating whether replica entity deletion is to be enabled.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApplicationConsistentSnapshotFrequencyInHours <int>

Frequency of Application Consistent Snapshot in hours.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Authentication <string>

Type of authentication to be used. Possible values are Certificate and Kerberos.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CompressionEnabled [<SwitchParameter>]

Switch parameter indicating whether compression is to be Enabled.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]

Specify this to bypass the confirm action and take the default (Y).



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <string>

Can be used to provide a name to the protection profile settings object that is to be created.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RecoveryAzureStorageAccount <string>

Azure Storage account name on which the Azure replica entity would be located.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RecoveryAzureSubscription <string>

Azure Subscription ID corresponding to the storage account on which the Azure replica entity would be located.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RecoveryPoints <int>

Number of hours to retain Recovery points.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ReplicationFrequencyInSeconds <string>

Replication frequency interval in seconds.

As of now, only three possible values supported.

30 seconds, 300 seconds, 900 seconds.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ReplicationMethod <string>

Replication Method either Online - over the network or Offline.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ReplicationPort <int>

Port on which the replication would take place.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ReplicationProvider <string>

Type of Replication Provider either HyperVReplica or HyperVReplicaAzure.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ReplicationStartTime <TimeSpan>

Replication Start Time. It should be within the next 24 hours of the start of the job.



Required? false

Position? named

Default value

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS

ASRProtectionProfile







NOTES







Keywords: azure, azuresm, servicemanagement, management, service, site, recovery







-------------------------- EXAMPLE 1 --------------------------



C:\\PS>New-AzureSiteRecoveryProtectionProfileObject -ReplicationProvider HyperVReplica -ReplicationMethod Online -ReplicationFrequencyInSeconds 30

-RecoveryPoints 2 -ApplicationConsistentSnapshotFrequencyInHours 1 -CompressionEnabled -ReplicationPort 8085 -ReplicationStartTime 1

-AllowReplicaDeletion



Name :

ID :

ReplicationProvider : HyperVReplica

HyperVReplicaProviderSettingsObject : Microsoft.Azure.Portal.RecoveryServices.Models.Common.HyperVReplicaProviderS

ettings

HyperVReplicaAzureProviderSettingsObject :



Description



-----------











-------------------------- EXAMPLE 2 --------------------------



C:\\PS>New-AzureSiteRecoveryProtectionProfileObject -Name protProfile -ReplicationProvider HyperVReplicaAzure -RecoveryAzureSubscription

cb53d0c3-bd59-4721-89bc-06916a9147ef -RecoveryAzureStorageAccount test -ReplicationFrequencyInSeconds 30 -RecoveryPoints 1 -Force



Name : protProfile

ID :

ReplicationProvider : HyperVReplicaAzure

HyperVReplicaProviderSettingsObject :

HyperVReplicaAzureProviderSettingsObject : Microsoft.Azure.Portal.RecoveryServices.Models.Common.HyperVReplicaAzureProv

iderSettings



Description



-----------













RELATED LINKS