Search

Class VcStoragePlacementSpec

Extends VcDynamicData
StoragePlacementSpec encapsulates all of the inputs passed to the VcStorageResourceManager method.

Attributes

Name Type Description
cloneName String Name for cloned virtual machine.
cloneSpec VcVirtualMachineCloneSpec Specification for a virtual machine cloning operation.
configSpec VcVirtualMachineConfigSpec Configuration for the virtual machine.
disallowPrerequisiteMoves boolean Specification for whether to disable pre-requisite storage vmotions for storage placements. If unset, default behavior is to allow such prerequisite moves.
folder VcFolder The target virtual machine folder for the virtual machine. Note that this is a different folder than the pod(s) that the virtual machine belongs to. The pod mapping represents the storage view of the virtual machine, while the virtual machine folder mapping represents an inventory view of the virtual machine. For manual VM provisioning operations, this is specified implicitly as the object that the <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcFolder.html#createVm">VcFolder</a> method is invoked on.
host VcHostSystem The target host for the virtual machine.
podSelectionSpec VcStorageDrsPodSelectionSpec Specification for moving a virtual machine or a set of virtual disks to a different storage pod.
priority VcVirtualMachineMovePriority Priority of this placement operation.
relocateSpec VcVirtualMachineRelocateSpec Specification for relocating a virtual machine.
resourceLeaseDurationSec Number Resource lease duration in seconds. If the duration is within bounds, Storage DRS will hold onto resources needed for applying recommendations generated as part of that call. Only initial placement recommendations generated by storage DRS can reserve resources this way.
resourcePool VcResourcePool The resource pool to which this virtual machine should be attached.
type String The storage placement type. The set of possible values is described in <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcStoragePlacementSpecPlacementType.html">VcStoragePlacementSpecPlacementType</a>
vm VcVirtualMachine The relevant virtual machine.

Methods

Name Returns
VcStoragePlacementSpec() constructor

Returned by

None

Referenced in

Method Returns
VcStorageResourceManager.recommendDatastores(VcStoragePlacementSpec storageSpec) VcStoragePlacementResult