Set-VBRvCDCDPPolicy
Short Description
Modifies a Cloud Director CDP policy.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRvCDCDPPolicy -Policy <VBRvCDCDPPolicy> [-Name <String>] [-Description <String>] [-SourceObject <IVcdItem[]>] [-ExcludedObject <IVcdItem[]>] [-EnableNetworkMapping] [-SourceNetwork <VBRvCDOrgVdcNetworkInfo[]>] [-TargetNetwork <VBRvCDOrgVdcNetworkInfo[]>] [-EnableInitialSeeding] [-RepositorySeed <CBackupRepository>] [-EnableReplicaMapping] [-OriginalVApp <CVcdVappItem[]>] [-ReplicaVApp <CVcdVappItem[]>] [-SourceProxy <VBRCDPProxy[]>] [-TargetProxy <VBRCDPProxy[]>] [-Suffix <String>] [-EnableApplicationProcessing] [-GuestProcessingOptions <VBRReplicaApplicationProcessingOptions>] [-CompressionLevel <VBRCompressionLevel>] [-NotificationOptions <VBRNotificationOptions>] [-RetentionOptions <VBRCDPPolicyRetentionOptions>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies a Cloud Director CDP policy.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CompressionLevel |
Specifies the compression level for the replicated data:
|
|
False |
Named |
False |
|
Description |
Specifies a description for the CDP policy. The cmdlet will replace the CDP policy description with this description. |
|
False |
Named |
False |
|
EnableApplicationProcessing |
Enables guest processing settings for the CDP policy.
Use the |
|
False |
Named |
False |
|
EnableInitialSeeding |
Enables replica seeding. |
|
False |
Named |
False |
|
EnableNetworkMapping |
Enables network mapping. |
|
False |
Named |
False |
|
EnableReplicaMapping |
Enables the replica mapping functionality. |
|
False |
Named |
False |
|
ExcludedObject |
Specifies an array of VM containers that you want to exclude from the CDP policy. You can exclude the following types of Cloud Director source objects:
Accepts the |
|
False |
Named |
False |
|
GuestProcessingOptions |
Specifies guest processing options.
Accepts the |
|
False |
Named |
False |
|
Name |
Specifies a name for the CDP policy. The cmdlet will replace the CDP policy name with this name. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification options of the CDP policy.
Accepts the |
False |
Named |
False |
|
|
OriginalVApp |
For the replica mapping functionality. Specifies an array of productions vApp for which you plan to use replica mapping. The CDP policy will map these vApps to the vApps in the disaster recovery site.
Use the
Accepts the |
|
False |
Named |
False |
|
Policy |
Specifies the Cloud Director CDP policy that you want to modify.
Accepts the |
|
True |
Named |
True (ByValue) |
|
ReplicaVApp |
For the replica mapping functionality. Specifies an array of vApps in the disaster recovery site. The cmdlet will map the production vApps to these vApps and will use these vApps as replicas.
Use the
Accepts the |
|
False |
Named |
False |
|
RepositorySeed |
For the replica seeding functionality. Specifies the backup repository that keeps the full backups of vApps that you want to replicate.
Accepts the |
|
False |
Named |
False |
|
RetentionOptions |
Specifies retention settings.
Accepts the |
|
False |
Named |
False |
|
SourceNetwork |
For the network mapping functionality. Specifies an array of the production networks to which the vApps are connected. Note: The number of the source and the target networks must be the same.
Accepts the |
|
False |
Named |
False |
|
SourceObject |
Specifies an array of the vApps that you want to protect.
Accepts the |
|
False |
Named |
False |
|
SourceProxy |
Specifies an array of the CDP proxy in the production site that you want to assign to the CDP policy. Default: Automatic selection.
Accepts the |
|
False |
Named |
False |
|
Suffix |
Specifies the suffix that the cmdlet will add to the name of vApps replicated with CDP policies. |
|
False |
Named |
False |
|
TargetNetwork |
For the network mapping functionality. Specifies an array of the networks in the Disaster Recovery site. The replicated vApps will be connected to these networks. Note: The number of the source and the target networks must be the same.
Accepts the |
|
False |
Named |
False |
|
TargetProxy |
Specifies an array of the target CDP proxies that you want to assign to the CDP policy. Default: Automatic selection.
Accepts the |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRvCDCDPPolicy object that defines settings of the CDP policy.
Examples
Creating Cloud Director CDP Policy
This example shows how to modify the compression level for the replicated data. The cmdlet will set the compression level to dedupe-friendly compression level.
|
$policy = Get-VBRCDPPolicy Set-VBRvCDCDPPolicy -Policy $policy -CompressionLevel DedupeFriendly |
Perform the following steps:
- Run the
Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet. Specify theNameparameter value. Save the result to the$servervariable. - Run the
Set-VBRvCDCDPPolicycmdlet. Set the$policyvariable as thePolicyparameter value. Specify theCompressionLevelparameter value.
Related Commands
Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.