다음을 통해 공유


PercentileMetric Constructors

Definition

Overloads

PercentileMetric()

Initializes a new instance of the PercentileMetric class.

PercentileMetric(Nullable<DateTime>, Nullable<DateTime>, String, UnitType, MetricName, IList<PercentileMetricValue>)

Initializes a new instance of the PercentileMetric class.

PercentileMetric()

Initializes a new instance of the PercentileMetric class.

public PercentileMetric ();
Public Sub New ()

Applies to

PercentileMetric(Nullable<DateTime>, Nullable<DateTime>, String, UnitType, MetricName, IList<PercentileMetricValue>)

Initializes a new instance of the PercentileMetric class.

public PercentileMetric (DateTime? startTime = default, DateTime? endTime = default, string timeGrain = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.UnitType unit = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricName name = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.PercentileMetricValue> metricValues = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.PercentileMetric : Nullable<DateTime> * Nullable<DateTime> * string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.UnitType * Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricName * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.PercentileMetricValue> -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.PercentileMetric
Public Sub New (Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional timeGrain As String = Nothing, Optional unit As UnitType = Nothing, Optional name As MetricName = Nothing, Optional metricValues As IList(Of PercentileMetricValue) = Nothing)

Parameters

startTime
Nullable<DateTime>

The start time for the metric (ISO-8601 format).

endTime
Nullable<DateTime>

The end time for the metric (ISO-8601 format).

timeGrain
String

The time grain to be used to summarize the metric values.

unit
UnitType

The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'

name
MetricName

The name information for the metric.

metricValues
IList<PercentileMetricValue>

The percentile metric values for the specified time window and timestep.

Applies to