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


@Beta
public interface RoleAdminApi

Provides access to the OpenStack Keystone Role Administration Extension API.


Method Summary
 Role create(String name)
          Creates a new Role
 boolean delete(String roleId)
          Deletes a role
 Role get(String roleId)
          Gets the role
 com.google.common.collect.FluentIterable<? extends Role> list()
          Returns a summary list of roles.
 

Method Detail

list

@Named(value="role:list")
com.google.common.collect.FluentIterable<? extends Role> list()
Returns a summary list of roles.

Returns:
The list of roles

create

@Named(value="role:create")
@Nullable
Role create(String name)
Creates a new Role

Returns:
the new Role

get

@Named(value="role:get")
@Nullable
Role get(String roleId)
Gets the role

Returns:
the role

delete

@Named(value="role:delete")
boolean delete(String roleId)
Deletes a role

Returns:
true if successful


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