Interface TenantApi
-
@Consumes("application/json") @Path("/tenants") public interface TenantApi
Provides access to the Keystone Tenant API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tenant
get(String tenantId)
Retrieve information about a tenant, by tenant IDTenant
getByName(String tenantName)
Retrieve information about a tenant, by tenant namePagedIterable<Tenant>
list()
The operation returns a list of tenants which the current token provides access to.PaginatedCollection<Tenant>
list(PaginationOptions options)
-
-
-
Method Detail
-
list
@GET PagedIterable<Tenant> list()
The operation returns a list of tenants which the current token provides access to.
-
list
@GET PaginatedCollection<Tenant> list(PaginationOptions options)
-
get
@GET @Path("/{id}") @Nullable Tenant get(@PathParam("id") String tenantId)
Retrieve information about a tenant, by tenant ID- Returns:
- the information about the tenant
-
-