azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

190 строки
14 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch"
name: "AlertRuleResourcePatch"
nameWithType: "AlertRuleResourcePatch"
summary: "The alert rule object for patch operations."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **AlertRuleResourcePatch**"
constructors:
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.AlertRuleResourcePatch()"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.AlertRuleResourcePatch()"
name: "AlertRuleResourcePatch()"
nameWithType: "AlertRuleResourcePatch.AlertRuleResourcePatch()"
syntax: "public AlertRuleResourcePatch()"
methods:
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.actions()"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.actions()"
name: "actions()"
nameWithType: "AlertRuleResourcePatch.actions()"
summary: "Get the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
syntax: "public List<RuleAction> actions()"
desc: "Get the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
returns:
description: "the actions value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.RuleAction?alt=com.microsoft.azure.management.monitor.RuleAction&text=RuleAction\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.condition()"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.condition()"
name: "condition()"
nameWithType: "AlertRuleResourcePatch.condition()"
summary: "Get the condition that results in the alert rule being activated."
syntax: "public RuleCondition condition()"
desc: "Get the condition that results in the alert rule being activated."
returns:
description: "the condition value"
type: "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition?alt=com.microsoft.azure.management.monitor.RuleCondition&text=RuleCondition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.description()"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.description()"
name: "description()"
nameWithType: "AlertRuleResourcePatch.description()"
summary: "Get the description of the alert rule that will be included in the alert email."
syntax: "public String description()"
desc: "Get the description of the alert rule that will be included in the alert email."
returns:
description: "the description value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.isEnabled()"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.isEnabled()"
name: "isEnabled()"
nameWithType: "AlertRuleResourcePatch.isEnabled()"
summary: "Get the flag that indicates whether the alert rule is enabled."
syntax: "public boolean isEnabled()"
desc: "Get the flag that indicates whether the alert rule is enabled."
returns:
description: "the isEnabled value"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.lastUpdatedTime()"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.lastUpdatedTime()"
name: "lastUpdatedTime()"
nameWithType: "AlertRuleResourcePatch.lastUpdatedTime()"
summary: "Get last time the rule was updated in ISO8601 format."
syntax: "public DateTime lastUpdatedTime()"
desc: "Get last time the rule was updated in ISO8601 format."
returns:
description: "the lastUpdatedTime value"
type: "<xref href=\"org.joda.time.DateTime?alt=org.joda.time.DateTime&text=DateTime\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.name()"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.name()"
name: "name()"
nameWithType: "AlertRuleResourcePatch.name()"
summary: "Get the name of the alert rule."
syntax: "public String name()"
desc: "Get the name of the alert rule."
returns:
description: "the name value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.tags()"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.tags()"
name: "tags()"
nameWithType: "AlertRuleResourcePatch.tags()"
summary: "Get resource tags."
syntax: "public Map<String,String> tags()"
desc: "Get resource tags."
returns:
description: "the tags value"
type: "<xref href=\"java.util.Map?alt=java.util.Map&text=Map\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />,<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withActions(java.util.List<com.microsoft.azure.management.monitor.RuleAction>)"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withActions(List<RuleAction> actions)"
name: "withActions(List<RuleAction> actions)"
nameWithType: "AlertRuleResourcePatch.withActions(List<RuleAction> actions)"
summary: "Set the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
parameters:
- description: "the actions value to set"
name: "actions"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.RuleAction?alt=com.microsoft.azure.management.monitor.RuleAction&text=RuleAction\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public AlertRuleResourcePatch withActions(List<RuleAction> actions)"
desc: "Set the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
returns:
description: "the AlertRuleResourcePatch object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withCondition(com.microsoft.azure.management.monitor.RuleCondition)"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withCondition(RuleCondition condition)"
name: "withCondition(RuleCondition condition)"
nameWithType: "AlertRuleResourcePatch.withCondition(RuleCondition condition)"
summary: "Set the condition that results in the alert rule being activated."
parameters:
- description: "the condition value to set"
name: "condition"
type: "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition?alt=com.microsoft.azure.management.monitor.RuleCondition&text=RuleCondition\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AlertRuleResourcePatch withCondition(RuleCondition condition)"
desc: "Set the condition that results in the alert rule being activated."
returns:
description: "the AlertRuleResourcePatch object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withDescription(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withDescription(String description)"
name: "withDescription(String description)"
nameWithType: "AlertRuleResourcePatch.withDescription(String description)"
summary: "Set the description of the alert rule that will be included in the alert email."
parameters:
- description: "the description value to set"
name: "description"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AlertRuleResourcePatch withDescription(String description)"
desc: "Set the description of the alert rule that will be included in the alert email."
returns:
description: "the AlertRuleResourcePatch object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withIsEnabled(boolean)"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withIsEnabled(boolean isEnabled)"
name: "withIsEnabled(boolean isEnabled)"
nameWithType: "AlertRuleResourcePatch.withIsEnabled(boolean isEnabled)"
summary: "Set the flag that indicates whether the alert rule is enabled."
parameters:
- description: "the isEnabled value to set"
name: "isEnabled"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AlertRuleResourcePatch withIsEnabled(boolean isEnabled)"
desc: "Set the flag that indicates whether the alert rule is enabled."
returns:
description: "the AlertRuleResourcePatch object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withName(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withName(String name)"
name: "withName(String name)"
nameWithType: "AlertRuleResourcePatch.withName(String name)"
summary: "Set the name of the alert rule."
parameters:
- description: "the name value to set"
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AlertRuleResourcePatch withName(String name)"
desc: "Set the name of the alert rule."
returns:
description: "the AlertRuleResourcePatch object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withTags(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.microsoft.azure.management.monitor.AlertRuleResourcePatch.withTags(Map<String,String> tags)"
name: "withTags(Map<String,String> tags)"
nameWithType: "AlertRuleResourcePatch.withTags(Map<String,String> tags)"
summary: "Set resource tags."
parameters:
- description: "the tags value to set"
name: "tags"
type: "<xref href=\"java.util.Map?alt=java.util.Map&text=Map\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />,<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public AlertRuleResourcePatch withTags(Map<String,String> tags)"
desc: "Set resource tags."
returns:
description: "the AlertRuleResourcePatch object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The alert rule object for patch operations."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4