Package org.ovirt.engine.sdk4.services
Interface ClustersService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
ClustersServiceImpl
public interface ClustersService extends Service
A service to manage clusters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ClustersService.AddRequest
Creates a new cluster.static interface
ClustersService.AddResponse
Creates a new cluster.static interface
ClustersService.ListRequest
Returns the list of clusters of the system.static interface
ClustersService.ListResponse
Returns the list of clusters of the system.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClustersService.AddRequest
add()
Creates a new cluster.ClusterService
clusterService(String id)
A reference to the service that manages a specific cluster.ClustersService.ListRequest
list()
Returns the list of clusters of the system.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
ClustersService.AddRequest add()
Creates a new cluster. This requires the `name`, `cpu.type`, and `data_center` attributes. Identify the data center with either the `id` or `name` attribute. [source] ---- POST /ovirt-engine/api/clusters ---- With a request body like this: [source,xml] ----mycluster Intel Nehalem Family mycluster Intel Nehalem Family
-
list
ClustersService.ListRequest list()
Returns the list of clusters of the system. The order of the returned clusters is guaranteed only if the `sortby` clause is included in the `search` parameter.
-
clusterService
ClusterService clusterService(String id)
A reference to the service that manages a specific cluster.
-
-