Udostępnij za pośrednictwem


DiagnosticMetricSample Constructors

Definition

Overloads

DiagnosticMetricSample()

Initializes a new instance of the DiagnosticMetricSample class.

DiagnosticMetricSample(Nullable<DateTime>, String, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)

Initializes a new instance of the DiagnosticMetricSample class.

DiagnosticMetricSample()

Initializes a new instance of the DiagnosticMetricSample class.

public DiagnosticMetricSample ();
Public Sub New ()

Applies to

DiagnosticMetricSample(Nullable<DateTime>, String, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)

Initializes a new instance of the DiagnosticMetricSample class.

public DiagnosticMetricSample (DateTime? timestamp = default, string roleInstance = default, double? total = default, double? maximum = default, double? minimum = default, bool? isAggregated = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.DiagnosticMetricSample : Nullable<DateTime> * string * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<bool> -> Microsoft.Azure.Management.AppService.Fluent.Models.DiagnosticMetricSample
Public Sub New (Optional timestamp As Nullable(Of DateTime) = Nothing, Optional roleInstance As String = Nothing, Optional total As Nullable(Of Double) = Nothing, Optional maximum As Nullable(Of Double) = Nothing, Optional minimum As Nullable(Of Double) = Nothing, Optional isAggregated As Nullable(Of Boolean) = Nothing)

Parameters

timestamp
Nullable<DateTime>

Time at which metric is measured

roleInstance
String

Role Instance. Null if this counter is not per instance This is returned and should be whichever instance name we desire to be returned i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis

total
Nullable<Double>

Total value of the metric. If multiple measurements are made this will have sum of all.

maximum
Nullable<Double>

Maximum of the metric sampled during the time period

minimum
Nullable<Double>

Minimum of the metric sampled during the time period

isAggregated
Nullable<Boolean>

Whether the values are aggregates across all workers or not

Applies to