Class VmResponse

java.lang.Object
com.iland.core.web.rest.response.common.EntityResponse
com.iland.core.web.rest.response.vm.VmResponse
All Implemented Interfaces:
Serializable

public class VmResponse extends EntityResponse
VmResponse.
Author:
Nick Kasprzak
See Also:
  • Field Details

    • description

      @Since(1.0) @Expose protected String description
    • vCloudHref

      @Since(1.0) @Expose @SerializedName("vcloud_href") protected String vCloudHref
  • Constructor Details

  • Method Details

    • isDeployed

      public boolean isDeployed()
      Is deployed boolean.
      Returns:
      the boolean
    • getVcenterInstanceUuid

      public String getVcenterInstanceUuid()
      Gets vcenter instance uuid.
      Returns:
      the vcenter instance uuid
    • getvCenterName

      public String getvCenterName()
      Gets center name.
      Returns:
      the center name
    • getVcenterHref

      public String getVcenterHref()
      Gets vcenter href.
      Returns:
      the vcenter href
    • getvCenterMoRef

      public String getvCenterMoRef()
      Gets center mo ref.
      Returns:
      the center mo ref
    • getStatus

      public String getStatus()
      Gets status.
      Returns:
      the status
    • getNumberOfCpus

      public Integer getNumberOfCpus()
      Gets number of cpus.
      Returns:
      the number of cpus
    • getMemorySize

      public BigInteger getMemorySize()
      Gets memory size.
      Returns:
      the memory size
    • getOperatingSystem

      public String getOperatingSystem()
      Gets operating system.
      Returns:
      the operating system
    • getStorageProfiles

      public Set<String> getStorageProfiles()
      Gets storage profiles.
      Returns:
      the storage profiles
    • getHardwareVersion

      public String getHardwareVersion()
      Gets hardware version.
      Returns:
      the hardware version
    • getVappUuid

      public String getVappUuid()
      Gets vapp uuid.
      Returns:
      the vapp uuid
    • getVappLocalId

      public String getVappLocalId()
      Gets vapp local id.
      Returns:
      the vapp local id
    • getVimDatastoreRef

      public String getVimDatastoreRef()
      Get the vim datastore ref.
      Returns:
      vim datastore ref
    • getCoresPerSocket

      public int getCoresPerSocket()
      Get the number of cores per socket.
      Returns:
      cores per socket
    • getVdcUuid

      public String getVdcUuid()
    • getLocationId

      public String getLocationId()
      Gets location id.
      Returns:
      the location id
    • getOrgUuid

      public String getOrgUuid()
      Gets org uuid.
      Returns:
      the org uuid
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • getvCloudHref

      public String getvCloudHref()
      Gets cloud href.
      Returns:
      the cloud href
    • getCreatedDate

      public Instant getCreatedDate()
      Gets created date.
      Returns:
      the created date
    • isMediaInserted

      public boolean isMediaInserted()
      Indicates whether a CD/DVD is inserted in the VM.
      Returns:
      boolean value
    • getInsertedMediaName

      public String getInsertedMediaName()
      Gets the name of the media that is currently inserted in the VM. Returns an empty string if no media is inserted.
      Returns:
      String media name
    • getOperatingSystemDescription

      public String getOperatingSystemDescription()
      Get the operating system description.
      Returns:
      String operating system description
    • getAllocationModel

      public String getAllocationModel()
      Get the allocation model.
      Returns:
      String allocation model
    • isNestedHypervisorEnabled

      public boolean isNestedHypervisorEnabled()
      Is nested hypervisior enabled.
      Returns:
      is nested hypervisor enabled
    • isProtected

      public boolean isProtected()
      Get whether the VM is in the Trend service.
      Returns:
      whether the VM is in Trend
    • isBackupProtected

      public boolean isBackupProtected()
      Get whether the VM is protected by Advanced Backups.
      Returns:
      whether the VM is protected by Advanced Backups
    • getIpAddress

      public String getIpAddress()
      Get the VM's primary IP address.
      Returns:
      the VM's primary IP address
    • getStorageBytes

      public long getStorageBytes()
      Get the VM's total storage measured in bytes.
      Returns:
      the storage capacity of the VM
    • toString

      public String toString()
      Overrides:
      toString in class EntityResponse