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

60 строки
4.3 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.RuleCondition"
fullName: "com.microsoft.azure.management.monitor.RuleCondition"
name: "RuleCondition"
nameWithType: "RuleCondition"
summary: "The condition that results in the alert rule being activated."
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 **RuleCondition**"
constructors:
- uid: "com.microsoft.azure.management.monitor.RuleCondition.RuleCondition()"
fullName: "com.microsoft.azure.management.monitor.RuleCondition.RuleCondition()"
name: "RuleCondition()"
nameWithType: "RuleCondition.RuleCondition()"
syntax: "public RuleCondition()"
methods:
- uid: "com.microsoft.azure.management.monitor.RuleCondition.dataSource()"
fullName: "com.microsoft.azure.management.monitor.RuleCondition.dataSource()"
name: "dataSource()"
nameWithType: "RuleCondition.dataSource()"
summary: "Get the resource from which the rule collects its data."
syntax: "public RuleDataSource dataSource()"
desc: "Get the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource."
returns:
description: "the dataSource value"
type: "<xref href=\"com.microsoft.azure.management.monitor.RuleDataSource?alt=com.microsoft.azure.management.monitor.RuleDataSource&text=RuleDataSource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.RuleCondition.withDataSource(com.microsoft.azure.management.monitor.RuleDataSource)"
fullName: "com.microsoft.azure.management.monitor.RuleCondition.withDataSource(RuleDataSource dataSource)"
name: "withDataSource(RuleDataSource dataSource)"
nameWithType: "RuleCondition.withDataSource(RuleDataSource dataSource)"
summary: "Set the resource from which the rule collects its data."
parameters:
- description: "the dataSource value to set"
name: "dataSource"
type: "<xref href=\"com.microsoft.azure.management.monitor.RuleDataSource?alt=com.microsoft.azure.management.monitor.RuleDataSource&text=RuleDataSource\" data-throw-if-not-resolved=\"False\" />"
syntax: "public RuleCondition withDataSource(RuleDataSource dataSource)"
desc: "Set the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource."
returns:
description: "the RuleCondition object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.RuleCondition?alt=com.microsoft.azure.management.monitor.RuleCondition&text=RuleCondition\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The condition that results in the alert rule being activated."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4