DiagnosticMetricSet Class

Class representing Diagnostic Metric information.

Inheritance
DiagnosticMetricSet

Constructor

DiagnosticMetricSet(*, name: Optional[str] = None, unit: Optional[str] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, time_grain: Optional[str] = None, values: Optional[List[azure.mgmt.web.v2018_02_01.models._models_py3.DiagnosticMetricSample]] = None, **kwargs)

Parameters

name
str
Required

Name of the metric.

unit
str
Required

Metric's unit.

start_time
datetime
Required

Start time of the period.

end_time
datetime
Required

End time of the period.

time_grain
str
Required

Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D.

values
list[DiagnosticMetricSample]
Required

Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}.