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

65 строки
6.2 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.ManagementEventRuleCondition"
fullName: "com.microsoft.azure.management.monitor.ManagementEventRuleCondition"
name: "ManagementEventRuleCondition"
nameWithType: "ManagementEventRuleCondition"
summary: "A management event rule condition."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition?alt=com.microsoft.azure.management.monitor.RuleCondition&text=RuleCondition\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition.dataSource()?alt=com.microsoft.azure.management.monitor.RuleCondition.dataSource&text=dataSource\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition.withDataSource(com.microsoft.azure.management.monitor.RuleDataSource)?alt=com.microsoft.azure.management.monitor.RuleCondition.withDataSource&text=withDataSource\" data-throw-if-not-resolved=\"False\" />"
- 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 **ManagementEventRuleCondition**</br> extends <xref href=\"com.microsoft.azure.management.monitor.RuleCondition?alt=com.microsoft.azure.management.monitor.RuleCondition&text=RuleCondition\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.azure.management.monitor.ManagementEventRuleCondition.ManagementEventRuleCondition()"
fullName: "com.microsoft.azure.management.monitor.ManagementEventRuleCondition.ManagementEventRuleCondition()"
name: "ManagementEventRuleCondition()"
nameWithType: "ManagementEventRuleCondition.ManagementEventRuleCondition()"
syntax: "public ManagementEventRuleCondition()"
methods:
- uid: "com.microsoft.azure.management.monitor.ManagementEventRuleCondition.aggregation()"
fullName: "com.microsoft.azure.management.monitor.ManagementEventRuleCondition.aggregation()"
name: "aggregation()"
nameWithType: "ManagementEventRuleCondition.aggregation()"
summary: "Get how the data that is collected should be combined over time and when the alert is activated."
syntax: "public ManagementEventAggregationCondition aggregation()"
desc: "Get how the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional \\\\u2013 if it is not provided then any event will cause the alert to activate."
returns:
description: "the aggregation value"
type: "<xref href=\"com.microsoft.azure.management.monitor.ManagementEventAggregationCondition?alt=com.microsoft.azure.management.monitor.ManagementEventAggregationCondition&text=ManagementEventAggregationCondition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ManagementEventRuleCondition.withAggregation(com.microsoft.azure.management.monitor.ManagementEventAggregationCondition)"
fullName: "com.microsoft.azure.management.monitor.ManagementEventRuleCondition.withAggregation(ManagementEventAggregationCondition aggregation)"
name: "withAggregation(ManagementEventAggregationCondition aggregation)"
nameWithType: "ManagementEventRuleCondition.withAggregation(ManagementEventAggregationCondition aggregation)"
summary: "Set how the data that is collected should be combined over time and when the alert is activated."
parameters:
- description: "the aggregation value to set"
name: "aggregation"
type: "<xref href=\"com.microsoft.azure.management.monitor.ManagementEventAggregationCondition?alt=com.microsoft.azure.management.monitor.ManagementEventAggregationCondition&text=ManagementEventAggregationCondition\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ManagementEventRuleCondition withAggregation(ManagementEventAggregationCondition aggregation)"
desc: "Set how the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional \\\\u2013 if it is not provided then any event will cause the alert to activate."
returns:
description: "the ManagementEventRuleCondition object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ManagementEventRuleCondition?alt=com.microsoft.azure.management.monitor.ManagementEventRuleCondition&text=ManagementEventRuleCondition\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A management event rule condition."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4