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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET