The ceilometer.api.controllers.v2.resources Module

class ceilometer.api.controllers.v2.resources.Resource(metadata=None, **kwds)[source]

Bases: ceilometer.api.controllers.v2.base.Base

An externally defined object for which samples have been received.

classmethod sample()[source]
class ceilometer.api.controllers.v2.resources.ResourcesController[source]


Works on resources.

get_all(*args, **kwargs)[source]

Retrieve definitions of all of the resources.

  • q – Filter rules for the resources to be returned.
  • meter_links – option to include related meter links
get_one(*args, **kwargs)[source]

Retrieve details about one resource.

Parameters:resource_id – The UUID of the resource.

Previous topic

The ceilometer.api.controllers.v2.query Module

Next topic

The ceilometer.api.controllers.v2.root Module

Project Source

This Page