PrometheusRuleGroupResourcePatch Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. PrometheusRuleGroupResourcePatch
- com.
Implements
public final class PrometheusRuleGroupResourcePatch
implements JsonSerializable<PrometheusRuleGroupResourcePatch>
The Prometheus rule group resource for patch operations.
Constructor Summary
| Constructor | Description |
|---|---|
| PrometheusRuleGroupResourcePatch() |
Creates an instance of Prometheus |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Prometheus |
fromJson(JsonReader jsonReader)
Reads an instance of Prometheus |
|
Prometheus |
properties()
Get the properties property: The properties property. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Prometheus |
withProperties(PrometheusRuleGroupResourcePatchProperties properties)
Set the properties property: The properties property. |
|
Prometheus |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
PrometheusRuleGroupResourcePatch
public PrometheusRuleGroupResourcePatch()
Creates an instance of PrometheusRuleGroupResourcePatch class.
Method Details
fromJson
public static PrometheusRuleGroupResourcePatch fromJson(JsonReader jsonReader)
Reads an instance of PrometheusRuleGroupResourcePatch from the JsonReader.
Parameters:
Returns:
Throws:
properties
public PrometheusRuleGroupResourcePatchProperties properties()
Get the properties property: The properties property.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withProperties
public PrometheusRuleGroupResourcePatch withProperties(PrometheusRuleGroupResourcePatchProperties properties)
Set the properties property: The properties property.
Parameters:
Returns:
withTags
public PrometheusRuleGroupResourcePatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: