MultiMetricCriteria Class
- java.
lang. Object - com.
microsoft. azure. management. monitor. MultiMetricCriteria
- com.
public class MultiMetricCriteria
The types of conditions for a multi resource alert.
Constructor Summary
Constructor | Description | |
---|---|---|
MultiMetricCriteria() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
additionalProperties()
Get unmatched properties from the message are deserialized this collection. |
java.util.List<Metric |
dimensions()
Get list of dimension conditions. |
java.lang.String |
metricName()
Get name of the metric. |
java.lang.String |
metricNamespace()
Get namespace of the metric. |
java.lang.String |
name()
Get name of the criteria. |
java.lang.Object |
timeAggregation()
Get the criteria time aggregation types. |
Multi |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set unmatched properties from the message are deserialized this collection. |
Multi |
withDimensions(List<MetricDimension> dimensions)
Set list of dimension conditions. |
Multi |
withMetricName(String metricName)
Set name of the metric. |
Multi |
withMetricNamespace(String metricNamespace)
Set namespace of the metric. |
Multi |
withName(String name)
Set name of the criteria. |
Multi |
withTimeAggregation(Object timeAggregation)
Set the criteria time aggregation types. |
Methods inherited from java.lang.Object
Constructor Details
MultiMetricCriteria
public MultiMetricCriteria()
Method Details
additionalProperties
public Map
Get unmatched properties from the message are deserialized this collection.
Returns:
dimensions
public List
Get list of dimension conditions.
Returns:
metricName
public String metricName()
Get name of the metric.
Returns:
metricNamespace
public String metricNamespace()
Get namespace of the metric.
Returns:
name
public String name()
Get name of the criteria.
Returns:
timeAggregation
public Object timeAggregation()
Get the criteria time aggregation types.
Returns:
withAdditionalProperties
public MultiMetricCriteria withAdditionalProperties(Map
Set unmatched properties from the message are deserialized this collection.
Parameters:
Returns:
withDimensions
public MultiMetricCriteria withDimensions(List
Set list of dimension conditions.
Parameters:
Returns:
withMetricName
public MultiMetricCriteria withMetricName(String metricName)
Set name of the metric.
Parameters:
Returns:
withMetricNamespace
public MultiMetricCriteria withMetricNamespace(String metricNamespace)
Set namespace of the metric.
Parameters:
Returns:
withName
public MultiMetricCriteria withName(String name)
Set name of the criteria.
Parameters:
Returns:
withTimeAggregation
public MultiMetricCriteria withTimeAggregation(Object timeAggregation)
Set the criteria time aggregation types.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for