PrometheusRuleGroupResourcePatchProperties Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. PrometheusRuleGroupResourcePatchProperties
- com.
Implements
public final class PrometheusRuleGroupResourcePatchProperties
implements JsonSerializable<PrometheusRuleGroupResourcePatchProperties>
The PrometheusRuleGroupResourcePatchProperties model.
Constructor Summary
| Constructor | Description |
|---|---|
| PrometheusRuleGroupResourcePatchProperties() |
Creates an instance of Prometheus |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: the flag that indicates whether the Prometheus rule group is enabled. |
|
static
Prometheus |
fromJson(JsonReader jsonReader)
Reads an instance of Prometheus |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Prometheus |
withEnabled(Boolean enabled)
Set the enabled property: the flag that indicates whether the Prometheus rule group is enabled. |
Methods inherited from java.lang.Object
Constructor Details
PrometheusRuleGroupResourcePatchProperties
public PrometheusRuleGroupResourcePatchProperties()
Creates an instance of PrometheusRuleGroupResourcePatchProperties class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: the flag that indicates whether the Prometheus rule group is enabled.
Returns:
fromJson
public static PrometheusRuleGroupResourcePatchProperties fromJson(JsonReader jsonReader)
Reads an instance of PrometheusRuleGroupResourcePatchProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public PrometheusRuleGroupResourcePatchProperties withEnabled(Boolean enabled)
Set the enabled property: the flag that indicates whether the Prometheus rule group is enabled.
Parameters:
Returns: