Share via


ArmCosmosDBModelFactory.PercentileMetricValue Method

Definition

Initializes a new instance of PercentileMetricValue.

public static Azure.ResourceManager.CosmosDB.Models.PercentileMetricValue PercentileMetricValue (int? count = default, double? average = default, double? maximum = default, double? minimum = default, DateTimeOffset? timestamp = default, double? total = default, double? p10 = default, double? p25 = default, double? p50 = default, double? p75 = default, double? p90 = default, double? p95 = default, double? p99 = default);
static member PercentileMetricValue : Nullable<int> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<DateTimeOffset> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> -> Azure.ResourceManager.CosmosDB.Models.PercentileMetricValue
Public Shared Function PercentileMetricValue (Optional count As Nullable(Of Integer) = Nothing, Optional average As Nullable(Of Double) = Nothing, Optional maximum As Nullable(Of Double) = Nothing, Optional minimum As Nullable(Of Double) = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional total As Nullable(Of Double) = Nothing, Optional p10 As Nullable(Of Double) = Nothing, Optional p25 As Nullable(Of Double) = Nothing, Optional p50 As Nullable(Of Double) = Nothing, Optional p75 As Nullable(Of Double) = Nothing, Optional p90 As Nullable(Of Double) = Nothing, Optional p95 As Nullable(Of Double) = Nothing, Optional p99 As Nullable(Of Double) = Nothing) As PercentileMetricValue

Parameters

count
Nullable<Int32>

The number of values for the metric.

average
Nullable<Double>

The average value of the metric.

maximum
Nullable<Double>

The max value of the metric.

minimum
Nullable<Double>

The min value of the metric.

timestamp
Nullable<DateTimeOffset>

The metric timestamp (ISO-8601 format).

total
Nullable<Double>

The total value of the metric.

p10
Nullable<Double>

The 10th percentile value for the metric.

p25
Nullable<Double>

The 25th percentile value for the metric.

p50
Nullable<Double>

The 50th percentile value for the metric.

p75
Nullable<Double>

The 75th percentile value for the metric.

p90
Nullable<Double>

The 90th percentile value for the metric.

p95
Nullable<Double>

The 95th percentile value for the metric.

p99
Nullable<Double>

The 99th percentile value for the metric.

Returns

A new PercentileMetricValue instance for mocking.

Applies to