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.

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.
disallowPrerequisiteMoves*xsd:boolean

Specification for whether to disable pre-requisite storage vmotions for storage placements. If unset, default behavior is to allow such prerequisite moves.

Since vSphere API 5.1
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.
resourceLeaseDurationSec*xsd:int

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.

Since vSphere API 5.1
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