ArmOperationalInsightsModelFactory.OperationalInsightsUsageMetric Method
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.
Initializes a new instance of OperationalInsightsUsageMetric.
public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsUsageMetric OperationalInsightsUsageMetric (Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsMetricName name = default, string unit = default, double? currentValue = default, double? limit = default, DateTimeOffset? nextResetOn = default, string quotaPeriod = default);
static member OperationalInsightsUsageMetric : Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsMetricName * string * Nullable<double> * Nullable<double> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsUsageMetric
Public Shared Function OperationalInsightsUsageMetric (Optional name As OperationalInsightsMetricName = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional nextResetOn As Nullable(Of DateTimeOffset) = Nothing, Optional quotaPeriod As String = Nothing) As OperationalInsightsUsageMetric
Parameters
The name of the metric.
- unit
- String
The units used for the metric.
- nextResetOn
- Nullable<DateTimeOffset>
The time that the metric's value will reset.
- quotaPeriod
- String
The quota period that determines the length of time between value resets.
Returns
A new OperationalInsightsUsageMetric instance for mocking.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET