Table of Contents

Class PartitionUsage

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

The partition level usage data for a usage request.

public class PartitionUsage : Usage
Inheritance
PartitionUsage
Inherited Members

Constructors

PartitionUsage()

Initializes a new instance of the PartitionUsage class.

public PartitionUsage()

PartitionUsage(UnitType, MetricName, string, long?, long?, string, string)

Initializes a new instance of the PartitionUsage class.

public PartitionUsage(UnitType unit = null, MetricName name = null, string quotaPeriod = null, long? limit = null, long? currentValue = null, string partitionId = null, string partitionKeyRangeId = null)

Parameters

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.

quotaPeriod string

The quota period used to summarize the usage values.

limit long?

Maximum value for this metric

currentValue long?

Current value for this metric

partitionId string

The partition id (GUID identifier) of the usages.

partitionKeyRangeId string

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

Properties

PartitionId

Gets the partition id (GUID identifier) of the usages.

public string PartitionId { get; }

Property Value

string

PartitionKeyRangeId

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

public string PartitionKeyRangeId { get; }

Property Value

string