Package com.morpheusdata.model
Class VirtualImage
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.projection.VirtualImageIdentityProjection
-
- com.morpheusdata.model.VirtualImage
-
public class VirtualImage extends VirtualImageIdentityProjection
Describes a pre-built system image. TheCloudProvider
can be configured to sync existing images between your cloud provider and Morpheus.
-
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
protected java.lang.String
bucketId
protected java.lang.String
category
protected java.lang.String
code
protected java.util.List<StorageControllerIdentityProjection>
controllers
protected java.lang.Boolean
deleted
protected java.lang.String
description
protected java.lang.String
externalType
protected java.util.List<VirtualImageLocation>
imageLocations
protected java.lang.String
imageRegion
protected java.lang.Boolean
installAgent
protected java.lang.String
interfaceName
protected java.lang.String
internalId
protected java.lang.Boolean
isCloudInit
protected java.lang.Boolean
isForceCustomization
protected java.lang.Boolean
isPublic
protected java.lang.Boolean
isSysprep
protected java.util.List<java.lang.String>
locations
protected java.lang.Long
minDisk
protected java.lang.Long
minRam
protected OsType
osType
protected java.lang.String
platform
protected java.lang.String
refId
protected java.lang.String
refType
protected java.lang.String
remotePath
protected java.lang.String
status
protected java.lang.String
uniqueId
protected java.lang.Boolean
userDefined
protected java.lang.Boolean
userUploaded
protected java.lang.Boolean
virtioSupported
protected java.lang.Boolean
vmToolsInstalled
protected java.util.List<StorageVolumeIdentityProjection>
volumes
-
Fields inherited from class com.morpheusdata.model.projection.VirtualImageIdentityProjection
externalId, imageType, linkedClone, name, ownerId, snapshotId, systemImage, visibility
-
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
-
Constructor Summary
Constructors Constructor Description VirtualImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
java.lang.String
getBucketId()
java.lang.String
getCategory()
java.lang.String
getCode()
java.util.List<StorageControllerIdentityProjection>
getControllers()
Retrieve the list of StorageControllerIdentityProjections for the VirtualImage.java.lang.Boolean
getDeleted()
java.lang.String
getDescription()
java.lang.String
getExternalType()
java.lang.Boolean
getForceCustomization()
java.util.List<VirtualImageLocation>
getImageLocations()
Retrieve the list of VirtualImageLocations for the VirtualImage.java.lang.String
getImageRegion()
java.lang.Boolean
getInstallAgent()
java.lang.String
getInterfaceName()
java.lang.String
getInternalId()
java.util.List<java.lang.String>
getLocations()
java.lang.Long
getMinDisk()
java.lang.Long
getMinRam()
OsType
getOsType()
java.lang.String
getPlatform()
java.lang.Boolean
getPublic()
java.lang.String
getRefId()
java.lang.String
getRefType()
java.lang.String
getRemotePath()
java.lang.String
getStatus()
java.lang.Boolean
getSysprep()
java.lang.String
getUniqueId()
java.lang.Boolean
getUserDefined()
java.lang.Boolean
getUserUploaded()
java.lang.Boolean
getVirtioSupported()
java.lang.Boolean
getVmToolsInstalled()
java.util.List<StorageVolumeIdentityProjection>
getVolumes()
Retrieve the list of StorageVolumeIdentityProjections for the VirtualImage.java.lang.Boolean
isCloudInit()
void
setAccount(Account account)
void
setBucketId(java.lang.String bucketId)
void
setCategory(java.lang.String category)
void
setCode(java.lang.String code)
void
setControllers(java.util.List<StorageControllerIdentityProjection> controllers)
Set the list of StorageControllerIdentityProjections for the VirtualImage NOTE: To modify the list of controllers associated with this VirtualImage, utilize MorpheusStorageControllerServicevoid
setDeleted(java.lang.Boolean deleted)
void
setDescription(java.lang.String description)
void
setExternalType(java.lang.String externalType)
void
setForceCustomization(java.lang.Boolean forceCustomization)
void
setImageLocations(java.util.List<VirtualImageLocation> imageLocations)
Set the list of VirtualImageLocations for the VirtualImagevoid
setImageRegion(java.lang.String imageRegion)
void
setInstallAgent(java.lang.Boolean installAgent)
void
setInterfaceName(java.lang.String interfaceName)
void
setInternalId(java.lang.String internalId)
void
setIsCloudInit(java.lang.Boolean isCloudInit)
void
setLocations(java.util.List<java.lang.String> locations)
void
setMinDisk(java.lang.Long minDisk)
void
setMinRam(java.lang.Long minRam)
void
setOsType(OsType osType)
void
setPlatform(java.lang.String platform)
void
setPublic(java.lang.Boolean aPublic)
void
setRefId(java.lang.String refId)
void
setRefType(java.lang.String refType)
void
setRemotePath(java.lang.String remotePath)
void
setStatus(java.lang.String status)
void
setSysprep(java.lang.Boolean sysprep)
void
setUniqueId(java.lang.String uniqueId)
void
setUserDefined(java.lang.Boolean userDefined)
void
setUserUploaded(java.lang.Boolean userUploaded)
void
setVirtioSupported(java.lang.Boolean virtioSupported)
void
setVmToolsInstalled(java.lang.Boolean vmToolsInstalled)
void
setVolumes(java.util.List<StorageVolumeIdentityProjection> volumes)
Set the list of StorageVolumeIdentityProjections for the VirtualImage NOTE: To modify the list of volumes associated with this VirtualImage, utilize MorpheusStorageVolumeService-
Methods inherited from class com.morpheusdata.model.projection.VirtualImageIdentityProjection
getExternalId, getImageType, getLinkedClone, getName, getOwnerId, getSnapshotId, getSystemImage, getVisibility, setExternalId, setImageType, setLinkedClone, setName, setOwnerId, setSnapshotId, setSystemImage, setVisibility
-
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
-
-
-
Field Detail
-
account
protected Account account
-
code
protected java.lang.String code
-
description
protected java.lang.String description
-
uniqueId
protected java.lang.String uniqueId
-
category
protected java.lang.String category
-
externalType
protected java.lang.String externalType
-
isPublic
protected java.lang.Boolean isPublic
-
platform
protected java.lang.String platform
-
bucketId
protected java.lang.String bucketId
-
minDisk
protected java.lang.Long minDisk
-
minRam
protected java.lang.Long minRam
-
internalId
protected java.lang.String internalId
-
remotePath
protected java.lang.String remotePath
-
status
protected java.lang.String status
-
locations
protected java.util.List<java.lang.String> locations
-
osType
protected OsType osType
-
refId
protected java.lang.String refId
-
refType
protected java.lang.String refType
-
imageRegion
protected java.lang.String imageRegion
-
isForceCustomization
protected java.lang.Boolean isForceCustomization
-
isCloudInit
protected java.lang.Boolean isCloudInit
-
virtioSupported
protected java.lang.Boolean virtioSupported
-
deleted
protected java.lang.Boolean deleted
-
userUploaded
protected java.lang.Boolean userUploaded
-
userDefined
protected java.lang.Boolean userDefined
-
isSysprep
protected java.lang.Boolean isSysprep
-
vmToolsInstalled
protected java.lang.Boolean vmToolsInstalled
-
installAgent
protected java.lang.Boolean installAgent
-
interfaceName
protected java.lang.String interfaceName
-
imageLocations
protected java.util.List<VirtualImageLocation> imageLocations
-
volumes
protected java.util.List<StorageVolumeIdentityProjection> volumes
-
controllers
protected java.util.List<StorageControllerIdentityProjection> controllers
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getCode
public java.lang.String getCode()
-
setCode
public void setCode(java.lang.String code)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getUniqueId
public java.lang.String getUniqueId()
-
setUniqueId
public void setUniqueId(java.lang.String uniqueId)
-
getCategory
public java.lang.String getCategory()
-
setCategory
public void setCategory(java.lang.String category)
-
getPublic
public java.lang.Boolean getPublic()
-
setPublic
public void setPublic(java.lang.Boolean aPublic)
-
getPlatform
public java.lang.String getPlatform()
-
setPlatform
public void setPlatform(java.lang.String platform)
-
getBucketId
public java.lang.String getBucketId()
-
setBucketId
public void setBucketId(java.lang.String bucketId)
-
getMinDisk
public java.lang.Long getMinDisk()
-
setMinDisk
public void setMinDisk(java.lang.Long minDisk)
-
getLocations
public java.util.List<java.lang.String> getLocations()
-
setLocations
public void setLocations(java.util.List<java.lang.String> locations)
-
getOsType
public OsType getOsType()
-
setOsType
public void setOsType(OsType osType)
-
getRefId
public java.lang.String getRefId()
-
setRefId
public void setRefId(java.lang.String refId)
-
getRefType
public java.lang.String getRefType()
-
setRefType
public void setRefType(java.lang.String refType)
-
isCloudInit
public java.lang.Boolean isCloudInit()
-
setIsCloudInit
public void setIsCloudInit(java.lang.Boolean isCloudInit)
-
getImageLocations
public java.util.List<VirtualImageLocation> getImageLocations()
Retrieve the list of VirtualImageLocations for the VirtualImage. The same VirtualImage may span regions or Clouds and they are represented by VirtualImageLocations- Returns:
- locations
-
setImageLocations
public void setImageLocations(java.util.List<VirtualImageLocation> imageLocations)
Set the list of VirtualImageLocations for the VirtualImage- Parameters:
imageLocations
-
-
getVolumes
public java.util.List<StorageVolumeIdentityProjection> getVolumes()
Retrieve the list of StorageVolumeIdentityProjections for the VirtualImage.- Returns:
- volumes
-
setVolumes
public void setVolumes(java.util.List<StorageVolumeIdentityProjection> volumes)
Set the list of StorageVolumeIdentityProjections for the VirtualImage NOTE: To modify the list of volumes associated with this VirtualImage, utilize MorpheusStorageVolumeService- Parameters:
volumes
-
-
getControllers
public java.util.List<StorageControllerIdentityProjection> getControllers()
Retrieve the list of StorageControllerIdentityProjections for the VirtualImage.- Returns:
- controllers
-
setControllers
public void setControllers(java.util.List<StorageControllerIdentityProjection> controllers)
Set the list of StorageControllerIdentityProjections for the VirtualImage NOTE: To modify the list of controllers associated with this VirtualImage, utilize MorpheusStorageControllerService- Parameters:
controllers
-
-
getMinRam
public java.lang.Long getMinRam()
-
setMinRam
public void setMinRam(java.lang.Long minRam)
-
getInternalId
public java.lang.String getInternalId()
-
setInternalId
public void setInternalId(java.lang.String internalId)
-
getRemotePath
public java.lang.String getRemotePath()
-
setRemotePath
public void setRemotePath(java.lang.String remotePath)
-
getStatus
public java.lang.String getStatus()
-
setStatus
public void setStatus(java.lang.String status)
-
getForceCustomization
public java.lang.Boolean getForceCustomization()
-
setForceCustomization
public void setForceCustomization(java.lang.Boolean forceCustomization)
-
getVirtioSupported
public java.lang.Boolean getVirtioSupported()
-
setVirtioSupported
public void setVirtioSupported(java.lang.Boolean virtioSupported)
-
getImageRegion
public java.lang.String getImageRegion()
-
setImageRegion
public void setImageRegion(java.lang.String imageRegion)
-
getDeleted
public java.lang.Boolean getDeleted()
- Overrides:
getDeleted
in classVirtualImageIdentityProjection
-
setDeleted
public void setDeleted(java.lang.Boolean deleted)
- Overrides:
setDeleted
in classVirtualImageIdentityProjection
-
getSysprep
public java.lang.Boolean getSysprep()
-
setSysprep
public void setSysprep(java.lang.Boolean sysprep)
-
getVmToolsInstalled
public java.lang.Boolean getVmToolsInstalled()
-
setVmToolsInstalled
public void setVmToolsInstalled(java.lang.Boolean vmToolsInstalled)
-
getInstallAgent
public java.lang.Boolean getInstallAgent()
-
setInstallAgent
public void setInstallAgent(java.lang.Boolean installAgent)
-
getInterfaceName
public java.lang.String getInterfaceName()
-
setInterfaceName
public void setInterfaceName(java.lang.String interfaceName)
-
getUserUploaded
public java.lang.Boolean getUserUploaded()
-
setUserUploaded
public void setUserUploaded(java.lang.Boolean userUploaded)
-
getExternalType
public java.lang.String getExternalType()
-
setExternalType
public void setExternalType(java.lang.String externalType)
-
getUserDefined
public java.lang.Boolean getUserDefined()
-
setUserDefined
public void setUserDefined(java.lang.Boolean userDefined)
-
-