MetricAlertResourceCollection Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. MetricAlertResourceCollection
- com.
Implements
public final class MetricAlertResourceCollection
implements JsonSerializable<MetricAlertResourceCollection>
Represents a collection of alert rule resources.
Constructor | Description |
---|---|
Metric |
Creates an instance of Metric |
Modifier and Type | Method and Description |
---|---|
static
Metric |
from Reads an instance of Metric |
Json |
to |
void |
validate()
Validates the instance. |
List<Metric |
value()
Get the value property: the values for the alert rule resources. |
Metric |
with Set the value property: the values for the alert rule resources. |
Methods inherited from java.lang.Object
MetricAlertResourceCollection
public MetricAlertResourceCollection()
Creates an instance of MetricAlertResourceCollection class.
fromJson
public static MetricAlertResourceCollection fromJson(JsonReader jsonReader)
Reads an instance of MetricAlertResourceCollection from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
value
public List
Get the value property: the values for the alert rule resources.
Returns:
withValue
public MetricAlertResourceCollection withValue(List
Set the value property: the values for the alert rule resources.
Parameters:
Returns: