public class PlacementAction extends ClusterAction
Java class for PlacementAction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PlacementAction">
<complexContent>
<extension base="{urn:vim25}ClusterAction">
<sequence>
<element name="vm" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="targetHost" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="relocateSpec" type="{urn:vim25}VirtualMachineRelocateSpec" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected VirtualMachineRelocateSpec |
relocateSpec |
protected ManagedObjectReference |
targetHost |
protected ManagedObjectReference |
vm |
target, type| Constructor and Description |
|---|
PlacementAction() |
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineRelocateSpec |
getRelocateSpec()
Gets the value of the relocateSpec property.
|
ManagedObjectReference |
getTargetHost()
Gets the value of the targetHost property.
|
ManagedObjectReference |
getVm()
Gets the value of the vm property.
|
void |
setRelocateSpec(VirtualMachineRelocateSpec value)
Sets the value of the relocateSpec property.
|
void |
setTargetHost(ManagedObjectReference value)
Sets the value of the targetHost property.
|
void |
setVm(ManagedObjectReference value)
Sets the value of the vm property.
|
getTarget, getType, setTarget, setTypeprotected ManagedObjectReference vm
protected ManagedObjectReference targetHost
protected VirtualMachineRelocateSpec relocateSpec
public ManagedObjectReference getVm()
ManagedObjectReferencepublic void setVm(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic ManagedObjectReference getTargetHost()
ManagedObjectReferencepublic void setTargetHost(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic VirtualMachineRelocateSpec getRelocateSpec()
VirtualMachineRelocateSpecpublic void setRelocateSpec(VirtualMachineRelocateSpec value)
value - allowed object is
VirtualMachineRelocateSpecCopyright © 2018. All rights reserved.