Class VirtualImage


public class VirtualImage extends VirtualImageIdentityProjection
Describes a pre-built system image. The CloudProvider can be configured to sync existing images between your cloud provider and Morpheus.
  • Field Details

    • account

      protected Account account
    • owner

      protected Account owner
    • code

      protected String code
    • description

      protected String description
    • uniqueId

      protected String uniqueId
    • architecture

      protected String architecture
    • kernelId

      protected String kernelId
    • hypervisor

      protected String hypervisor
    • category

      protected String category
    • externalType

      protected String externalType
    • isPublic

      protected Boolean isPublic
    • platform

      protected String platform
    • bucketId

      protected String bucketId
    • minDisk

      protected Long minDisk
    • minRam

      protected Long minRam
    • ramdiskId

      protected String ramdiskId
    • rootDeviceName

      protected String rootDeviceName
    • rootDeviceType

      protected String rootDeviceType
    • enhancedNetwork

      protected String enhancedNetwork
    • virtualizationType

      protected String virtualizationType
    • internalId

      protected String internalId
    • remotePath

      protected String remotePath
    • status

      protected String status
    • statusReason

      protected String statusReason
    • statusPercent

      protected Double statusPercent
    • locations

      protected List<String> locations
    • osType

      protected OsType osType
    • refId

      protected String refId
    • refType

      protected String refType
    • imageRegion

      protected String imageRegion
    • isForceCustomization

      protected Boolean isForceCustomization
    • uefi

      protected Boolean uefi
    • tpm

      protected Boolean tpm
    • secureBoot

      protected Boolean secureBoot
    • credentialGuard

      protected Boolean credentialGuard
    • isCloudInit

      protected Boolean isCloudInit
    • virtioSupported

      protected Boolean virtioSupported
    • deleted

      protected Boolean deleted
    • userUploaded

      protected Boolean userUploaded
    • userDefined

      protected Boolean userDefined
    • isSysprep

      protected Boolean isSysprep
    • vmToolsInstalled

      protected Boolean vmToolsInstalled
    • installAgent

      protected Boolean installAgent
    • interfaceName

      protected String interfaceName
    • blockDeviceConfig

      protected String blockDeviceConfig
    • productCode

      protected String productCode
    • virtualImageType

      protected VirtualImageType virtualImageType
    • imageLocations

      protected List<VirtualImageLocation> imageLocations
    • volumes

    • controllers

      protected List<StorageControllerIdentityProjection> controllers
    • metadata

      protected List<MetadataTag> metadata
  • Constructor Details

    • VirtualImage

      public VirtualImage()
  • Method Details

    • getAccount

      public Account getAccount()
    • setAccount

      public void setAccount(Account account)
    • getCode

      public String getCode()
    • setCode

      public void setCode(String code)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getUniqueId

      public String getUniqueId()
    • setUniqueId

      public void setUniqueId(String uniqueId)
    • getArchitecture

      public String getArchitecture()
    • setArchitecture

      public void setArchitecture(String architecture)
    • getKernelId

      public String getKernelId()
    • setKernelId

      public void setKernelId(String kernelId)
    • getHypervisor

      public String getHypervisor()
    • setHypervisor

      public void setHypervisor(String hypervisor)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
    • getPublic

      public Boolean getPublic()
    • setPublic

      public void setPublic(Boolean aPublic)
    • getPlatform

      public String getPlatform()
    • setPlatform

      public void setPlatform(String platform)
    • getBucketId

      public String getBucketId()
    • setBucketId

      public void setBucketId(String bucketId)
    • getMinDisk

      public Long getMinDisk()
    • setMinDisk

      public void setMinDisk(Long minDisk)
    • getLocations

      public List<String> getLocations()
    • setLocations

      public void setLocations(List<String> locations)
    • getOsType

      public OsType getOsType()
    • setOsType

      public void setOsType(OsType osType)
    • getRefId

      public String getRefId()
    • setRefId

      public void setRefId(String refId)
    • getRefType

      public String getRefType()
    • setRefType

      public void setRefType(String refType)
    • isCloudInit

      public Boolean isCloudInit()
    • setIsCloudInit

      public void setIsCloudInit(Boolean isCloudInit)
    • getVirtualImageType

      public VirtualImageType getVirtualImageType()
      Retrieve the VirtualImageType for the VirtualImage
      Overrides:
      getVirtualImageType in class VirtualImageIdentityProjection
      Returns:
      virtualImageType
    • setVirtualImageType

      public void setVirtualImageType(VirtualImageType virtualImageType)
      Set the VirtualImageType for the VirtualImage
      Overrides:
      setVirtualImageType in class VirtualImageIdentityProjection
      Parameters:
      virtualImageType -
    • getImageLocations

      public 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(List<VirtualImageLocation> imageLocations)
      Set the list of VirtualImageLocations for the VirtualImage
      Parameters:
      imageLocations -
    • getVolumes

      public List<StorageVolumeIdentityProjection> getVolumes()
      Retrieve the list of StorageVolumeIdentityProjections for the VirtualImage.
      Returns:
      volumes
    • setVolumes

      public 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 MorpheusStorageVolumeService
      Parameters:
      volumes -
    • getControllers

      public List<StorageControllerIdentityProjection> getControllers()
      Retrieve the list of StorageControllerIdentityProjections for the VirtualImage.
      Returns:
      controllers
    • setControllers

      public 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 MorpheusStorageControllerService
      Parameters:
      controllers -
    • getMinRam

      public Long getMinRam()
    • setMinRam

      public void setMinRam(Long minRam)
    • getRamdiskId

      public String getRamdiskId()
    • setRamdiskId

      public void setRamdiskId(String ramdiskId)
    • getRootDeviceName

      public String getRootDeviceName()
    • setRootDeviceName

      public void setRootDeviceName(String rootDeviceName)
    • getRootDeviceType

      public String getRootDeviceType()
    • setRootDeviceType

      public void setRootDeviceType(String rootDeviceType)
    • getEnhancedNetwork

      public String getEnhancedNetwork()
    • setEnhancedNetwork

      public void setEnhancedNetwork(String enhancedNetwork)
    • getVirtualizationType

      public String getVirtualizationType()
    • setVirtualizationType

      public void setVirtualizationType(String virtualizationType)
    • getInternalId

      public String getInternalId()
    • setInternalId

      public void setInternalId(String internalId)
    • getRemotePath

      public String getRemotePath()
    • setRemotePath

      public void setRemotePath(String remotePath)
    • getStatus

      public String getStatus()
    • setStatus

      public void setStatus(String status)
    • getStatusReason

      public String getStatusReason()
    • setStatusReason

      public void setStatusReason(String statusReason)
    • getStatusPercent

      public Double getStatusPercent()
    • setStatusPercent

      public void setStatusPercent(Double statusPercent)
    • getForceCustomization

      public Boolean getForceCustomization()
    • setForceCustomization

      public void setForceCustomization(Boolean forceCustomization)
    • getUefi

      public Boolean getUefi()
    • setUefi

      public void setUefi(Boolean uefi)
    • getVirtioSupported

      public Boolean getVirtioSupported()
    • setVirtioSupported

      public void setVirtioSupported(Boolean virtioSupported)
    • getImageRegion

      public String getImageRegion()
    • setImageRegion

      public void setImageRegion(String imageRegion)
    • getDeleted

      public Boolean getDeleted()
      Overrides:
      getDeleted in class VirtualImageIdentityProjection
    • setDeleted

      public void setDeleted(Boolean deleted)
      Overrides:
      setDeleted in class VirtualImageIdentityProjection
    • getSysprep

      public Boolean getSysprep()
    • setSysprep

      public void setSysprep(Boolean sysprep)
    • getVmToolsInstalled

      public Boolean getVmToolsInstalled()
    • setVmToolsInstalled

      public void setVmToolsInstalled(Boolean vmToolsInstalled)
    • getInstallAgent

      public Boolean getInstallAgent()
    • setInstallAgent

      public void setInstallAgent(Boolean installAgent)
    • getInterfaceName

      public String getInterfaceName()
    • setInterfaceName

      public void setInterfaceName(String interfaceName)
    • getBlockDeviceConfig

      public String getBlockDeviceConfig()
    • setBlockDeviceConfig

      public void setBlockDeviceConfig(String config)
    • getProductCode

      public String getProductCode()
    • setProductCode

      public void setProductCode(String code)
    • getUserUploaded

      public Boolean getUserUploaded()
    • setUserUploaded

      public void setUserUploaded(Boolean userUploaded)
    • getExternalType

      public String getExternalType()
    • setExternalType

      public void setExternalType(String externalType)
    • getUserDefined

      public Boolean getUserDefined()
    • setUserDefined

      public void setUserDefined(Boolean userDefined)
    • getMetadata

      public List<MetadataTag> getMetadata()
    • setMetadata

      public void setMetadata(List<MetadataTag> metadata)
    • getOwner

      public Account getOwner()
    • setOwner

      public void setOwner(Account owner)
    • getCloudInit

      public Boolean getCloudInit()
    • setCloudInit

      public void setCloudInit(Boolean cloudInit)
    • getTpm

      public Boolean getTpm()
    • setTpm

      public void setTpm(Boolean tpm)
    • getSecureBoot

      public Boolean getSecureBoot()
    • setSecureBoot

      public void setSecureBoot(Boolean secureBoot)
    • getCredentialGuard

      public Boolean getCredentialGuard()
    • setCredentialGuard

      public void setCredentialGuard(Boolean credentialGuard)