Class VdcResourceSummaryResponse

java.lang.Object
com.iland.core.web.rest.response.vapp.VappResourceSummaryResponse
com.iland.core.web.rest.response.vdc.VdcResourceSummaryResponse
All Implemented Interfaces:
Serializable

public class VdcResourceSummaryResponse extends VappResourceSummaryResponse
Vdc Resource Summary Response.
Author:
Brett Snyder
See Also:
  • Constructor Details

    • VdcResourceSummaryResponse

      public VdcResourceSummaryResponse(double reservedCpu, double reservedMem, double consumedCpu, double consumedMem, double consumedDisk, double provisionedDisk, long numberOfVms, long numberOfVapps, double allocationCpu, double allocationMemory, double configuredMemory, double configuredDisk, double configuredCpu)
  • Method Details

    • getNumberOfVapps

      public long getNumberOfVapps()
      Return the number of Vapps.
      Returns:
      number of Vapps.
    • getAllocationCpu

      public double getAllocationCpu()
      Get the vdc allocation cpu value in Ghz.

      Should be 0 for Vdc types other than allocation model.

      Returns:
      double representing allocation cpu in MHZ
    • getAllocationMemory

      public double getAllocationMemory()
      Get the vdc allocation memory value.

      Should be 0 for Vdc types other than allocation model.

      Returns:
      double representing allocation memory
    • getConfiguredMemory

      public double getConfiguredMemory()
      Get the configured memory for the VDC. The sum of all non-powered-off VM memory allocations.
      Returns:
      double representing configured memory
    • getConfiguredCpu

      public double getConfiguredCpu()
      Get the configured CPU.
      Returns:
      configured cpu