org.dasein.cloud.vsphere.compute
Class Host

java.lang.Object
  extended by org.dasein.cloud.compute.AbstractAffinityGroupSupport
      extended by org.dasein.cloud.vsphere.compute.Host
All Implemented Interfaces:
AccessControlledService, AffinityGroupSupport

public class Host
extends AbstractAffinityGroupSupport

User: daniellemayne Date: 18/07/2014 Time: 09:12


Method Summary
 AffinityGroup create(AffinityGroupCreateOptions options)
           
 void delete(String affinityGroupId)
           
 AffinityGroup get(String affinityGroupId)
           
 com.vmware.vim25.mo.HostSystem getHostSystemForAffinity(String affinityGroupId)
           
 Iterable<AffinityGroup> list(AffinityGroupFilterOptions options)
           
 Collection<com.vmware.vim25.mo.Datastore> listDatastoresForHost(com.vmware.vim25.mo.HostSystem host)
           
 Collection<com.vmware.vim25.mo.HostSystem> listHostSystems(String datacenterId)
           
 AffinityGroup modify(String affinityGroupId, AffinityGroupCreateOptions options)
           
 
Methods inherited from class org.dasein.cloud.compute.AbstractAffinityGroupSupport
getProvider, mapServiceAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

@Nonnull
public AffinityGroup create(@Nonnull
                                    AffinityGroupCreateOptions options)
                     throws InternalException,
                            CloudException
Specified by:
create in interface AffinityGroupSupport
Overrides:
create in class AbstractAffinityGroupSupport
Throws:
InternalException
CloudException

delete

public void delete(@Nonnull
                   String affinityGroupId)
            throws InternalException,
                   CloudException
Specified by:
delete in interface AffinityGroupSupport
Overrides:
delete in class AbstractAffinityGroupSupport
Throws:
InternalException
CloudException

get

@Nonnull
public AffinityGroup get(@Nonnull
                                 String affinityGroupId)
                  throws InternalException,
                         CloudException
Specified by:
get in interface AffinityGroupSupport
Overrides:
get in class AbstractAffinityGroupSupport
Throws:
InternalException
CloudException

list

@Nonnull
public Iterable<AffinityGroup> list(@Nonnull
                                            AffinityGroupFilterOptions options)
                             throws InternalException,
                                    CloudException
Specified by:
list in interface AffinityGroupSupport
Overrides:
list in class AbstractAffinityGroupSupport
Throws:
InternalException
CloudException

modify

public AffinityGroup modify(@Nonnull
                            String affinityGroupId,
                            @Nonnull
                            AffinityGroupCreateOptions options)
                     throws InternalException,
                            CloudException
Specified by:
modify in interface AffinityGroupSupport
Overrides:
modify in class AbstractAffinityGroupSupport
Throws:
InternalException
CloudException

getHostSystemForAffinity

public com.vmware.vim25.mo.HostSystem getHostSystemForAffinity(@Nonnull
                                                               String affinityGroupId)
                                                        throws CloudException,
                                                               InternalException
Throws:
CloudException
InternalException

listHostSystems

public Collection<com.vmware.vim25.mo.HostSystem> listHostSystems(@Nullable
                                                                  String datacenterId)
                                                           throws CloudException,
                                                                  InternalException
Throws:
CloudException
InternalException

listDatastoresForHost

public Collection<com.vmware.vim25.mo.Datastore> listDatastoresForHost(com.vmware.vim25.mo.HostSystem host)
                                                                throws CloudException,
                                                                       InternalException
Throws:
CloudException
InternalException


Copyright © 2015 enStratus Networks Inc. All Rights Reserved.