Class PartitionUsage
- 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
UnitTypeThe unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
name
MetricNameThe name information for the metric.
quotaPeriod
stringThe quota period used to summarize the usage values.
limit
long?Maximum value for this metric
currentValue
long?Current value for this metric
partitionId
stringThe partition id (GUID identifier) of the usages.
partitionKeyRangeId
stringThe 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
PartitionKeyRangeId
Gets the partition key range id (integer identifier) of the usages.
public string PartitionKeyRangeId { get; }