Class ClusterNetworksServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.ClusterNetworksServiceImpl
-
- All Implemented Interfaces:
Service
,ClusterNetworksService
public class ClusterNetworksServiceImpl extends ServiceImpl implements ClusterNetworksService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.ClusterNetworksService
ClusterNetworksService.AddRequest, ClusterNetworksService.AddResponse, ClusterNetworksService.ListRequest, ClusterNetworksService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description ClusterNetworksServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterNetworksService.AddRequest
add()
Assigns the network to a cluster.ClusterNetworksService.ListRequest
list()
Lists the networks that are assigned to the cluster.ClusterNetworkService
networkService(String id)
Access the cluster network service that manages the cluster network specified by an ID.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
ClusterNetworksServiceImpl
public ClusterNetworksServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public ClusterNetworksService.AddRequest add()
Description copied from interface:ClusterNetworksService
Assigns the network to a cluster. Post a request like in the example below to assign the network to a cluster: [source] ---- POST /ovirt-engine/api/clusters/123/networks ---- Use the following example in its body: [source,xml] -------- - Specified by:
add
in interfaceClusterNetworksService
-
list
public ClusterNetworksService.ListRequest list()
Description copied from interface:ClusterNetworksService
Lists the networks that are assigned to the cluster. The order of the returned clusters isn't guaranteed.- Specified by:
list
in interfaceClusterNetworksService
-
networkService
public ClusterNetworkService networkService(String id)
Description copied from interface:ClusterNetworksService
Access the cluster network service that manages the cluster network specified by an ID.- Specified by:
networkService
in interfaceClusterNetworksService
-
service
public Service service(String path)
Description copied from interface:ClusterNetworksService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceClusterNetworksService
-
-