public class ServiceEndpointServiceImpl extends BaseOpenStackService implements ServiceEndpointService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
ServiceEndpointServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Service |
create(Service service)
Create a new service
|
Service |
create(String type,
String name,
String description,
boolean enabled)
Creates a new service
|
Endpoint |
createEndpoint(Endpoint endpoint)
Creates a new endpoint
|
Endpoint |
createEndpoint(String name,
URL url,
Facing iface,
String regionId,
String serviceId,
boolean enabled)
Creates a new endpoint
|
ActionResponse |
delete(String serviceId)
Delete a service
|
ActionResponse |
deleteEndpoint(String endpointId)
Delete an Endpoint
|
Service |
get(String serviceId)
Get details of a service by id
|
Endpoint |
getEndpoint(String endpointId)
Get details for an endpoint
|
List<? extends Service> |
list()
Lists services
|
List<? extends Endpoint> |
listEndpoints()
Lists available endpoints
|
Service |
update(Service service)
Updates a service
|
Endpoint |
updateEndpoint(Endpoint endpoint)
Updates a endpoint
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic Service create(Service service)
ServiceEndpointServicecreate in interface ServiceEndpointServiceservice - the servicepublic Service create(String type, String name, String description, boolean enabled)
ServiceEndpointServicecreate in interface ServiceEndpointServicetype - the type of the servicename - the name of the servicedescription - the description of the serviceenabled - the enabled status of the servicepublic Service get(String serviceId)
ServiceEndpointServiceget in interface ServiceEndpointServiceserviceId - the id of the servicepublic Service update(Service service)
ServiceEndpointServiceupdate in interface ServiceEndpointServiceservice - the service set to updatepublic ActionResponse delete(String serviceId)
ServiceEndpointServicedelete in interface ServiceEndpointServiceserviceId - the id of the servicepublic List<? extends Service> list()
ServiceEndpointServicelist in interface ServiceEndpointServicepublic List<? extends Endpoint> listEndpoints()
ServiceEndpointServicelistEndpoints in interface ServiceEndpointServicepublic Endpoint createEndpoint(Endpoint endpoint)
ServiceEndpointServicecreateEndpoint in interface ServiceEndpointServiceendpoint - the endpointpublic Endpoint createEndpoint(String name, URL url, Facing iface, String regionId, String serviceId, boolean enabled)
ServiceEndpointServicecreateEndpoint in interface ServiceEndpointServicename - the name of the endpointurl - the url of the endpontiface - the interface type of the endpointregionId - the region id of the region that contains the endpointserviceId - the service id of the service the endpoint belongs toenabled - the enabled status of the endpointpublic Endpoint getEndpoint(String endpointId)
ServiceEndpointServicegetEndpoint in interface ServiceEndpointServiceendpointId - the endpoint idpublic Endpoint updateEndpoint(Endpoint endpoint)
ServiceEndpointServiceupdateEndpoint in interface ServiceEndpointServiceendpoint - the endpoint set to updatepublic ActionResponse deleteEndpoint(String endpointId)
ServiceEndpointServicedeleteEndpoint in interface ServiceEndpointServiceendpointId - the endpoint identifierCopyright © 2017. All rights reserved.