共用方式為


PartitionMetric Class

Definition

The metric values for a single partition.

public class PartitionMetric : Microsoft.Azure.Management.CosmosDB.Models.Metric
type PartitionMetric = class
    inherit Metric
Public Class PartitionMetric
Inherits Metric
Inheritance
PartitionMetric

Constructors

PartitionMetric()

Initializes a new instance of the PartitionMetric class.

PartitionMetric(Nullable<DateTime>, Nullable<DateTime>, String, String, MetricName, IList<MetricValue>, String, String)

Initializes a new instance of the PartitionMetric class.

Properties

EndTime

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

(Inherited from Metric)
MetricValues

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

(Inherited from Metric)
Name

Gets the name information for the metric.

(Inherited from Metric)
PartitionId

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

PartitionKeyRangeId

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

StartTime

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

(Inherited from Metric)
TimeGrain

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

(Inherited from Metric)
Unit

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

(Inherited from Metric)

Applies to