Table of Contents

Class PartitionMetric

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

The metric values for a single partition.

public class PartitionMetric : Metric
Inheritance
PartitionMetric
Inherited Members

Constructors

PartitionMetric()

Initializes a new instance of the PartitionMetric class.

public PartitionMetric()

PartitionMetric(DateTime?, DateTime?, string, UnitType, MetricName, IList<MetricValue>, string, string)

Initializes a new instance of the PartitionMetric class.

public PartitionMetric(DateTime? startTime = null, DateTime? endTime = null, string timeGrain = null, UnitType unit = null, MetricName name = null, IList<MetricValue> metricValues = null, string partitionId = null, string partitionKeyRangeId = 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<MetricValue>

The metric values for the specified time window and timestep.

partitionId string

The partition id (GUID identifier) of the metric values.

partitionKeyRangeId string

The partition key range id (integer identifier) of the metric values.

Properties

PartitionId

Gets the partition id (GUID identifier) of the metric values.

public string PartitionId { get; }

Property Value

string

PartitionKeyRangeId

Gets the partition key range id (integer identifier) of the metric values.

public string PartitionKeyRangeId { get; }

Property Value

string