Skip to main content

MonitorAutoscaleSetting



Resource Icon

Resource Overview

Monitor Autoscale Setting is an Azure Monitor–based autoscaling feature that automatically adjusts the number of resource instances to handle application load.
Resources can be scaled up or down dynamically based on metrics such as CPU, memory, disk, and network usage, as well as schedule-based conditions.

Associated Resources

Parent Resources

Connected Resources


Resource Configuration

Target Resource

  • linked_target_resource_name : Name of the resource to which the autoscale setting is applied (read-only)

Scale Conditions (scale_condition)

Defines the scale profile applied when the autoscale engine runs.

Instance Count Settings
  • scale_condition.min_instance_count : Minimum number of instances - 0 ~ 1000
  • scale_condition.max_instance_count : Maximum number of instances - 1 ~ 1000
  • scale_condition.default_instance_count : Default number of instances to maintain when metrics cannot be read and current capacity is below the default

Scale Rules (scale_condition.rule)

Defines the conditions under which scaling occurs based on metrics.

  • rule.metric_name : Name of the metric monitored by the rule
  • rule.operator : Operator used to compare the metric value with the threshold
    • Equals, NotEquals, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual
  • rule.metric_threshold : Metric value used to evaluate whether scaling should occur
Metric Evaluation Settings
  • rule.time_window : Time range (minutes) over which metric data is collected - 5 ~ 720
  • rule.time_grain : Metric sampling interval (minutes) - 1 ~ 720
  • rule.time_grain_statistic : Aggregation method for metrics across multiple instances - Average, Min, Max
  • rule.time_aggregation : Method used to aggregate sampled metrics
    • Average, Count, Maximum, Minimum, Last, Total
Scale Actions
  • rule.scale_direction : Scaling direction - Increase, Decrease
  • rule.scale_operation : Type of scaling operation
    • ChangeCount, ExactCount, PercentChangeCount, ServiceAllowedNextValue
  • rule.scale_instance_count : Number of instances involved in the scaling operation - 1 ~ 1000
  • rule.scale_cooldown : Cooldown period (minutes) before the next scaling action - 1 ~ 10080

Schedule Settings

Allows scaling actions to be applied based on a schedule.

  • schedule_type : Schedule type applied to scaling actions
    • start_end_dates, repeat_days
  • timezone : Time zone in which the schedule applies
  • start_date : Schedule start date
  • end_date : Schedule end date
  • repeat_days : Days of the week when the schedule applies
  • start_time : Schedule start time
  • end_time : Schedule end time

Tags

  • tag : Tags used to categorize resources - maximum 512 characters, key:value

References