Package com.morpheusdata.model
Class VirtualImage
Describes a pre-built system image. The
CloudProvider
can be configured to sync
existing images between your cloud provider and Morpheus.-
Field Summary
Modifier and TypeFieldDescriptionprotected Account
protected String
protected String
protected String
protected String
protected String
protected List<StorageControllerIdentityProjection>
protected Boolean
protected Boolean
protected String
protected String
protected String
protected String
protected List<VirtualImageLocation>
protected String
protected Boolean
protected String
protected String
protected Boolean
protected Boolean
protected Boolean
protected Boolean
protected String
protected List<MetadataTag>
protected Long
protected Long
protected OsType
protected Account
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Boolean
protected String
protected Double
protected String
protected Boolean
protected Boolean
protected String
protected Boolean
protected Boolean
protected Boolean
protected VirtualImageType
protected String
protected Boolean
protected List<StorageVolumeIdentityProjection>
Fields inherited from class com.morpheusdata.model.projection.VirtualImageIdentityProjection
externalDiskId, externalId, imageType, linkedClone, name, ownerId, snapshotId, systemImage, visibility
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Retrieve the list of StorageControllerIdentityProjections for the VirtualImage.Retrieve the list of VirtualImageLocations for the VirtualImage.getOwner()
getRefId()
getTpm()
getUefi()
Retrieve the VirtualImageType for the VirtualImageRetrieve the list of StorageVolumeIdentityProjections for the VirtualImage.void
setAccount
(Account account) void
setArchitecture
(String architecture) void
setBlockDeviceConfig
(String config) void
setBucketId
(String bucketId) void
setCategory
(String category) void
setCloudInit
(Boolean cloudInit) void
void
setControllers
(List<StorageControllerIdentityProjection> controllers) Set the list of StorageControllerIdentityProjections for the VirtualImage NOTE: To modify the list of controllers associated with this VirtualImage, utilize MorpheusStorageControllerServicevoid
setCredentialGuard
(Boolean credentialGuard) void
setDeleted
(Boolean deleted) void
setDescription
(String description) void
setEnhancedNetwork
(String enhancedNetwork) void
setExternalType
(String externalType) void
setForceCustomization
(Boolean forceCustomization) void
setHypervisor
(String hypervisor) void
setImageLocations
(List<VirtualImageLocation> imageLocations) Set the list of VirtualImageLocations for the VirtualImagevoid
setImageRegion
(String imageRegion) void
setInstallAgent
(Boolean installAgent) void
setInterfaceName
(String interfaceName) void
setInternalId
(String internalId) void
setIsCloudInit
(Boolean isCloudInit) void
setKernelId
(String kernelId) void
setLocations
(List<String> locations) void
setMetadata
(List<MetadataTag> metadata) void
setMinDisk
(Long minDisk) void
void
void
void
setPlatform
(String platform) void
setProductCode
(String code) void
void
setRamdiskId
(String ramdiskId) void
void
setRefType
(String refType) void
setRemotePath
(String remotePath) void
setRootDeviceName
(String rootDeviceName) void
setRootDeviceType
(String rootDeviceType) void
setSecureBoot
(Boolean secureBoot) void
void
setStatusPercent
(Double statusPercent) void
setStatusReason
(String statusReason) void
setSysprep
(Boolean sysprep) void
void
void
setUniqueId
(String uniqueId) void
setUserDefined
(Boolean userDefined) void
setUserUploaded
(Boolean userUploaded) void
setVirtioSupported
(Boolean virtioSupported) void
setVirtualImageType
(VirtualImageType virtualImageType) Set the VirtualImageType for the VirtualImagevoid
setVirtualizationType
(String virtualizationType) void
setVmToolsInstalled
(Boolean vmToolsInstalled) void
setVolumes
(List<StorageVolumeIdentityProjection> volumes) Set the list of StorageVolumeIdentityProjections for the VirtualImage NOTE: To modify the list of volumes associated with this VirtualImage, utilize MorpheusStorageVolumeServiceMethods inherited from class com.morpheusdata.model.projection.VirtualImageIdentityProjection
getExternalDiskId, getExternalId, getImageType, getLinkedClone, getName, getOwnerId, getSnapshotId, getSystemImage, getVisibility, setExternalDiskId, setExternalId, setImageType, setLinkedClone, setName, setOwnerId, setSnapshotId, setSystemImage, setVisibility
Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
account
-
owner
-
code
-
description
-
uniqueId
-
architecture
-
kernelId
-
hypervisor
-
category
-
externalType
-
isPublic
-
platform
-
bucketId
-
minDisk
-
minRam
-
ramdiskId
-
rootDeviceName
-
rootDeviceType
-
enhancedNetwork
-
virtualizationType
-
internalId
-
remotePath
-
status
-
statusReason
-
statusPercent
-
locations
-
osType
-
refId
-
refType
-
imageRegion
-
isForceCustomization
-
uefi
-
tpm
-
secureBoot
-
credentialGuard
-
isCloudInit
-
virtioSupported
-
deleted
-
userUploaded
-
userDefined
-
isSysprep
-
vmToolsInstalled
-
installAgent
-
interfaceName
-
blockDeviceConfig
-
productCode
-
virtualImageType
-
imageLocations
-
volumes
-
controllers
-
metadata
-
-
Constructor Details
-
VirtualImage
public VirtualImage()
-
-
Method Details
-
getAccount
-
setAccount
-
getCode
-
setCode
-
getDescription
-
setDescription
-
getUniqueId
-
setUniqueId
-
getArchitecture
-
setArchitecture
-
getKernelId
-
setKernelId
-
getHypervisor
-
setHypervisor
-
getCategory
-
setCategory
-
getPublic
-
setPublic
-
getPlatform
-
setPlatform
-
getBucketId
-
setBucketId
-
getMinDisk
-
setMinDisk
-
getLocations
-
setLocations
-
getOsType
-
setOsType
-
getRefId
-
setRefId
-
getRefType
-
setRefType
-
isCloudInit
-
setIsCloudInit
-
getVirtualImageType
Retrieve the VirtualImageType for the VirtualImage- Overrides:
getVirtualImageType
in classVirtualImageIdentityProjection
- Returns:
- virtualImageType
-
setVirtualImageType
Set the VirtualImageType for the VirtualImage- Overrides:
setVirtualImageType
in classVirtualImageIdentityProjection
- Parameters:
virtualImageType
-
-
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
Set the list of VirtualImageLocations for the VirtualImage- Parameters:
imageLocations
-
-
getVolumes
Retrieve the list of StorageVolumeIdentityProjections for the VirtualImage.- Returns:
- volumes
-
setVolumes
Set the list of StorageVolumeIdentityProjections for the VirtualImage NOTE: To modify the list of volumes associated with this VirtualImage, utilize MorpheusStorageVolumeService- Parameters:
volumes
-
-
getControllers
Retrieve the list of StorageControllerIdentityProjections for the VirtualImage.- Returns:
- controllers
-
setControllers
Set the list of StorageControllerIdentityProjections for the VirtualImage NOTE: To modify the list of controllers associated with this VirtualImage, utilize MorpheusStorageControllerService- Parameters:
controllers
-
-
getMinRam
-
setMinRam
-
getRamdiskId
-
setRamdiskId
-
getRootDeviceName
-
setRootDeviceName
-
getRootDeviceType
-
setRootDeviceType
-
getEnhancedNetwork
-
setEnhancedNetwork
-
getVirtualizationType
-
setVirtualizationType
-
getInternalId
-
setInternalId
-
getRemotePath
-
setRemotePath
-
getStatus
-
setStatus
-
getStatusReason
-
setStatusReason
-
getStatusPercent
-
setStatusPercent
-
getForceCustomization
-
setForceCustomization
-
getUefi
-
setUefi
-
getVirtioSupported
-
setVirtioSupported
-
getImageRegion
-
setImageRegion
-
getDeleted
- Overrides:
getDeleted
in classVirtualImageIdentityProjection
-
setDeleted
- Overrides:
setDeleted
in classVirtualImageIdentityProjection
-
getSysprep
-
setSysprep
-
getVmToolsInstalled
-
setVmToolsInstalled
-
getInstallAgent
-
setInstallAgent
-
getInterfaceName
-
setInterfaceName
-
getBlockDeviceConfig
-
setBlockDeviceConfig
-
getProductCode
-
setProductCode
-
getUserUploaded
-
setUserUploaded
-
getExternalType
-
setExternalType
-
getUserDefined
-
setUserDefined
-
getMetadata
-
setMetadata
-
getOwner
-
setOwner
-
getCloudInit
-
setCloudInit
-
getTpm
-
setTpm
-
getSecureBoot
-
setSecureBoot
-
getCredentialGuard
-
setCredentialGuard
-