New-VBRvCDIndividualObjectStoragePolicy
Short Description
Defines Cloud Director storage policies for vApps or VMs.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides cmdlet sets that allow you to:
- Define the vApp storage policies.
New-VBRvCDIndividualObjectStoragePolicy -VApp <CVcdVappItem> -StoragePolicy <CVcdOrgVdcStorageProfile> [<CommonParameters>] |
- Define the VM storage policies.
New-VBRvCDIndividualObjectStoragePolicy -VM <CVcdVappItem> -StoragePolicy <CVcdOrgVdcStorageProfile> [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRvCDIndividualObjectStoragePolicy object. This object defines the settings of Cloud Director storage policies for vApps or VMs.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
VApp | Specifies the vApp for which you want to define a storage policy. | Accepts the CVcdVappItem object. To get this object, run the Find-VBRvCloudEntity cmdlet. | True | Named | False |
VM | Specifies the VM for which you want to define a storage policy. | Accepts the CVcdVappItem object. To get this object, run the Find-VBRvCloudEntity cmdlet. | True | Named | False |
StoragePolicy | Specifies the storage policy. The cmdlet will define a storage policy according to this policy settings. | Accepts the CVcdOrgVdcStorageProfile object. To get this object, run the Find-VBRvCloudEntity cmdlet. | True | 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 VBRvCDIndividualObjectStoragePolicy object that defines the settings of Cloud Director storage policies for vApps or VMs.
Examples
Example 1. Defining VApp Storage Policy
This example shows how to define a storage policy for the Atlanta05 vApp.
Perform the following steps:
|
Example 2. Defining VM Storage Policy
This example shows how to define a storage policy for the Admin05 VM.
Perform the following steps:
|
Related Commands