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

89 строки
7.5 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition"
fullName: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition"
name: "LocationThresholdRuleCondition"
nameWithType: "LocationThresholdRuleCondition"
summary: "A rule condition based on a certain number of locations failing."
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 **LocationThresholdRuleCondition**</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.LocationThresholdRuleCondition.LocationThresholdRuleCondition()"
fullName: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition.LocationThresholdRuleCondition()"
name: "LocationThresholdRuleCondition()"
nameWithType: "LocationThresholdRuleCondition.LocationThresholdRuleCondition()"
syntax: "public LocationThresholdRuleCondition()"
methods:
- uid: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition.failedLocationCount()"
fullName: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition.failedLocationCount()"
name: "failedLocationCount()"
nameWithType: "LocationThresholdRuleCondition.failedLocationCount()"
summary: "Get the number of locations that must fail to activate the alert."
syntax: "public int failedLocationCount()"
desc: "Get the number of locations that must fail to activate the alert."
returns:
description: "the failedLocationCount value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition.windowSize()"
fullName: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition.windowSize()"
name: "windowSize()"
nameWithType: "LocationThresholdRuleCondition.windowSize()"
summary: "Get the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
syntax: "public Period windowSize()"
desc: "Get the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day."
returns:
description: "the windowSize value"
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition.withFailedLocationCount(int)"
fullName: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition.withFailedLocationCount(int failedLocationCount)"
name: "withFailedLocationCount(int failedLocationCount)"
nameWithType: "LocationThresholdRuleCondition.withFailedLocationCount(int failedLocationCount)"
summary: "Set the number of locations that must fail to activate the alert."
parameters:
- description: "the failedLocationCount value to set"
name: "failedLocationCount"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LocationThresholdRuleCondition withFailedLocationCount(int failedLocationCount)"
desc: "Set the number of locations that must fail to activate the alert."
returns:
description: "the LocationThresholdRuleCondition object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.LocationThresholdRuleCondition?alt=com.microsoft.azure.management.monitor.LocationThresholdRuleCondition&text=LocationThresholdRuleCondition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition.withWindowSize(org.joda.time.Period)"
fullName: "com.microsoft.azure.management.monitor.LocationThresholdRuleCondition.withWindowSize(Period windowSize)"
name: "withWindowSize(Period windowSize)"
nameWithType: "LocationThresholdRuleCondition.withWindowSize(Period windowSize)"
summary: "Set the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
parameters:
- description: "the windowSize value to set"
name: "windowSize"
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LocationThresholdRuleCondition withWindowSize(Period windowSize)"
desc: "Set the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day."
returns:
description: "the LocationThresholdRuleCondition object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.LocationThresholdRuleCondition?alt=com.microsoft.azure.management.monitor.LocationThresholdRuleCondition&text=LocationThresholdRuleCondition\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A rule condition based on a certain number of locations failing."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4