ResourceMetric Class

Definition

Object representing a metric for any resource .

public class ResourceMetric
type ResourceMetric = class
Public Class ResourceMetric
Inheritance
ResourceMetric

Constructors

ResourceMetric()

Initializes a new instance of the ResourceMetric class.

ResourceMetric(ResourceMetricName, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<ResourceMetricValue>, IList<ResourceMetricProperty>)

Initializes a new instance of the ResourceMetric class.

Properties

EndTime

Gets metric end time.

Id

Gets resource Id.

MetricValues

Gets metric values.

Name

Gets name of metric.

Properties

Gets properties.

ResourceId

Gets metric resource Id.

StartTime

Gets metric start time.

TimeGrain

Gets metric granularity. E.g PT1H, PT5M, P1D

Unit

Gets metric unit.

Applies to