DiagnosticMetricSample Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 value of the metric. If multiple measurements are made this will have sum of all.
Applies to
Azure SDK for .NET