36 строки
3.1 KiB
YAML
36 строки
3.1 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.management.monitor.ScaleRule.DefinitionStages.WithCondition"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.DefinitionStages.WithCondition"
|
|
name: "ScaleRule.DefinitionStages.WithCondition"
|
|
nameWithType: "ScaleRule.DefinitionStages.WithCondition"
|
|
summary: "The stage of the definition which specifies metric alert condition."
|
|
syntax: "public static interface **ScaleRule.DefinitionStages.WithCondition**"
|
|
methods:
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.DefinitionStages.WithCondition.withCondition(com.microsoft.azure.management.monitor.TimeAggregationType,com.microsoft.azure.management.monitor.ComparisonOperationType,double)"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.DefinitionStages.WithCondition.withCondition(TimeAggregationType timeAggregation, ComparisonOperationType condition, double threshold)"
|
|
name: "withCondition(TimeAggregationType timeAggregation, ComparisonOperationType condition, double threshold)"
|
|
nameWithType: "ScaleRule.DefinitionStages.WithCondition.withCondition(TimeAggregationType timeAggregation, ComparisonOperationType condition, double threshold)"
|
|
summary: "Sets the condition to monitor for the current metric alert."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "the time aggregation type. How the data that is collected should be combined over time. The default value is Average. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count'."
|
|
name: "timeAggregation"
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.TimeAggregationType?alt=com.microsoft.azure.management.monitor.TimeAggregationType&text=TimeAggregationType\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the operator that is used to compare the metric data and the threshold. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'."
|
|
name: "condition"
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.ComparisonOperationType?alt=com.microsoft.azure.management.monitor.ComparisonOperationType&text=ComparisonOperationType\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the threshold of the metric that triggers the scale action."
|
|
name: "threshold"
|
|
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public abstract ScaleRule.DefinitionStages.WithScaleAction withCondition(TimeAggregationType timeAggregation, ComparisonOperationType condition, double threshold)"
|
|
desc: "Sets the condition to monitor for the current metric alert."
|
|
returns:
|
|
description: "the next stage of the definition."
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleRule.DefinitionStages.WithScaleAction?alt=com.microsoft.azure.management.monitor.ScaleRule.DefinitionStages.WithScaleAction&text=WithScaleAction\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "interface"
|
|
desc: "The stage of the definition which specifies metric alert condition."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.management.monitor"
|
|
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4
|