Package org.openstack4j.api.identity.v3
Interface ServiceEndpointService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
ServiceEndpointServiceImpl
public interface ServiceEndpointService extends RestService
Identity V3 ServiceManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Servicecreate(String type, String name, String description, boolean enabled)Creates a new serviceServicecreate(Service service)Create a new serviceEndpointcreateEndpoint(String name, URL url, Facing iface, String regionId, String serviceId, boolean enabled)Creates a new endpointEndpointcreateEndpoint(Endpoint endpoint)Creates a new endpointActionResponsedelete(String serviceId)Delete a serviceActionResponsedeleteEndpoint(String endpointId)Delete an EndpointServiceget(String serviceId)Get details of a service by idEndpointgetEndpoint(String endpointId)Get details for an endpointList<? extends Service>list()Lists servicesList<? extends Endpoint>listEndpoints()Lists available endpointsServiceupdate(Service service)Updates a serviceEndpointupdateEndpoint(Endpoint endpoint)Updates a endpoint
-
-
-
Method Detail
-
create
Service create(Service service)
Create a new service- Parameters:
service- the service- Returns:
- the created service
-
create
Service create(String type, String name, String description, boolean enabled)
Creates a new service- Parameters:
type- the type of the servicename- the name of the servicedescription- the description of the serviceenabled- the enabled status of the service- Returns:
- the created service
-
get
Service get(String serviceId)
Get details of a service by id- Parameters:
serviceId- the id of the service- Returns:
- the service
-
update
Service update(Service service)
Updates a service- Parameters:
service- the service set to update- Returns:
- the updated service
-
delete
ActionResponse delete(String serviceId)
Delete a service- Parameters:
serviceId- the id of the service- Returns:
- the ActionResponse
-
listEndpoints
List<? extends Endpoint> listEndpoints()
Lists available endpoints- Returns:
- the list of endpoints
-
createEndpoint
Endpoint createEndpoint(Endpoint endpoint)
Creates a new endpoint- Parameters:
endpoint- the endpoint- Returns:
- the created endpoint
-
createEndpoint
Endpoint createEndpoint(String name, URL url, Facing iface, String regionId, String serviceId, boolean enabled)
Creates a new endpoint- Parameters:
name- 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 endpoint
-
getEndpoint
Endpoint getEndpoint(String endpointId)
Get details for an endpoint- Parameters:
endpointId- the endpoint id- Returns:
- the endpoint
-
updateEndpoint
Endpoint updateEndpoint(Endpoint endpoint)
Updates a endpoint- Parameters:
endpoint- the endpoint set to update- Returns:
- the updated endpoint
-
deleteEndpoint
ActionResponse deleteEndpoint(String endpointId)
Delete an Endpoint- Parameters:
endpointId- the endpoint identifier- Returns:
- the ActionResponse
-
-