public class ServiceManagerServiceImpl extends BaseOpenStackService implements ServiceManagerService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
ServiceManagerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Service |
create(String name,
String type,
String description)
Creates a new Service
|
ServiceEndpoint |
createEndpoint(String region,
String serviceId,
String publicURL,
String adminURL,
String internalURL)
Creates a new Endpoint associated to a service identifier
|
ActionResponse |
delete(String serviceId)
Deletes a Service based on it's id
|
ActionResponse |
deleteEndpoint(String endpointId)
Deletes an Endpoint
|
Service |
get(String serviceId)
Gets the specified Service by it's identifier
|
List<? extends Service> |
list()
List current Services on the OpenStack System
|
List<? extends ServiceEndpoint> |
listEndpoints()
Queries for service related Endpoints (endpoints mapped against services)
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Service> list()
list in interface ServiceManagerServicepublic Service get(String serviceId)
get in interface ServiceManagerServiceserviceId - the service idpublic Service create(String name, String type, String description)
create in interface ServiceManagerServicename - the name of the servicetype - the type of servicedescription - the description for the servicepublic ActionResponse delete(String serviceId)
delete in interface ServiceManagerServiceserviceId - the service idpublic List<? extends ServiceEndpoint> listEndpoints()
listEndpoints in interface ServiceManagerServicepublic ServiceEndpoint createEndpoint(String region, String serviceId, String publicURL, String adminURL, String internalURL)
createEndpoint in interface ServiceManagerServiceregion - the endpoint regionserviceId - the service identifier the endpoint is associated withpublicURL - the public URLadminURL - the admin URLinternalURL - the internal URLpublic ActionResponse deleteEndpoint(String endpointId)
deleteEndpoint in interface ServiceManagerServiceendpointId - the endpoint identifierCopyright © 2017. All rights reserved.