public class HostAggregateServiceImpl extends BaseComputeServices implements HostAggregateService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
HostAggregateServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
HostAggregate |
addHost(String hostAggregateId,
String host)
Add host to aggregate
|
HostAggregate |
create(String name,
String availabilityZone)
Create a hostAggregate
|
ActionResponse |
delete(String aggregateId)
Delete of the aggregate
|
NovaHostAggregate |
get(String aggregateId)
Get the specified HostAggregate by ID
|
List<? extends HostAggregate> |
list()
List all aggregates (detailed) that the current tenant has access to
|
List<? extends HostAggregate> |
list(Map<String,String> filteringParams)
Returns list of Aggregates filtered by parameters.
|
HostAggregate |
removeHost(String hostAggregateId,
String host)
remove host from aggregate
|
HostAggregate |
setMetadata(String hostAggregateId,
Map<String,String> metadata)
Sets metadata for an aggregate.
|
HostAggregate |
update(String hostAggregateId,
String name,
String availabilityZone)
Updates the name, and optionally the availability zone, for a specified aggregate.
|
invokeAction, invokeActionWithResponsedelete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends HostAggregate> list()
list in interface HostAggregateServicepublic List<? extends HostAggregate> list(Map<String,String> filteringParams)
list in interface HostAggregateServicefilteringParams - map (name, value) of filtering parameterspublic NovaHostAggregate get(String aggregateId)
get in interface HostAggregateServicepublic ActionResponse delete(String aggregateId)
delete in interface HostAggregateServiceaggregateId - the aggregate identifierpublic HostAggregate create(String name, String availabilityZone)
create in interface HostAggregateServicepublic HostAggregate update(String hostAggregateId, String name, @Nullable String availabilityZone)
update in interface HostAggregateServicehostAggregateId - the aggregate identifierpublic HostAggregate setMetadata(String hostAggregateId, Map<String,String> metadata)
setMetadata in interface HostAggregateServicehostAggregateId - the aggregate identifierpublic HostAggregate addHost(String hostAggregateId, String host)
addHost in interface HostAggregateServicehostAggregateId - The ID associated with an aggregate.host - Host ID to add to an aggregate, which is a collection of multiple groups of hosts that share common resources like storage and network.public HostAggregate removeHost(String hostAggregateId, String host)
removeHost in interface HostAggregateServicehostAggregateId - The ID associated with an aggregate.host - Host ID to add to an aggregate, which is a collection of multiple groups of hosts that share common resources like storage and network.Copyright © 2017. All rights reserved.