Class MultiMetricCriteria
java.lang.Object
com.microsoft.azure.management.monitor.MultiMetricCriteria
- Direct Known Subclasses:
DynamicMetricCriteria
,MetricCriteria
The types of conditions for a multi resource alert.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet unmatched properties from the message are deserialized this collection.Get list of dimension conditions.Get name of the metric.Get namespace of the metric.name()
Get name of the criteria.Get the criteria time aggregation types.withAdditionalProperties
(Map<String, Object> additionalProperties) Set unmatched properties from the message are deserialized this collection.withDimensions
(List<MetricDimension> dimensions) Set list of dimension conditions.withMetricName
(String metricName) Set name of the metric.withMetricNamespace
(String metricNamespace) Set namespace of the metric.Set name of the criteria.withTimeAggregation
(Object timeAggregation) Set the criteria time aggregation types.
-
Constructor Details
-
MultiMetricCriteria
public MultiMetricCriteria()
-
-
Method Details
-
additionalProperties
Get unmatched properties from the message are deserialized this collection.- Returns:
- the additionalProperties value
-
withAdditionalProperties
Set unmatched properties from the message are deserialized this collection.- Parameters:
additionalProperties
- the additionalProperties value to set- Returns:
- the MultiMetricCriteria object itself.
-
name
Get name of the criteria.- Returns:
- the name value
-
withName
Set name of the criteria.- Parameters:
name
- the name value to set- Returns:
- the MultiMetricCriteria object itself.
-
metricName
Get name of the metric.- Returns:
- the metricName value
-
withMetricName
Set name of the metric.- Parameters:
metricName
- the metricName value to set- Returns:
- the MultiMetricCriteria object itself.
-
metricNamespace
Get namespace of the metric.- Returns:
- the metricNamespace value
-
withMetricNamespace
Set namespace of the metric.- Parameters:
metricNamespace
- the metricNamespace value to set- Returns:
- the MultiMetricCriteria object itself.
-
timeAggregation
Get the criteria time aggregation types.- Returns:
- the timeAggregation value
-
withTimeAggregation
Set the criteria time aggregation types.- Parameters:
timeAggregation
- the timeAggregation value to set- Returns:
- the MultiMetricCriteria object itself.
-
dimensions
Get list of dimension conditions.- Returns:
- the dimensions value
-
withDimensions
Set list of dimension conditions.- Parameters:
dimensions
- the dimensions value to set- Returns:
- the MultiMetricCriteria object itself.
-