Data Object - StoragePlacementSpec

Parameter to
RecommendDatastores
Extends
DynamicData
See also
Folder, HostSystem, ResourcePool, StorageDrsPodSelectionSpec, VirtualMachine, VirtualMachineCloneSpec, VirtualMachineConfigSpec, VirtualMachineMovePriority, VirtualMachineRelocateSpec
Since
vSphere API 5.0

Data Object Description

StoragePlacementSpec encapsulates all of the inputs passed to the RecommendDatastores method.

NOTE: This data object type and all of its methods are experimental and subject to change in future releases.

Properties

Name Type Description
cloneName*xsd:string

Name for cloned virtual machine.
cloneSpec*VirtualMachineCloneSpec

Specification for a virtual machine cloning operation.
configSpec*VirtualMachineConfigSpec

Configuration for the virtual machine.
folder*ManagedObjectReference
to a Folder

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 CreateVM_Task method is invoked on.
host*ManagedObjectReference
to a HostSystem

The target host for the virtual machine.
podSelectionSpecStorageDrsPodSelectionSpec

Specification for moving a virtual machine or a set of virtual disks to a different storage pod.
priority*VirtualMachineMovePriority

Priority of this placement operation.
relocateSpec*VirtualMachineRelocateSpec

Specification for relocating a virtual machine.
resourcePool*ManagedObjectReference
to a ResourcePool

The resource pool to which this virtual machine should be attached.
typexsd:string

The storage placement type. The set of possible values is described in StoragePlacementSpecPlacementType
vm*ManagedObjectReference
to a VirtualMachine

The relevant virtual machine.
Properties inherited from DynamicData
dynamicProperty, dynamicType
*Need not be set
Show WSDL type definition