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

83 строки
6.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages"
name: "MetricAlertCondition.UpdateStages"
nameWithType: "MetricAlertCondition.UpdateStages"
summary: "Grouping of metric alert condition update stages."
syntax: "public static interface **MetricAlertCondition.UpdateStages**"
methods:
- uid: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages.parent()"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages.parent()"
name: "parent()"
nameWithType: "MetricAlertCondition.UpdateStages.parent()"
summary: "Returns back to the metric alert update flow."
modifiers:
- "abstract"
syntax: "public abstract MetricAlert.Update parent()"
desc: "Returns back to the metric alert update flow."
returns:
description: "the next stage of the metric alert update."
type: "<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\" />"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages.withCondition(com.azure.resourcemanager.monitor.models.MetricAlertRuleTimeAggregation,com.azure.resourcemanager.monitor.models.MetricAlertRuleCondition,double)"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages.withCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold)"
name: "withCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold)"
nameWithType: "MetricAlertCondition.UpdateStages.withCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold)"
summary: "Sets the condition to monitor for the current metric alert."
modifiers:
- "abstract"
parameters:
- description: "the criteria time aggregation types. Possible values include: 'Average', 'Minimum',\n 'Maximum', 'Total'."
name: "timeAggregation"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertRuleTimeAggregation?alt=com.azure.resourcemanager.monitor.models.MetricAlertRuleTimeAggregation&text=MetricAlertRuleTimeAggregation\" data-throw-if-not-resolved=\"False\" />"
- description: "the criteria operator. Possible values include: 'Equals', 'NotEquals', 'GreaterThan',\n 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'."
name: "condition"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertRuleCondition?alt=com.azure.resourcemanager.monitor.models.MetricAlertRuleCondition&text=MetricAlertRuleCondition\" data-throw-if-not-resolved=\"False\" />"
- description: "the criteria threshold value that activates the alert."
name: "threshold"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricAlertCondition.UpdateStages withCondition(MetricAlertRuleTimeAggregation timeAggregation, MetricAlertRuleCondition condition, double threshold)"
desc: "Sets the condition to monitor for the current metric alert."
returns:
description: "the next stage of the metric alert condition update."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages?alt=com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages&text=UpdateStages\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages.withDimension(java.lang.String,java.lang.String...)"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages.withDimension(String dimensionName, String[] values)"
name: "withDimension(String dimensionName, String[] values)"
nameWithType: "MetricAlertCondition.UpdateStages.withDimension(String dimensionName, String[] values)"
summary: "Adds a metric dimension filter."
modifiers:
- "abstract"
parameters:
- description: "the name of the dimension."
name: "dimensionName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "list of dimension values to alert on."
name: "values"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>[]"
syntax: "public abstract MetricAlertCondition.UpdateStages withDimension(String dimensionName, String[] values)"
desc: "Adds a metric dimension filter."
returns:
description: "the next stage of the metric alert condition update."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages?alt=com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages&text=UpdateStages\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages.withoutDimension(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages.withoutDimension(String dimensionName)"
name: "withoutDimension(String dimensionName)"
nameWithType: "MetricAlertCondition.UpdateStages.withoutDimension(String dimensionName)"
summary: "Removes the specified dimension filter."
modifiers:
- "abstract"
parameters:
- description: "dimensionName the name of the dimension."
name: "dimensionName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract MetricAlertCondition.UpdateStages withoutDimension(String dimensionName)"
desc: "Removes the specified dimension filter."
returns:
description: "the next stage of the metric alert condition update."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages?alt=com.azure.resourcemanager.monitor.models.MetricAlertCondition.UpdateStages&text=UpdateStages\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "Grouping of metric alert condition update stages."
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0