org.jclouds.openstack.nova.v2_0.extensions
Interface SimpleTenantUsageApi


@Beta
public interface SimpleTenantUsageApi

Provides access to the OpenStack Compute (Nova) Simple Tenant Usage extension API.


Method Summary
 SimpleTenantUsage get(String tenantId)
          Retrieve tenant_usage for a specified tenant
 com.google.common.collect.FluentIterable<SimpleTenantUsage> list()
          Retrieve tenant usage for all tenants.
 

Method Detail

list

@Named(value="tenantUsage:list")
com.google.common.collect.FluentIterable<SimpleTenantUsage> list()
Retrieve tenant usage for all tenants.

Returns:
the set of TenantUsage reports

get

@Named(value="tenantUsage:get")
@Nullable
SimpleTenantUsage get(String tenantId)
Retrieve tenant_usage for a specified tenant

Returns:
the requested tenant usage


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