openstack.metric.v1.metric¶
The Metric Class¶
The Metric class inherits from Resource.
-
class
openstack.metric.v1.metric.Metric(attrs=None, loaded=False)¶ 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()andResource.existing().Parameters: - attrs (dict) – The attributes to set when constructing this Resource.
- loaded (bool) –
Trueif this Resource exists on the server,Falseif it does not.
-
archive_policy_name= None¶ The name of the archive policy
-
archive_policy= None¶ The archive policy
-
created_by_user_id= None¶ The ID of the user who created this metric
-
created_by_project_id= None¶ The ID of the project this metric was created under
-
resource_id= None¶ The identifier of this metric
-
name= None¶ The name of this metric