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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET