161 строка
11 KiB
YAML
161 строка
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.management.monitor.ScaleRule"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule"
|
|
name: "ScaleRule"
|
|
nameWithType: "ScaleRule"
|
|
summary: "An immutable client-side representation of an Azure autoscale profile scale rule."
|
|
syntax: "public interface **ScaleRule**</br> extends <xref href=\"com.microsoft.azure.management.resources.fluentcore.model.HasInner?alt=com.microsoft.azure.management.resources.fluentcore.model.HasInner&text=HasInner\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.management.monitor.implementation.ScaleRuleInner?alt=com.microsoft.azure.management.monitor.implementation.ScaleRuleInner&text=ScaleRuleInner\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent?alt=com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent&text=HasParent\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.management.monitor.AutoscaleProfile?alt=com.microsoft.azure.management.monitor.AutoscaleProfile&text=AutoscaleProfile\" data-throw-if-not-resolved=\"False\" />>"
|
|
methods:
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.condition()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.condition()"
|
|
name: "condition()"
|
|
nameWithType: "ScaleRule.condition()"
|
|
summary: "Get the operator that is used to compare the metric data and the threshold."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract ComparisonOperationType condition()"
|
|
desc: "Get the operator that is used to compare the metric data and the threshold. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'."
|
|
returns:
|
|
description: "the operator value"
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.ComparisonOperationType?alt=com.microsoft.azure.management.monitor.ComparisonOperationType&text=ComparisonOperationType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.coolDown()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.coolDown()"
|
|
name: "coolDown()"
|
|
nameWithType: "ScaleRule.coolDown()"
|
|
summary: "Get the amount of time to wait since the last scaling action before this action occurs."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract Period coolDown()"
|
|
desc: "Get the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format."
|
|
returns:
|
|
description: "the cooldown 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.ScaleRule.duration()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.duration()"
|
|
name: "duration()"
|
|
nameWithType: "ScaleRule.duration()"
|
|
summary: "Get the range of time in which instance data is collected."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract Period duration()"
|
|
desc: "Get the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes."
|
|
returns:
|
|
description: "the timeWindow 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.ScaleRule.frequency()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.frequency()"
|
|
name: "frequency()"
|
|
nameWithType: "ScaleRule.frequency()"
|
|
summary: "Get the granularity of metrics the rule monitors."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract Period frequency()"
|
|
desc: "Get the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute."
|
|
returns:
|
|
description: "the timeGrain 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.ScaleRule.frequencyStatistic()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.frequencyStatistic()"
|
|
name: "frequencyStatistic()"
|
|
nameWithType: "ScaleRule.frequencyStatistic()"
|
|
summary: "Get the metric statistic type."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract MetricStatisticType frequencyStatistic()"
|
|
desc: "Get the metric statistic type. How the metrics from multiple instances are combined. Possible values include: 'Average', 'Min', 'Max', 'Sum'."
|
|
returns:
|
|
description: "the statistic value"
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricStatisticType?alt=com.microsoft.azure.management.monitor.MetricStatisticType&text=MetricStatisticType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.metricName()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.metricName()"
|
|
name: "metricName()"
|
|
nameWithType: "ScaleRule.metricName()"
|
|
summary: "Get the name of the metric that defines what the rule monitors."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract String metricName()"
|
|
desc: "Get the name of the metric that defines what the rule monitors."
|
|
returns:
|
|
description: "the metricName value"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.metricSource()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.metricSource()"
|
|
name: "metricSource()"
|
|
nameWithType: "ScaleRule.metricSource()"
|
|
summary: "Get the resource identifier of the resource the rule monitors."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract String metricSource()"
|
|
desc: "Get the resource identifier of the resource the rule monitors."
|
|
returns:
|
|
description: "the metricResourceUri value"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.scaleDirection()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.scaleDirection()"
|
|
name: "scaleDirection()"
|
|
nameWithType: "ScaleRule.scaleDirection()"
|
|
summary: "Get the scale direction."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract ScaleDirection scaleDirection()"
|
|
desc: "Get the scale direction. Whether the scaling action increases or decreases the number of instances. Possible values include: 'None', 'Increase', 'Decrease'."
|
|
returns:
|
|
description: "the direction value"
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleDirection?alt=com.microsoft.azure.management.monitor.ScaleDirection&text=ScaleDirection\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.scaleInstanceCount()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.scaleInstanceCount()"
|
|
name: "scaleInstanceCount()"
|
|
nameWithType: "ScaleRule.scaleInstanceCount()"
|
|
summary: "Get the number of instances that are involved in the scaling action."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract int scaleInstanceCount()"
|
|
desc: "Get the number of instances that are involved in the scaling action."
|
|
returns:
|
|
description: "the value value"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.scaleType()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.scaleType()"
|
|
name: "scaleType()"
|
|
nameWithType: "ScaleRule.scaleType()"
|
|
summary: "Get the type of action that should occur when the scale rule fires."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract ScaleType scaleType()"
|
|
desc: "Get the type of action that should occur when the scale rule fires. Possible values include: 'ChangeCount', 'PercentChangeCount', 'ExactCount'."
|
|
returns:
|
|
description: "the type value"
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.ScaleType?alt=com.microsoft.azure.management.monitor.ScaleType&text=ScaleType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.threshold()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.threshold()"
|
|
name: "threshold()"
|
|
nameWithType: "ScaleRule.threshold()"
|
|
summary: "Get the threshold of the metric that triggers the scale action."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract double threshold()"
|
|
desc: "Get the threshold of the metric that triggers the scale action."
|
|
returns:
|
|
description: "the threshold value"
|
|
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.ScaleRule.timeAggregation()"
|
|
fullName: "com.microsoft.azure.management.monitor.ScaleRule.timeAggregation()"
|
|
name: "timeAggregation()"
|
|
nameWithType: "ScaleRule.timeAggregation()"
|
|
summary: "Get the time aggregation type."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract TimeAggregationType timeAggregation()"
|
|
desc: "Get 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'."
|
|
returns:
|
|
description: "the timeAggregation value"
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.TimeAggregationType?alt=com.microsoft.azure.management.monitor.TimeAggregationType&text=TimeAggregationType\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "interface"
|
|
desc: "An immutable client-side representation of an Azure autoscale profile scale rule."
|
|
implements:
|
|
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent?alt=com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent&text=HasParent\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.management.monitor.AutoscaleProfile?alt=com.microsoft.azure.management.monitor.AutoscaleProfile&text=AutoscaleProfile\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.model.HasInner?alt=com.microsoft.azure.management.resources.fluentcore.model.HasInner&text=HasInner\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.azure.management.monitor.implementation.ScaleRuleInner?alt=com.microsoft.azure.management.monitor.implementation.ScaleRuleInner&text=ScaleRuleInner\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.microsoft.azure.management.monitor"
|
|
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4
|