public interface HostAggregateService extends RestService
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
|
HostAggregate |
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.
|
List<? extends HostAggregate> list()
List<? extends HostAggregate> list(Map<String,String> filteringParams)
filteringParams
- map (name, value) of filtering parametersHostAggregate get(String aggregateId)
hostAggregateId
- the aggregate identifierActionResponse delete(String aggregateId)
aggregateId
- the aggregate identifierHostAggregate create(String name, String availabilityZone)
name
- availabilityZone
- HostAggregate update(String hostAggregateId, String name, String availabilityZone)
hostAggregateId
- the aggregate identifiername
- availabilityZone
- HostAggregate setMetadata(String hostAggregateId, Map<String,String> metadata)
hostAggregateId
- the aggregate identifiermetadata
- HostAggregate addHost(String hostAggregateId, String host)
hostAggregateId
- 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.HostAggregate removeHost(String hostAggregateId, String host)
hostAggregateId
- 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.