The Sample class inherits from Resource.
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: |
|
---|
The meter name this sample is for
When the sample has been generated.
Arbitrary metadata associated with the sample
The ID of the project this sample was taken for
When the sample has been recorded.
The ID of the resource this sample was taken for
The name of the source that identifies where the sample comes from
The meter type
The unit of measure
The ID of the user this sample was taken for
The metered value
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.