primaryAggregationType
Get the primaryAggregationType property: the primary aggregation type value defining how to use the values for
display.
- Returns:
- the primaryAggregationType value.
com.azure.json.JsonSerializable<MetricDefinitionInner>category()static MetricDefinitionInnerfromJson(com.azure.json.JsonReader jsonReader) id()name()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) unit()voidvalidate()withCategory(String category) withDimensions(List<LocalizableStringInner> dimensions) withDisplayDescription(String displayDescription) withIsDimensionRequired(Boolean isDimensionRequired) withMetricAvailabilities(List<MetricAvailability> metricAvailabilities) withMetricClass(MetricClass metricClass) withNamespace(String namespace) withPrimaryAggregationType(AggregationType primaryAggregationType) withResourceId(String resourceId) withSupportedAggregationTypes(List<AggregationType> supportedAggregationTypes) clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringisDimensionRequired - the isDimensionRequired value to set.resourceId - the resourceId value to set.namespace - the namespace value to set.name - the name value to set.displayDescription - the displayDescription value to set.category - the category value to set.metricClass - the metricClass value to set.unit - the unit value to set.primaryAggregationType - the primaryAggregationType value to set.supportedAggregationTypes - the supportedAggregationTypes value to set.metricAvailabilities - the metricAvailabilities value to set.id - the id value to set.dimensions - the dimensions value to set.IllegalArgumentException - thrown if the instance is not valid.toJson in interface com.azure.json.JsonSerializable<MetricDefinitionInner>IOExceptionjsonReader - The JsonReader being read.IOException - If an error occurs while reading the MetricDefinitionInner.