novaclient.v2.usage Module¶Usage interface.
novaclient.v2.usage.Usage(manager, info, loaded=False, resp=None)¶Bases: novaclient.base.Resource
Usage contains information about a tenant’s physical resource usage
Populate and bind to a manager.
| Parameters: |
|
|---|
get()¶Support for lazy loading details.
Some clients, such as novaclient have the option to lazy load the details, details which can be loaded with this function.
novaclient.v2.usage.UsageManager(api)¶Bases: novaclient.base.ManagerWithFind
Manage Usage resources.
get(*args, **kwargs)¶Get usage for a specific tenant.
| Parameters: |
|
|---|---|
| Return type: |
list(*args, **kwargs)¶Get usage for all tenants
| Parameters: |
|
|---|---|
| Return type: | list of |
usage_prefix = 'os-simple-tenant-usage'¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.