org.jclouds.openstack.keystone.v2_0.extensions
Interface ServiceAdminApi


@Beta
public interface ServiceAdminApi

Provides access to Service Administration actions.


Method Summary
 Service create(String name, String type, String description)
          Creates a new Service
 boolean delete(String serviceId)
          Deletes a service
 Service get(String serviceId)
          Gets the service
 org.jclouds.collect.PagedIterable<Service> list()
          Retrieve the list of services

 PaginatedCollection<Service> list(PaginationOptions options)
           
 

Method Detail

list

@Named(value="service:list")
org.jclouds.collect.PagedIterable<Service> list()
Retrieve the list of services

Returns:
the list of services

list

@Named(value="service:list")
PaginatedCollection<Service> list(PaginationOptions options)

create

@Named(value="service:create")
@Nullable
Service create(String name,
                              String type,
                              String description)
Creates a new Service

Returns:
the new Service

get

@Named(value="service:get")
@Nullable
Service get(String serviceId)
Gets the service

Returns:
the service

delete

@Named(value="service:delete")
boolean delete(String serviceId)
Deletes a service

Returns:
true if successful


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.