public class AddVMFromImportCandidateParameters extends AddVmFromScratchParameters
Constructor and Description |
---|
AddVMFromImportCandidateParameters()
Use this c'tor when you want to use the candidate's name as the name of the imported VM.
|
AddVMFromImportCandidateParameters(CandidateInfoParameters candidateInfoParameters,
boolean force,
Guid storageDomainId) |
AddVMFromImportCandidateParameters(CandidateInfoParameters candidateInfoParameters,
String vmNewName,
boolean force,
Guid storageDomainId)
Use this c'tor when you want to give a new name to the imported VM other than the candidate's name.
|
Modifier and Type | Method and Description |
---|---|
CandidateInfoParameters |
getCandidateInfoParams() |
boolean |
getForce() |
String |
getVmNewName() |
protected void |
setForce(boolean value) |
getDiskInfoList, getInterfaces, setDiskInfoList, setInterfaces
getDontAttachToDefaultTag, getDontCheckTemplateImages, getStorageDomainId, getVm, getVmStaticData, isMakeCreatorExplicitOwner, setDontAttachToDefaultTag, setDontCheckTemplateImages, setMakeCreatorExplicitOwner, setStorageDomainId, setVm, setVmStaticData
getVmId, setVmId
Accept, equals, getEntityId, getHttpSessionId, getImagesParameters, getMultipleAction, getParametersCurrentUser, getParentCommand, getParentParameters, getSessionId, getShouldBeLogged, getTaskGroupSuccess, getTaskIds, getTaskStartTime, getTransactionScopeOption, hashCode, isCompensationEnabled, setCompensationEnabled, setEntityId, setImagesParameters, setMultipleAction, setParametersCurrentUser, setParentCommand, setParentParemeters, setSessionId, setShouldBeLogged, setTaskGroupSuccess, setTaskIds, setTaskStartTime, setTransactionScopeOption
public AddVMFromImportCandidateParameters()
candidateInfoParameters
- the candidate info parametersforce
- force override if VM with the same GUID already exists in the VDC (What about VmWare?...)public AddVMFromImportCandidateParameters(CandidateInfoParameters candidateInfoParameters, boolean force, Guid storageDomainId)
public AddVMFromImportCandidateParameters(CandidateInfoParameters candidateInfoParameters, String vmNewName, boolean force, Guid storageDomainId)
candidateInfoParameters
- the candidate info parametersvmNewName
- the name that the imported VM will be givenforce
- force override if VM with the same GUID already exists in the VDC (What about VmWare?...)public boolean getForce()
protected void setForce(boolean value)
public CandidateInfoParameters getCandidateInfoParams()
public String getVmNewName()
Copyright © 2012. All Rights Reserved.