Class VdcResponse

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

public class VdcResponse extends EntityResponse
Virtual Data Center Response.
Author:
Brett Snyder
See Also:
  • Field Details

  • Constructor Details

    • VdcResponse

      public VdcResponse(String uuid, String companyId, String name, boolean deleted, Instant deletedDate, Instant updatedDate, boolean enabled, String vCenterMoRef, String vCenterName, String description, String vCloudHref, String vCenterInstanceUUID, String vCenterHref, String allocationModel, Long reservedCpu, Long reservedMem, Long diskLimit, long contractedAdvancedDiskLimit, long contractedSsdDiskLimit, long contractedArchiveDiskLimit, Long allocationCpu, Long allocationMemory, String maxHardwareVersion, Integer networkQuota, Integer usedNetworkCount, String locationId, String orgUuid, boolean hasAdvancedBackups, boolean hasIntegratedBackups, boolean hasOffsiteReplication, boolean nsxTBacked)
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Is enabled boolean.
      Returns:
      the boolean
    • getVcenterHref

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

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

      public String getAllocationModel()
      Gets allocation model.
      Returns:
      the allocation model
    • getReservedCpu

      public Long getReservedCpu()
      Return the reserved cpu quanity in MHZ.
      Returns:
      Long reserved cpu
    • getReservedMemory

      public Long getReservedMemory()
      Gets reserved memory.
      Returns:
      the reserved memory
    • getDiskLimit

      public Long getDiskLimit()
      Gets disk limit.
      Returns:
      the disk limit
    • getAllocationCpu

      public Long getAllocationCpu()
      Get the allocation quantity for cpu in MHZ.

      Should be null for Vdc types other than Allocation Model.

      Returns:
      Long allocation cpu
    • getAllocationMemory

      public Long getAllocationMemory()
      Get the allocation quantity for memory.

      Should be null for Vdc types other than Allocation Model.

      Returns:
      Long allocation memory
    • getMaxHardwareVersion

      public String getMaxHardwareVersion()
      Get the highest supported virtual hardware version for this vdc.
      Returns:
      String highest supported virtual hardware version
    • getNetworkQuota

      public Integer getNetworkQuota()
      Gets the network quota for the vDC.
      Returns:
      integer network quota
    • getUsedNetworkCount

      public Integer getUsedNetworkCount()
      Gets the used network count for the vDC.
      Returns:
      integer used network count
    • getLocationId

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

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

      public Long getReservedMem()
      Gets reserved mem.
      Returns:
      the reserved mem
    • getvCenterHref

      public String getvCenterHref()
      Gets center href.
      Returns:
      the center href
    • getvCenterInstanceUUID

      public String getvCenterInstanceUUID()
      Gets center instance uuid.
      Returns:
      the center instance uuid
    • getvCenterMoRef

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

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

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

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

      public long getContractedAdvancedDiskLimit()
      Get the contracted disk limit for advanced storage in MB.
      Returns:
      contracted disk limit in MB
    • getContractedSsdDiskLimit

      public long getContractedSsdDiskLimit()
      Get the contracted disk limit for SSD storage in MB.
      Returns:
      contracted disk limit in MB
    • getContractedArchiveDiskLimit

      public long getContractedArchiveDiskLimit()
      Get the contracted disk limit for archive storage in MB.
      Returns:
      contracted disk limit in MB
    • isHasIaasBackups

      public boolean isHasIaasBackups()
      Indicates whether the vDC has IaaS backups (either integrated or advanced).
      Returns:
      boolean value
    • isHasAdvancedBackups

      public boolean isHasAdvancedBackups()
      Whether the vDC has the advanced backups offering.
      Returns:
      boolean value.
    • isHasIntegratedBackups

      public boolean isHasIntegratedBackups()
      Whether the vDC has the integrated backups offering.
      Returns:
      boolean value.
    • isHasOffsiteReplication

      public boolean isHasOffsiteReplication()
      Whether the vDC has the offsite replication offering.
      Returns:
      boolean value.
    • isNsxTBacked

      public boolean isNsxTBacked()
      Whether the vDC is backed by NSX-T networking infrastructure.
      Returns:
      boolean value