Package com.cloud.server.api.response

Examples of com.cloud.server.api.response.UsageTypeResponse


    public static final int NETWORK_OFFERING = 13;
    public static final int VPN_USERS = 14;
   
    public static List<UsageTypeResponse> listUsageTypes(){
      List<UsageTypeResponse> responseList = new ArrayList<UsageTypeResponse>();
      responseList.add(new UsageTypeResponse(RUNNING_VM, "Running Vm Usage"));
      responseList.add(new UsageTypeResponse(ALLOCATED_VM, "Allocated Vm Usage"));
      responseList.add(new UsageTypeResponse(IP_ADDRESS, "IP Address Usage"));
      responseList.add(new UsageTypeResponse(NETWORK_BYTES_SENT, "Network Usage (Bytes Sent)"));
      responseList.add(new UsageTypeResponse(NETWORK_BYTES_RECEIVED, "Network Usage (Bytes Received)"));
      responseList.add(new UsageTypeResponse(VOLUME, "Volume Usage"));
      responseList.add(new UsageTypeResponse(TEMPLATE, "Template Usage"));
      responseList.add(new UsageTypeResponse(ISO, "ISO Usage"));
      responseList.add(new UsageTypeResponse(SNAPSHOT, "Snapshot Usage"));
      responseList.add(new UsageTypeResponse(SECURITY_GROUP, "Security Group Usage"));
      responseList.add(new UsageTypeResponse(LOAD_BALANCER_POLICY, "Load Balancer Usage"));
      responseList.add(new UsageTypeResponse(PORT_FORWARDING_RULE, "Port Forwarding Usage"));
      responseList.add(new UsageTypeResponse(NETWORK_OFFERING, "Network Offering Usage"));
      responseList.add(new UsageTypeResponse(VPN_USERS, "VPN users usage"));
      return responseList;
    }
View Full Code Here

TOP

Related Classes of com.cloud.server.api.response.UsageTypeResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.