azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.m...

135 строки
8.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.AlertSeverity"
fullName: "com.azure.resourcemanager.monitor.models.AlertSeverity"
name: "AlertSeverity"
nameWithType: "AlertSeverity"
summary: "Severity of the alert."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.getValue()?alt=com.azure.core.util.ExpandableStringEnum.getValue&text=getValue\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **AlertSeverity**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.AlertSeverity?alt=com.azure.resourcemanager.monitor.models.AlertSeverity&text=AlertSeverity\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.monitor.models.AlertSeverity.AlertSeverity()"
fullName: "com.azure.resourcemanager.monitor.models.AlertSeverity.AlertSeverity()"
name: "AlertSeverity()"
nameWithType: "AlertSeverity.AlertSeverity()"
summary: "Creates a new instance of Alert<wbr>Severity value."
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.monitor.models.AlertSeverity.fromLong(long)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromLong(long)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public AlertSeverity()"
desc: "Creates a new instance of AlertSeverity value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.monitor.models.AlertSeverity.FOUR"
fullName: "com.azure.resourcemanager.monitor.models.AlertSeverity.FOUR"
name: "FOUR"
nameWithType: "AlertSeverity.FOUR"
summary: "Static value 4 for Alert<wbr>Severity."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AlertSeverity?alt=com.azure.resourcemanager.monitor.models.AlertSeverity&text=AlertSeverity\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final AlertSeverity FOUR"
desc: "Static value 4 for AlertSeverity."
- uid: "com.azure.resourcemanager.monitor.models.AlertSeverity.ONE"
fullName: "com.azure.resourcemanager.monitor.models.AlertSeverity.ONE"
name: "ONE"
nameWithType: "AlertSeverity.ONE"
summary: "Static value 1 for Alert<wbr>Severity."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AlertSeverity?alt=com.azure.resourcemanager.monitor.models.AlertSeverity&text=AlertSeverity\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final AlertSeverity ONE"
desc: "Static value 1 for AlertSeverity."
- uid: "com.azure.resourcemanager.monitor.models.AlertSeverity.THREE"
fullName: "com.azure.resourcemanager.monitor.models.AlertSeverity.THREE"
name: "THREE"
nameWithType: "AlertSeverity.THREE"
summary: "Static value 3 for Alert<wbr>Severity."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AlertSeverity?alt=com.azure.resourcemanager.monitor.models.AlertSeverity&text=AlertSeverity\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final AlertSeverity THREE"
desc: "Static value 3 for AlertSeverity."
- uid: "com.azure.resourcemanager.monitor.models.AlertSeverity.TWO"
fullName: "com.azure.resourcemanager.monitor.models.AlertSeverity.TWO"
name: "TWO"
nameWithType: "AlertSeverity.TWO"
summary: "Static value 2 for Alert<wbr>Severity."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AlertSeverity?alt=com.azure.resourcemanager.monitor.models.AlertSeverity&text=AlertSeverity\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final AlertSeverity TWO"
desc: "Static value 2 for AlertSeverity."
- uid: "com.azure.resourcemanager.monitor.models.AlertSeverity.ZERO"
fullName: "com.azure.resourcemanager.monitor.models.AlertSeverity.ZERO"
name: "ZERO"
nameWithType: "AlertSeverity.ZERO"
summary: "Static value 0 for Alert<wbr>Severity."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AlertSeverity?alt=com.azure.resourcemanager.monitor.models.AlertSeverity&text=AlertSeverity\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final AlertSeverity ZERO"
desc: "Static value 0 for AlertSeverity."
methods:
- uid: "com.azure.resourcemanager.monitor.models.AlertSeverity.fromLong(long)"
fullName: "com.azure.resourcemanager.monitor.models.AlertSeverity.fromLong(long name)"
name: "fromLong(long name)"
nameWithType: "AlertSeverity.fromLong(long name)"
summary: "Creates or finds a Alert<wbr>Severity from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AlertSeverity fromLong(long name)"
desc: "Creates or finds a AlertSeverity from its string representation."
returns:
description: "the corresponding AlertSeverity."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AlertSeverity?alt=com.azure.resourcemanager.monitor.models.AlertSeverity&text=AlertSeverity\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.AlertSeverity.values()"
fullName: "com.azure.resourcemanager.monitor.models.AlertSeverity.values()"
name: "values()"
nameWithType: "AlertSeverity.values()"
summary: "Gets known Alert<wbr>Severity values."
modifiers:
- "static"
syntax: "public static Collection<AlertSeverity> values()"
desc: "Gets known AlertSeverity values."
returns:
description: "known AlertSeverity values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.AlertSeverity?alt=com.azure.resourcemanager.monitor.models.AlertSeverity&text=AlertSeverity\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Severity of the alert. Should be an integer between \\[0-4\\]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert."
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0