The Resource
class inherits from Resource
.
openstack.telemetry.v2.resource.
Resource
(attrs=None, loaded=False)¶Caution
This API is a work in progress and is subject to change.
Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct
resource objects, which are preferrable to entering through
this initializer. See Resource.new()
and
Resource.existing()
.
Parameters: |
|
---|
first_sample_at
= None¶UTC date & time not later than the first sample known for this resource
last_sample_at
= None¶UTC date & time not earlier than the last sample known for this resource
links
= None¶A list containing a self link and associated meter links
metadata
= None¶Arbitrary metadata associated with the resource
project_id
= None¶The ID of the owning project
resource_id
= None¶The ID for the resource
source
= None¶The name of the source where the resource comes from
user_id
= None¶The ID of the user who created the resource or updated it last
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.