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