|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface HostAggregateApi
Provide access to the OpenStack Compute (Nova) Host Aggregates extension API.
| Method Summary | |
|---|---|
HostAggregate |
addHost(String id,
String host)
Adds a host to an aggregate |
HostAggregate |
createInAvailabilityZone(String name,
String availabilityZone)
Creates an aggregate, given its name and availability zone. |
Boolean |
delete(String id)
Removes an aggregate. |
HostAggregate |
get(String id)
Retrieves the details of an aggregate, hosts and metadata included. |
com.google.common.collect.FluentIterable<HostAggregate> |
list()
Lists all host aggregates. |
HostAggregate |
removeHost(String id,
String host)
Removes a host from an aggregate |
HostAggregate |
setMetadata(String id,
Map<String,String> metadata)
Adds metadata to an aggregate |
HostAggregate |
updateAvailabilityZone(String id,
String availabilityZone)
Updates the availability zone for an aggregate. |
HostAggregate |
updateName(String id,
String name)
Updates the name of an aggregate. |
| Method Detail |
|---|
@Named(value="hostAggregate:list") com.google.common.collect.FluentIterable<HostAggregate> list()
@Named(value="hostAggregate:get") @Nullable HostAggregate get(String id)
@Named(value="hostAggregate:create")
HostAggregate createInAvailabilityZone(String name,
String availabilityZone)
@Named(value="hostAggregate:update")
HostAggregate updateName(String id,
String name)
@Named(value="hostAggregate:update")
HostAggregate updateAvailabilityZone(String id,
String availabilityZone)
@Named(value="hostAggregate:delete") Boolean delete(String id)
@Named(value="hostAggregate:addHost")
HostAggregate addHost(String id,
String host)
@Named(value="hostAggregate:removeHost")
HostAggregate removeHost(String id,
String host)
@Named(value="hostAggregate:setMetadata")
HostAggregate setMetadata(String id,
Map<String,String> metadata)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||