AlertProcessingRuleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. alertsmanagement. models. ManagedResource - com.
azure. resourcemanager. alertsmanagement. fluent. models. AlertProcessingRuleInner
- com.
- com.
- com.
public final class AlertProcessingRuleInner
extends ManagedResource
Alert processing rule object containing target scopes, conditions and scheduling logic.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertProcessingRuleInner() |
Creates an instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Alert |
fromJson(JsonReader jsonReader)
Reads an instance of Alert |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Alert |
properties()
Get the properties property: Alert processing rule properties. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Alert |
withLocation(String location)
Set the location property: Resource location. |
|
Alert |
withProperties(AlertProcessingRuleProperties properties)
Set the properties property: Alert processing rule properties. |
|
Alert |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from ManagedResource
Methods inherited from java.lang.Object
Constructor Details
AlertProcessingRuleInner
public AlertProcessingRuleInner()
Creates an instance of AlertProcessingRuleInner class.
Method Details
fromJson
public static AlertProcessingRuleInner fromJson(JsonReader jsonReader)
Reads an instance of AlertProcessingRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AlertProcessingRuleInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AlertProcessingRuleInner.name()Returns:
properties
public AlertProcessingRuleProperties properties()
Get the properties property: Alert processing rule properties.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Alert processing rule system data.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AlertProcessingRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AlertProcessingRuleInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
AlertProcessingRuleInner.validate()withLocation
public AlertProcessingRuleInner withLocation(String location)
Set the location property: Resource location.
Overrides:
AlertProcessingRuleInner.withLocation(String location)Parameters:
withProperties
public AlertProcessingRuleInner withProperties(AlertProcessingRuleProperties properties)
Set the properties property: Alert processing rule properties.
Parameters:
Returns:
withTags
public AlertProcessingRuleInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Overrides:
AlertProcessingRuleInner.withTags(Map<String,String> tags)Parameters: