Class OpenstackVolumeProvidersServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.OpenstackVolumeProvidersServiceImpl
-
- All Implemented Interfaces:
Service
,OpenstackVolumeProvidersService
public class OpenstackVolumeProvidersServiceImpl extends ServiceImpl implements OpenstackVolumeProvidersService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.OpenstackVolumeProvidersService
OpenstackVolumeProvidersService.AddRequest, OpenstackVolumeProvidersService.AddResponse, OpenstackVolumeProvidersService.ListRequest, OpenstackVolumeProvidersService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description OpenstackVolumeProvidersServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenstackVolumeProvidersService.AddRequest
add()
Adds a new volume provider.OpenstackVolumeProvidersService.ListRequest
list()
Retrieves the list of volume providers.OpenstackVolumeProviderService
providerService(String 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
-
OpenstackVolumeProvidersServiceImpl
public OpenstackVolumeProvidersServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public OpenstackVolumeProvidersService.AddRequest add()
Description copied from interface:OpenstackVolumeProvidersService
Adds a new volume provider. For example: [source] ---- POST /ovirt-engine/api/openstackvolumeproviders ---- With a request body like this: [source,xml] ----mycinder https://mycinder.example.com:8776 mydc true admin mypassword mytenant - Specified by:
add
in interfaceOpenstackVolumeProvidersService
-
list
public OpenstackVolumeProvidersService.ListRequest list()
Description copied from interface:OpenstackVolumeProvidersService
Retrieves the list of volume providers. The order of the returned list of volume providers isn't guaranteed.- Specified by:
list
in interfaceOpenstackVolumeProvidersService
-
providerService
public OpenstackVolumeProviderService providerService(String id)
- Specified by:
providerService
in interfaceOpenstackVolumeProvidersService
-
service
public Service service(String path)
Description copied from interface:OpenstackVolumeProvidersService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceOpenstackVolumeProvidersService
-
-