New-VBRvCDIndividualObjectStoragePolicy
Short Description
Defines Cloud Director storage policies for vApps or VMs.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
vAppNew-VBRvCDIndividualObjectStoragePolicy -VApp <CVcdVappItem> -StoragePolicy <CVcdOrgVdcStorageProfile> [<CommonParameters>]
-
VMNew-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 |
|---|---|---|---|---|---|
|
StoragePolicy |
Specifies the storage policy. The cmdlet will define a storage policy according to this policy settings.
Accepts the |
|
True |
Named |
False |
|
VApp |
Specifies the vApp for which you want to define a storage policy.
Accepts the |
|
True |
Named |
False |
|
VM |
Specifies the VM for which you want to define a storage policy.
Accepts the |
|
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
Perform the following steps:
|
Example 2. Defining VM Storage Policy
|
This example shows how to define a storage policy for the
Perform the following steps:
|
Related Commands
Find-VBRvCloudEntityLooks for Cloud Director entities.