你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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}
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈