public class StoragePlacementSpec extends DynamicData
Java class for StoragePlacementSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StoragePlacementSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="priority" type="{urn:vim25}VirtualMachineMovePriority" minOccurs="0"/>
<element name="vm" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="podSelectionSpec" type="{urn:vim25}StorageDrsPodSelectionSpec"/>
<element name="cloneSpec" type="{urn:vim25}VirtualMachineCloneSpec" minOccurs="0"/>
<element name="cloneName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="configSpec" type="{urn:vim25}VirtualMachineConfigSpec" minOccurs="0"/>
<element name="relocateSpec" type="{urn:vim25}VirtualMachineRelocateSpec" minOccurs="0"/>
<element name="resourcePool" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="host" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="folder" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="disallowPrerequisiteMoves" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="resourceLeaseDurationSec" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
cloneName |
protected VirtualMachineCloneSpec |
cloneSpec |
protected VirtualMachineConfigSpec |
configSpec |
protected Boolean |
disallowPrerequisiteMoves |
protected ManagedObjectReference |
folder |
protected ManagedObjectReference |
host |
protected StorageDrsPodSelectionSpec |
podSelectionSpec |
protected VirtualMachineMovePriority |
priority |
protected VirtualMachineRelocateSpec |
relocateSpec |
protected Integer |
resourceLeaseDurationSec |
protected ManagedObjectReference |
resourcePool |
protected String |
type |
protected ManagedObjectReference |
vm |
| Constructor and Description |
|---|
StoragePlacementSpec() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCloneName()
Gets the value of the cloneName property.
|
VirtualMachineCloneSpec |
getCloneSpec()
Gets the value of the cloneSpec property.
|
VirtualMachineConfigSpec |
getConfigSpec()
Gets the value of the configSpec property.
|
ManagedObjectReference |
getFolder()
Gets the value of the folder property.
|
ManagedObjectReference |
getHost()
Gets the value of the host property.
|
StorageDrsPodSelectionSpec |
getPodSelectionSpec()
Gets the value of the podSelectionSpec property.
|
VirtualMachineMovePriority |
getPriority()
Gets the value of the priority property.
|
VirtualMachineRelocateSpec |
getRelocateSpec()
Gets the value of the relocateSpec property.
|
Integer |
getResourceLeaseDurationSec()
Gets the value of the resourceLeaseDurationSec property.
|
ManagedObjectReference |
getResourcePool()
Gets the value of the resourcePool property.
|
String |
getType()
Gets the value of the type property.
|
ManagedObjectReference |
getVm()
Gets the value of the vm property.
|
Boolean |
isDisallowPrerequisiteMoves()
Gets the value of the disallowPrerequisiteMoves property.
|
void |
setCloneName(String value)
Sets the value of the cloneName property.
|
void |
setCloneSpec(VirtualMachineCloneSpec value)
Sets the value of the cloneSpec property.
|
void |
setConfigSpec(VirtualMachineConfigSpec value)
Sets the value of the configSpec property.
|
void |
setDisallowPrerequisiteMoves(Boolean value)
Sets the value of the disallowPrerequisiteMoves property.
|
void |
setFolder(ManagedObjectReference value)
Sets the value of the folder property.
|
void |
setHost(ManagedObjectReference value)
Sets the value of the host property.
|
void |
setPodSelectionSpec(StorageDrsPodSelectionSpec value)
Sets the value of the podSelectionSpec property.
|
void |
setPriority(VirtualMachineMovePriority value)
Sets the value of the priority property.
|
void |
setRelocateSpec(VirtualMachineRelocateSpec value)
Sets the value of the relocateSpec property.
|
void |
setResourceLeaseDurationSec(Integer value)
Sets the value of the resourceLeaseDurationSec property.
|
void |
setResourcePool(ManagedObjectReference value)
Sets the value of the resourcePool property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setVm(ManagedObjectReference value)
Sets the value of the vm property.
|
protected String type
protected VirtualMachineMovePriority priority
protected ManagedObjectReference vm
protected StorageDrsPodSelectionSpec podSelectionSpec
protected VirtualMachineCloneSpec cloneSpec
protected String cloneName
protected VirtualMachineConfigSpec configSpec
protected VirtualMachineRelocateSpec relocateSpec
protected ManagedObjectReference resourcePool
protected ManagedObjectReference host
protected ManagedObjectReference folder
protected Boolean disallowPrerequisiteMoves
protected Integer resourceLeaseDurationSec
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic VirtualMachineMovePriority getPriority()
VirtualMachineMovePrioritypublic void setPriority(VirtualMachineMovePriority value)
value - allowed object is
VirtualMachineMovePrioritypublic ManagedObjectReference getVm()
ManagedObjectReferencepublic void setVm(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic StorageDrsPodSelectionSpec getPodSelectionSpec()
StorageDrsPodSelectionSpecpublic void setPodSelectionSpec(StorageDrsPodSelectionSpec value)
value - allowed object is
StorageDrsPodSelectionSpecpublic VirtualMachineCloneSpec getCloneSpec()
VirtualMachineCloneSpecpublic void setCloneSpec(VirtualMachineCloneSpec value)
value - allowed object is
VirtualMachineCloneSpecpublic String getCloneName()
Stringpublic void setCloneName(String value)
value - allowed object is
Stringpublic VirtualMachineConfigSpec getConfigSpec()
VirtualMachineConfigSpecpublic void setConfigSpec(VirtualMachineConfigSpec value)
value - allowed object is
VirtualMachineConfigSpecpublic VirtualMachineRelocateSpec getRelocateSpec()
VirtualMachineRelocateSpecpublic void setRelocateSpec(VirtualMachineRelocateSpec value)
value - allowed object is
VirtualMachineRelocateSpecpublic ManagedObjectReference getResourcePool()
ManagedObjectReferencepublic void setResourcePool(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic ManagedObjectReference getHost()
ManagedObjectReferencepublic void setHost(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic ManagedObjectReference getFolder()
ManagedObjectReferencepublic void setFolder(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic Boolean isDisallowPrerequisiteMoves()
Booleanpublic void setDisallowPrerequisiteMoves(Boolean value)
value - allowed object is
Booleanpublic Integer getResourceLeaseDurationSec()
IntegerCopyright © 2018. All rights reserved.