DiagnosticMetricSet Class

Class representing Diagnostic Metric information.

Inheritance
azure.mgmt.web._serialization.Model
DiagnosticMetricSet

Constructor

DiagnosticMetricSet(*, name: str | None = None, unit: str | None = None, start_time: datetime | None = None, end_time: datetime | None = None, time_grain: str | None = None, values: List[_models.DiagnosticMetricSample] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

Name of the metric.

unit
str

Metric's unit.

start_time

Start time of the period.

end_time

End time of the period.

time_grain
str

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

values

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

Variables

Name Description
name
str

Name of the metric.

unit
str

Metric's unit.

start_time

Start time of the period.

end_time

End time of the period.

time_grain
str

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

values

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