UsageMetric 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
UsageMetric() |
Initializes a new instance of the UsageMetric class. |
UsageMetric(MetricName, String, Nullable<Double>, Nullable<Double>, Nullable<DateTime>, String) |
Initializes a new instance of the UsageMetric class. |
UsageMetric()
Initializes a new instance of the UsageMetric class.
public UsageMetric ();
Public Sub New ()
Applies to
UsageMetric(MetricName, String, Nullable<Double>, Nullable<Double>, Nullable<DateTime>, String)
Initializes a new instance of the UsageMetric class.
public UsageMetric (Microsoft.Azure.Management.OperationalInsights.Models.MetricName name = default, string unit = default, double? currentValue = default, double? limit = default, DateTime? nextResetTime = default, string quotaPeriod = default);
new Microsoft.Azure.Management.OperationalInsights.Models.UsageMetric : Microsoft.Azure.Management.OperationalInsights.Models.MetricName * string * Nullable<double> * Nullable<double> * Nullable<DateTime> * string -> Microsoft.Azure.Management.OperationalInsights.Models.UsageMetric
Public Sub New (Optional name As MetricName = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional nextResetTime As Nullable(Of DateTime) = Nothing, Optional quotaPeriod As String = Nothing)
Parameters
- name
- MetricName
The name of the metric.
- unit
- String
The units used for the metric.
- quotaPeriod
- String
The quota period that determines the length of time between value resets.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET