Table of Contents

Class PercentileMetric

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Percentile Metric data

public class PercentileMetric
Inheritance
PercentileMetric
Inherited Members

Constructors

PercentileMetric()

Initializes a new instance of the PercentileMetric class.

public PercentileMetric()

PercentileMetric(DateTime?, DateTime?, string, UnitType, MetricName, IList<PercentileMetricValue>)

Initializes a new instance of the PercentileMetric class.

public PercentileMetric(DateTime? startTime = null, DateTime? endTime = null, string timeGrain = null, UnitType unit = null, MetricName name = null, IList<PercentileMetricValue> metricValues = null)

Parameters

startTime DateTime?

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

endTime 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.

Properties

EndTime

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

public DateTime? EndTime { get; }

Property Value

DateTime?

MetricValues

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

public IList<PercentileMetricValue> MetricValues { get; }

Property Value

IList<PercentileMetricValue>

Name

Gets the name information for the metric.

public MetricName Name { get; }

Property Value

MetricName

StartTime

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

public DateTime? StartTime { get; }

Property Value

DateTime?

TimeGrain

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

public string TimeGrain { get; }

Property Value

string

Unit

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

public UnitType Unit { get; set; }

Property Value

UnitType