Interface SimpleTenantUsage.ServerUsage

    • Method Detail

      • getInstanceId

        String getInstanceId()
        Returns:
        the instance id of the server
      • getUptime

        int getUptime()
        Returns:
        the uptime of the server
      • getStartedAt

        Date getStartedAt()
        Returns:
        the date the server was started or null
      • getEndedAt

        Date getEndedAt()
        Returns:
        the date the server was last stopped or null
      • getMemoryMb

        int getMemoryMb()
        Returns:
        the memory used for the server in MB
      • getTenantId

        String getTenantId()
        Returns:
        the tenant assigned to the server
      • getHours

        double getHours()
        Returns:
        the hours of usage
      • getVcpus

        int getVcpus()
        Returns:
        the Virtual CPUs used
      • getFlavor

        String getFlavor()
        Returns:
        the flavor assigned to the server
      • getLocalDiskSize

        int getLocalDiskSize()
        Returns:
        the local disk size in GB
      • getName

        String getName()
        Returns:
        the name of the server