ResourceMetric Class

Object representing a metric for any resource .

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
ResourceMetric

Constructor

ResourceMetric(**kwargs)

Variables

name
ResourceMetricName

Name of metric.

unit
str

Metric unit.

time_grain
str

Metric granularity. E.g PT1H, PT5M, P1D.

start_time
datetime

Metric start time.

end_time
datetime

Metric end time.

resource_id
str

Metric resource Id.

id
str

Resource Id.

metric_values
list[ResourceMetricValue]

Metric values.

properties
list[ResourceMetricProperty]

Resource metric properties collection.