Class PartitionMetricInner
java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.MetricInner
com.azure.resourcemanager.cosmos.fluent.models.PartitionMetricInner
The metric values for a single partition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the partitionId property: The partition id (GUID identifier) of the metric values.Get the partitionKeyRangeId property: The partition key range id (integer identifier) of the metric values.voidvalidate()Validates the instance.Methods inherited from class com.azure.resourcemanager.cosmos.fluent.models.MetricInner
endTime, metricValues, name, startTime, timeGrain, unit
-
Constructor Details
-
PartitionMetricInner
public PartitionMetricInner()Creates an instance of PartitionMetricInner class.
-
-
Method Details
-
partitionId
Get the partitionId property: The partition id (GUID identifier) of the metric values.- Returns:
- the partitionId value.
-
partitionKeyRangeId
Get the partitionKeyRangeId property: The partition key range id (integer identifier) of the metric values.- Returns:
- the partitionKeyRangeId value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMetricInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-