MetricSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. MetricSpecification
- com.
Implements
public final class MetricSpecification
implements JsonSerializable<MetricSpecification>
Definition of a single resource metric.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
aggregationType()
Get the aggregation |
|
List<Metric |
availabilities()
Get the availabilities property: The availabilities property. |
| String |
category()
Get the category property: The category property. |
| List<Dimension> |
dimensions()
Get the dimensions property: The dimensions property. |
| String |
displayDescription()
Get the display |
| String |
displayName()
Get the display |
| Boolean |
enableRegionalMdmAccount()
Get the enable |
| Boolean |
fillGapWithZero()
Get the fill |
|
static
Metric |
fromJson(JsonReader jsonReader)
Reads an instance of Metric |
| Boolean |
isInternal()
Get the is |
| String |
metricFilterPattern()
Get the metric |
| String |
name()
Get the name property: The name property. |
| String |
sourceMdmAccount()
Get the source |
| String |
sourceMdmNamespace()
Get the source |
| List<String> |
supportedAggregationTypes()
Get the supported |
| List<String> |
supportedTimeGrainTypes()
Get the supported |
| Boolean |
supportsInstanceLevelAggregation()
Get the supports |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unit()
Get the unit property: The unit property. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
aggregationType
public String aggregationType()
Get the aggregationType property: The aggregationType property.
Returns:
availabilities
public List<MetricAvailability> availabilities()
Get the availabilities property: The availabilities property.
Returns:
category
public String category()
Get the category property: The category property.
Returns:
dimensions
public List<Dimension> dimensions()
Get the dimensions property: The dimensions property.
Returns:
displayDescription
public String displayDescription()
Get the displayDescription property: The displayDescription property.
Returns:
displayName
public String displayName()
Get the displayName property: The displayName property.
Returns:
enableRegionalMdmAccount
public Boolean enableRegionalMdmAccount()
Get the enableRegionalMdmAccount property: The enableRegionalMdmAccount property.
Returns:
fillGapWithZero
public Boolean fillGapWithZero()
Get the fillGapWithZero property: The fillGapWithZero property.
Returns:
fromJson
public static MetricSpecification fromJson(JsonReader jsonReader)
Reads an instance of MetricSpecification from the JsonReader.
Parameters:
Returns:
Throws:
isInternal
public Boolean isInternal()
Get the isInternal property: The isInternal property.
Returns:
metricFilterPattern
public String metricFilterPattern()
Get the metricFilterPattern property: The metricFilterPattern property.
Returns:
name
public String name()
Get the name property: The name property.
Returns:
sourceMdmAccount
public String sourceMdmAccount()
Get the sourceMdmAccount property: The sourceMdmAccount property.
Returns:
sourceMdmNamespace
public String sourceMdmNamespace()
Get the sourceMdmNamespace property: The sourceMdmNamespace property.
Returns:
supportedAggregationTypes
public List<String> supportedAggregationTypes()
Get the supportedAggregationTypes property: The supportedAggregationTypes property.
Returns:
supportedTimeGrainTypes
public List<String> supportedTimeGrainTypes()
Get the supportedTimeGrainTypes property: The supportedTimeGrainTypes property.
Returns:
supportsInstanceLevelAggregation
public Boolean supportsInstanceLevelAggregation()
Get the supportsInstanceLevelAggregation property: The supportsInstanceLevelAggregation property.
Returns:
toJson
unit
public String unit()
Get the unit property: The unit property.
Returns:
validate
public void validate()
Validates the instance.