MetricDefinition 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
MetricDefinition() |
Initializes a new instance of the MetricDefinition class. |
MetricDefinition(MetricName, String, String, String, IList<MetricAvailability>) |
Initializes a new instance of the MetricDefinition class. |
MetricDefinition()
Initializes a new instance of the MetricDefinition class.
public MetricDefinition ();
Public Sub New ()
Applies to
MetricDefinition(MetricName, String, String, String, IList<MetricAvailability>)
Initializes a new instance of the MetricDefinition class.
public MetricDefinition (Microsoft.Azure.Management.Sql.Models.MetricName name = default, string primaryAggregationType = default, string resourceUri = default, string unit = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.MetricAvailability> metricAvailabilities = default);
new Microsoft.Azure.Management.Sql.Models.MetricDefinition : Microsoft.Azure.Management.Sql.Models.MetricName * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.MetricAvailability> -> Microsoft.Azure.Management.Sql.Models.MetricDefinition
Public Sub New (Optional name As MetricName = Nothing, Optional primaryAggregationType As String = Nothing, Optional resourceUri As String = Nothing, Optional unit As String = Nothing, Optional metricAvailabilities As IList(Of MetricAvailability) = Nothing)
Parameters
- name
- MetricName
The name information for the metric.
- primaryAggregationType
- String
The primary aggregation type defining how metric values are displayed. Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total'
- resourceUri
- String
The resource uri of the database.
- unit
- String
The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond'
- metricAvailabilities
- IList<MetricAvailability>
The list of database metric availabilities for the metric.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應