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
VmResponse.
- Author:
- Nick Kasprzak
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVmResponse(String uuid, String companyId, String name, boolean deleted, Instant deletedDate, Instant updatedDate, String description, String vCloudHref, boolean deployed, String vCenterMoRef, String vCenterName, String vcenterInstanceUuid, String vcenterHref, String status, Integer numberOfCpus, int coresPerSocket, BigInteger memorySize, String operatingSystem, String operatingSystemDescription, Set<String> storageProfiles, String hardwareVersion, String vappUuid, String vdcUuid, String orgUuid, String locationId, String vappLocalId, String vimDatastoreRef, Instant createdDate, boolean mediaInserted, String insertedMediaName, boolean nestedHypervisorEnabled, String allocationModel, boolean isProtected, boolean isBackupProtected, String ipAddress, long storageBytes) -
Method Summary
Modifier and TypeMethodDescriptionGet the allocation model.intGet the number of cores per socket.Gets created date.Gets description.Gets hardware version.Gets the name of the media that is currently inserted in the VM.Get the VM's primary IP address.Gets location id.Gets memory size.Gets number of cpus.Gets operating system.Get the operating system description.Gets org uuid.Gets status.longGet the VM's total storage measured in bytes.Gets storage profiles.Gets vapp local id.Gets vapp uuid.Gets vcenter href.Gets vcenter instance uuid.Gets center mo ref.Gets center name.Gets cloud href.Get the vim datastore ref.booleanGet whether the VM is protected by Advanced Backups.booleanIs deployed boolean.booleanIndicates whether a CD/DVD is inserted in the VM.booleanIs nested hypervisior enabled.booleanGet whether the VM is in the Trend service.toString()Methods inherited from class com.iland.core.web.rest.response.common.EntityResponse
equals, getCompanyId, getDeletedDate, getName, getUpdatedDate, getUuid, hashCode, isDeleted
-
Field Details
-
description
-
vCloudHref
-
-
Constructor Details
-
VmResponse
public VmResponse(String uuid, String companyId, String name, boolean deleted, Instant deletedDate, Instant updatedDate, String description, String vCloudHref, boolean deployed, String vCenterMoRef, String vCenterName, String vcenterInstanceUuid, String vcenterHref, String status, Integer numberOfCpus, int coresPerSocket, BigInteger memorySize, String operatingSystem, String operatingSystemDescription, Set<String> storageProfiles, String hardwareVersion, String vappUuid, String vdcUuid, String orgUuid, String locationId, String vappLocalId, String vimDatastoreRef, Instant createdDate, boolean mediaInserted, String insertedMediaName, boolean nestedHypervisorEnabled, String allocationModel, boolean isProtected, boolean isBackupProtected, String ipAddress, long storageBytes)
-
-
Method Details
-
isDeployed
public boolean isDeployed()Is deployed boolean.- Returns:
- the boolean
-
getVcenterInstanceUuid
Gets vcenter instance uuid.- Returns:
- the vcenter instance uuid
-
getvCenterName
Gets center name.- Returns:
- the center name
-
getVcenterHref
Gets vcenter href.- Returns:
- the vcenter href
-
getvCenterMoRef
Gets center mo ref.- Returns:
- the center mo ref
-
getStatus
Gets status.- Returns:
- the status
-
getNumberOfCpus
Gets number of cpus.- Returns:
- the number of cpus
-
getMemorySize
Gets memory size.- Returns:
- the memory size
-
getOperatingSystem
Gets operating system.- Returns:
- the operating system
-
getStorageProfiles
Gets storage profiles.- Returns:
- the storage profiles
-
getHardwareVersion
Gets hardware version.- Returns:
- the hardware version
-
getVappUuid
Gets vapp uuid.- Returns:
- the vapp uuid
-
getVappLocalId
Gets vapp local id.- Returns:
- the vapp local id
-
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
-
getLocationId
Gets location id.- Returns:
- the location id
-
getOrgUuid
Gets org uuid.- Returns:
- the org uuid
-
getDescription
Gets description.- Returns:
- the description
-
getvCloudHref
Gets cloud href.- Returns:
- the cloud href
-
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
Gets the name of the media that is currently inserted in the VM. Returns an empty string if no media is inserted.- Returns:
Stringmedia name
-
getOperatingSystemDescription
Get the operating system description.- Returns:
Stringoperating system description
-
getAllocationModel
Get the allocation model.- Returns:
Stringallocation 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
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
- Overrides:
toStringin classEntityResponse
-