AlertRuleRecommendationResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. alertsmanagement. fluent. models. AlertRuleRecommendationResourceInner
- com.
- com.
public final class AlertRuleRecommendationResourceInner
extends ProxyResource
A single alert rule recommendation resource.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertRuleRecommendationResourceInner() |
Creates an instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
alertRuleType()
Get the alert |
| Map<String,String> |
displayInformation()
Get the display |
|
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. |
|
Rule |
ruleArmTemplate()
Get the rule |
|
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 |
withAlertRuleType(String alertRuleType)
Set the alert |
|
Alert |
withDisplayInformation(Map<String,String> displayInformation)
Set the display |
|
Alert |
withRuleArmTemplate(RuleArmTemplate ruleArmTemplate)
Set the rule |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AlertRuleRecommendationResourceInner
public AlertRuleRecommendationResourceInner()
Creates an instance of AlertRuleRecommendationResourceInner class.
Method Details
alertRuleType
public String alertRuleType()
Get the alertRuleType property: The recommendation alert rule type.
Returns:
displayInformation
public Map<String,String> displayInformation()
Get the displayInformation property: A dictionary that provides the display information for an alert rule recommendation.
Returns:
fromJson
public static AlertRuleRecommendationResourceInner fromJson(JsonReader jsonReader)
Reads an instance of AlertRuleRecommendationResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AlertRuleRecommendationResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AlertRuleRecommendationResourceInner.name()Returns:
ruleArmTemplate
public RuleArmTemplate ruleArmTemplate()
Get the ruleArmTemplate property: A complete ARM template to deploy the alert rules.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AlertRuleRecommendationResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AlertRuleRecommendationResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withAlertRuleType
public AlertRuleRecommendationResourceInner withAlertRuleType(String alertRuleType)
Set the alertRuleType property: The recommendation alert rule type.
Parameters:
Returns:
withDisplayInformation
public AlertRuleRecommendationResourceInner withDisplayInformation(Map<String,String> displayInformation)
Set the displayInformation property: A dictionary that provides the display information for an alert rule recommendation.
Parameters:
Returns:
withRuleArmTemplate
public AlertRuleRecommendationResourceInner withRuleArmTemplate(RuleArmTemplate ruleArmTemplate)
Set the ruleArmTemplate property: A complete ARM template to deploy the alert rules.
Parameters:
Returns: