Class LogToMetricAction
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.Action
-
- com.azure.resourcemanager.monitor.models.LogToMetricAction
-
public class LogToMetricAction extends Action
Specify action need to be taken when rule type is converting log to metric.
-
-
Constructor Summary
Constructors Constructor Description LogToMetricAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Criteria>criteria()Get the criteria property: Criteria of Metric.voidvalidate()Validates the instance.LogToMetricActionwithCriteria(List<Criteria> criteria)Set the criteria property: Criteria of Metric.
-
-
-
Method Detail
-
criteria
public List<Criteria> criteria()
Get the criteria property: Criteria of Metric.- Returns:
- the criteria value.
-
withCriteria
public LogToMetricAction withCriteria(List<Criteria> criteria)
Set the criteria property: Criteria of Metric.- Parameters:
criteria- the criteria value to set.- Returns:
- the LogToMetricAction object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classAction- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-