Package com.abiquo.server.core.cloud

Examples of com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto


    *      "http://community.abiquo.com/display/ABI20/User+resource#Userresource-Retrievethelistofvirtualmachinesbyuser"
    *      > http://community.abiquo.com/display/ABI20/User+resource#
    *      Userresource- Retrievethelistofvirtualmachinesbyuser</a>
    */
   public List<VirtualMachine> listMachines() {
      VirtualMachinesWithNodeExtendedDto machines = context.getApi().getEnterpriseApi().listVirtualMachines(target);
      return wrap(context, VirtualMachine.class, machines.getCollection());
   }
View Full Code Here


    *      MachineResource-
    *      Retrievethelistofvirtualmachinesbymachine'shypervisor</a>
    */
   public List<VirtualMachine> listVirtualMachines() {
      MachineOptions options = MachineOptions.builder().sync(false).build();
      VirtualMachinesWithNodeExtendedDto vms = context.getApi().getInfrastructureApi()
            .listVirtualMachinesByMachine(target, options);
      return wrap(context, VirtualMachine.class, vms.getCollection());
   }
View Full Code Here

    *      MachineResource-
    *      Retrievethelistofvirtualmachinesbymachine'shypervisor</a>
    */
   public List<VirtualMachine> listRemoteVirtualMachines() {
      MachineOptions options = MachineOptions.builder().sync(true).build();
      VirtualMachinesWithNodeExtendedDto vms = context.getApi().getInfrastructureApi()
            .listVirtualMachinesByMachine(target, options);
      return wrap(context, VirtualMachine.class, vms.getCollection());
   }
View Full Code Here

    *      "http://community.abiquo.com/display/ABI18/Virtual+Machine+Resource#VirtualMachineResource-RetrievethelistofVirtualMachines."
    *      > http://community.abiquo.com/display/ABI18/Virtual+Machine+Resource#
    *      VirtualMachineResource -RetrievethelistofVirtualMachines.</a>
    */
   public List<VirtualMachine> listVirtualMachines(final VirtualMachineOptions options) {
      VirtualMachinesWithNodeExtendedDto vms = context.getApi().getCloudApi().listVirtualMachines(target, options);
      return wrap(context, VirtualMachine.class, vms.getCollection());
   }
View Full Code Here

    *      > http://community.abiquo.com/display/ABI20/EnterpriseResource#
    *      EnterpriseResource- RetrievealistofvirtualmachinesbyanEnterprise</a>
    * @return List of virtual machines by this enterprise.
    */
   public List<VirtualMachine> listVirtualMachines() {
      VirtualMachinesWithNodeExtendedDto machines = context.getApi().getEnterpriseApi().listVirtualMachines(target);
      return wrap(context, VirtualMachine.class, machines.getCollection());
   }
View Full Code Here

TOP

Related Classes of com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto

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.