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


@Beta
public interface ServiceAdminAsyncApi

Provides asynchronous access to services Administration actions.

See Also:
ServiceAdminApi

Method Summary
 com.google.common.util.concurrent.ListenableFuture<? extends Service> create(String name, String type, String description)
          Creates a new service
 com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
          Deletes a service.
 com.google.common.util.concurrent.ListenableFuture<? extends Service> get(String serviceId)
          Gets the service
 com.google.common.util.concurrent.ListenableFuture<? extends org.jclouds.collect.PagedIterable<? extends Service>> list()
           
 com.google.common.util.concurrent.ListenableFuture<? extends PaginatedCollection<? extends Service>> list(PaginationOptions options)
           
 

Method Detail

list

@Named(value="service:list")
com.google.common.util.concurrent.ListenableFuture<? extends org.jclouds.collect.PagedIterable<? extends Service>> list()
See Also:
ServiceApi#list()

list

@Named(value="service:list")
com.google.common.util.concurrent.ListenableFuture<? extends PaginatedCollection<? extends Service>> list(PaginationOptions options)
See Also:
ServiceApi#list(PaginationOptions)

create

@Named(value="service:create")
com.google.common.util.concurrent.ListenableFuture<? extends Service> create(String name,
                                                                                   String type,
                                                                                   String description)
Creates a new service

Returns:
the new service

get

@Named(value="service:get")
com.google.common.util.concurrent.ListenableFuture<? extends Service> get(String serviceId)
Gets the service

Returns:
the service

delete

@Named(value="service:delete")
com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
Deletes a service.

Returns:
true if successful


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