MetricSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. MetricSpecification
- com.
Implements
public final class MetricSpecification
implements JsonSerializable<MetricSpecification>
Description of metrics specification.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
aggregationType()
Get the aggregation |
| List<Availability> |
availabilities()
Get the availabilities property: List of availability. |
| List<Dimension> |
dimensions()
Get the dimensions property: List of dimensions. |
| 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 of the metric. |
| String |
resourceIdDimensionNameOverride()
Get the resource |
| String |
sourceMdmAccount()
Get the source |
| String |
sourceMdmNamespace()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unit()
Get the unit property: Units the metric to be displayed in. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
aggregationType
public String aggregationType()
Get the aggregationType property: The aggregation type.
Returns:
availabilities
public List<Availability> availabilities()
Get the availabilities property: List of availability.
Returns:
dimensions
public List<Dimension> dimensions()
Get the dimensions property: List of dimensions.
Returns:
displayDescription
public String displayDescription()
Get the displayDescription property: The description of the metric.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the metric.
Returns:
enableRegionalMdmAccount
public Boolean enableRegionalMdmAccount()
Get the enableRegionalMdmAccount property: Whether regional MDM account enabled.
Returns:
fillGapWithZero
public Boolean fillGapWithZero()
Get the fillGapWithZero property: Whether gaps would be filled with zeros.
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: Whether the metric is internal.
Returns:
metricFilterPattern
public String metricFilterPattern()
Get the metricFilterPattern property: Pattern for the filter of the metric.
Returns:
name
public String name()
Get the name property: The name of the metric.
Returns:
resourceIdDimensionNameOverride
public String resourceIdDimensionNameOverride()
Get the resourceIdDimensionNameOverride property: The resource Id dimension name override.
Returns:
sourceMdmAccount
public String sourceMdmAccount()
Get the sourceMdmAccount property: The source MDM account.
Returns:
sourceMdmNamespace
public String sourceMdmNamespace()
Get the sourceMdmNamespace property: The source MDM namespace.
Returns:
toJson
unit
public String unit()
Get the unit property: Units the metric to be displayed in.
Returns:
validate
public void validate()
Validates the instance.