Class LogToMetricAction
java.lang.Object
com.azure.resourcemanager.monitor.models.Action
com.azure.resourcemanager.monitor.models.LogToMetricAction
Specify action need to be taken when rule type is converting log to metric.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncriteria()Get the criteria property: Criteria of Metric.voidvalidate()Validates the instance.withCriteria(List<Criteria> criteria) Set the criteria property: Criteria of Metric.
-
Constructor Details
-
LogToMetricAction
public LogToMetricAction()
-
-
Method Details
-
criteria
Get the criteria property: Criteria of Metric.- Returns:
- the criteria value.
-
withCriteria
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.
-