public interface ServiceManagerService extends RestService
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)
|
List<? extends Service> list()
Service get(String serviceId)
serviceId
- the service idService create(String name, String type, String description)
name
- the name of the servicetype
- the type of servicedescription
- the description for the serviceActionResponse delete(String serviceId)
serviceId
- the service idList<? extends ServiceEndpoint> listEndpoints()
ServiceEndpoint createEndpoint(String region, String serviceId, String publicURL, String adminURL, String internalURL)
region
- the endpoint regionserviceId
- the service identifier the endpoint is associated withpublicURL
- the public URLadminURL
- the admin URLinternalURL
- the internal URLActionResponse deleteEndpoint(String endpointId)
endpointId
- the endpoint identifierCopyright © 2017. All rights reserved.