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

146 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.MetricAlert"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert"
name: "MetricAlert"
nameWithType: "MetricAlert"
summary: "An immutable client-side representation of a Metric Alert."
syntax: "public interface **MetricAlert**</br> extends <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource&text=GroupableResource\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.MonitorManager?alt=com.azure.resourcemanager.monitor.MonitorManager&text=MonitorManager\" data-throw-if-not-resolved=\"False\" />,<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertResourceInner?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertResourceInner&text=MetricAlertResourceInner\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.azure.resourcemanager.resources.fluentcore.model.Refreshable?alt=com.azure.resourcemanager.resources.fluentcore.model.Refreshable&text=Refreshable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlert?alt=com.azure.resourcemanager.monitor.models.MetricAlert&text=MetricAlert\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.azure.resourcemanager.resources.fluentcore.model.Updatable?alt=com.azure.resourcemanager.resources.fluentcore.model.Updatable&text=Updatable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlert.Update?alt=com.azure.resourcemanager.monitor.models.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.actionGroupIds()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.actionGroupIds()"
name: "actionGroupIds()"
nameWithType: "MetricAlert.actionGroupIds()"
summary: "Get the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
modifiers:
- "abstract"
syntax: "public abstract Collection<String> actionGroupIds()"
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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.alertCriterias()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.alertCriterias()"
name: "alertCriterias()"
nameWithType: "MetricAlert.alertCriterias()"
modifiers:
- "abstract"
syntax: "public abstract Map<String,MetricAlertCondition> alertCriterias()"
returns:
description: "metric alert criterias, indexed by name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertCondition?alt=com.azure.resourcemanager.monitor.models.MetricAlertCondition&text=MetricAlertCondition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.autoMitigate()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.autoMitigate()"
name: "autoMitigate()"
nameWithType: "MetricAlert.autoMitigate()"
summary: "Get the flag that indicates whether the alert should be auto resolved or not."
modifiers:
- "abstract"
syntax: "public abstract boolean autoMitigate()"
desc: "Get the flag that indicates whether the alert should be auto resolved or not."
returns:
description: "the autoMitigate value"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.description()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.description()"
name: "description()"
nameWithType: "MetricAlert.description()"
summary: "Get the description of the metric alert that will be included in the alert email."
modifiers:
- "abstract"
syntax: "public abstract String description()"
desc: "Get the description of the metric alert that will be included in the alert email."
returns:
description: "the description value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.dynamicAlertCriterias()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.dynamicAlertCriterias()"
name: "dynamicAlertCriterias()"
nameWithType: "MetricAlert.dynamicAlertCriterias()"
modifiers:
- "abstract"
syntax: "public abstract Map<String,MetricDynamicAlertCondition> dynamicAlertCriterias()"
returns:
description: "metric dynamic alert criterias, indexed by name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.resourcemanager.monitor.models.MetricDynamicAlertCondition?alt=com.azure.resourcemanager.monitor.models.MetricDynamicAlertCondition&text=MetricDynamicAlertCondition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.enabled()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.enabled()"
name: "enabled()"
nameWithType: "MetricAlert.enabled()"
summary: "Get the flag that indicates whether the metric alert is enabled."
modifiers:
- "abstract"
syntax: "public abstract boolean enabled()"
desc: "Get the flag that indicates whether the metric alert is enabled."
returns:
description: "the enabled value"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.evaluationFrequency()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.evaluationFrequency()"
name: "evaluationFrequency()"
nameWithType: "MetricAlert.evaluationFrequency()"
summary: "Get how often the metric alert is evaluated represented in ISO 8601 duration format."
modifiers:
- "abstract"
syntax: "public abstract Duration evaluationFrequency()"
desc: "Get how often the metric alert is evaluated represented in ISO 8601 duration format."
returns:
description: "the evaluationFrequency value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.lastUpdatedTime()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.lastUpdatedTime()"
name: "lastUpdatedTime()"
nameWithType: "MetricAlert.lastUpdatedTime()"
summary: "Get last time the rule was updated in ISO8601 format."
modifiers:
- "abstract"
syntax: "public abstract OffsetDateTime lastUpdatedTime()"
desc: "Get last time the rule was updated in ISO8601 format."
returns:
description: "the lastUpdatedTime value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.scopes()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.scopes()"
name: "scopes()"
nameWithType: "MetricAlert.scopes()"
summary: "Get the list of resource id's that this metric alert is scoped to."
modifiers:
- "abstract"
syntax: "public abstract Collection<String> scopes()"
desc: "Get the list of resource id's that this metric alert is scoped to."
returns:
description: "the scopes value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.severity()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.severity()"
name: "severity()"
nameWithType: "MetricAlert.severity()"
summary: "Get alert severity \\{0, 1, 2, 3, 4\\}."
modifiers:
- "abstract"
syntax: "public abstract int severity()"
desc: "Get alert severity \\{0, 1, 2, 3, 4\\}."
returns:
description: "the severity value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlert.windowSize()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlert.windowSize()"
name: "windowSize()"
nameWithType: "MetricAlert.windowSize()"
summary: "Get the Duration of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
modifiers:
- "abstract"
syntax: "public abstract Duration windowSize()"
desc: "Get the Duration of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
returns:
description: "the windowSize value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
type: "interface"
desc: "An immutable client-side representation of a Metric Alert."
implements:
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource&text=GroupableResource\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.MonitorManager?alt=com.azure.resourcemanager.monitor.MonitorManager&text=MonitorManager\" data-throw-if-not-resolved=\"False\" />,<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertResourceInner?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertResourceInner&text=MetricAlertResourceInner\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.model.Refreshable?alt=com.azure.resourcemanager.resources.fluentcore.model.Refreshable&text=Refreshable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlert?alt=com.azure.resourcemanager.monitor.models.MetricAlert&text=MetricAlert\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.model.Updatable?alt=com.azure.resourcemanager.resources.fluentcore.model.Updatable&text=Updatable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlert.Update?alt=com.azure.resourcemanager.monitor.models.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.42.0