DiagnosticMetricSet 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
DiagnosticMetricSet() |
Initializes a new instance of the DiagnosticMetricSet class. |
DiagnosticMetricSet(String, String, Nullable<DateTime>, Nullable<DateTime>, String, IList<DiagnosticMetricSample>) |
Initializes a new instance of the DiagnosticMetricSet class. |
DiagnosticMetricSet()
Initializes a new instance of the DiagnosticMetricSet class.
public DiagnosticMetricSet ();
Public Sub New ()
Applies to
DiagnosticMetricSet(String, String, Nullable<DateTime>, Nullable<DateTime>, String, IList<DiagnosticMetricSample>)
Initializes a new instance of the DiagnosticMetricSet class.
public DiagnosticMetricSet (string name = default, string unit = default, DateTime? startTime = default, DateTime? endTime = default, string timeGrain = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.DiagnosticMetricSample> values = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.DiagnosticMetricSet : string * string * Nullable<DateTime> * Nullable<DateTime> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.DiagnosticMetricSample> -> Microsoft.Azure.Management.AppService.Fluent.Models.DiagnosticMetricSet
Public Sub New (Optional name As String = Nothing, Optional unit As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional timeGrain As String = Nothing, Optional values As IList(Of DiagnosticMetricSample) = Nothing)
Parameters
- name
- String
Name of the metric
- unit
- String
Metric's unit
- timeGrain
- String
Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D
- values
- IList<DiagnosticMetricSample>
Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}