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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET