Class PercentileMetric
- 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
stringThe time grain to be used to summarize the metric values.
unit
UnitTypeThe unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
name
MetricNameThe 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
MetricValues
Gets the percentile metric values for the specified time window and timestep.
public IList<PercentileMetricValue> MetricValues { get; }
Property Value
Name
Gets the name information for the metric.
public MetricName Name { get; }
Property Value
StartTime
Gets the start time for the metric (ISO-8601 format).
public DateTime? StartTime { get; }
Property Value
TimeGrain
Gets the time grain to be used to summarize the metric values.
public string TimeGrain { get; }
Property Value
Unit
Gets or sets the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
public UnitType Unit { get; set; }