Show / Hide Table of Contents

Class ScalingGroupArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ScalingGroupArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ess
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ScalingGroupArgs : ResourceArgs

Constructors

View Source

ScalingGroupArgs()

Declaration
public ScalingGroupArgs()

Properties

View Source

DbInstanceIds

If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.

  • The specified RDS instance must be in running status.
  • The specified RDS instance’s whitelist must have room for more IP addresses.
Declaration
public InputList<string> DbInstanceIds { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

DefaultCooldown

Default cool-down time (in seconds) of the scaling group. Value range: [0, 86400]. The default value is 300s.

Declaration
public Input<int> DefaultCooldown { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

DesiredCapacity

Expected number of ECS instances in the scaling group. Value range: [min_size, max_size].

Declaration
public Input<int> DesiredCapacity { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

LoadbalancerIds

If a Server Load Balancer instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server Load Balancer instance.

  • The Server Load Balancer instance must be enabled.
  • At least one listener must be configured for each Server Load Balancer and it HealthCheck must be on. Otherwise, creation will fail (it may be useful to add a depends_on argument targeting your alicloud.slb.Listener in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
  • The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
  • The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
Declaration
public InputList<string> LoadbalancerIds { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

MaxSize

Maximum number of ECS instances in the scaling group. Value range: [0, 1000].

Declaration
public Input<int> MaxSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

MinSize

Minimum number of ECS instances in the scaling group. Value range: [0, 1000].

Declaration
public Input<int> MinSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

MultiAzPolicy

Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available in 1.54.0+).

Declaration
public Input<string> MultiAzPolicy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

OnDemandBaseCapacity

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.

Declaration
public Input<int> OnDemandBaseCapacity { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

OnDemandPercentageAboveBaseCapacity

Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.

Declaration
public Input<int> OnDemandPercentageAboveBaseCapacity { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

RemovalPolicies

RemovalPolicy is used to select the ECS instances you want to remove from the scaling group when multiple candidates for removal exist. Optional values:

  • OldestInstance: removes the first ECS instance attached to the scaling group.
  • NewestInstance: removes the first ECS instance attached to the scaling group.
  • OldestScalingConfiguration: removes the ECS instance with the oldest scaling configuration.
  • Default values: OldestScalingConfiguration and OldestInstance. You can enter up to two removal policies.
Declaration
public InputList<string> RemovalPolicies { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

ScalingGroupName

Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores _, hyphens -, and decimal points .. If this parameter is not specified, the default value is ScalingGroupId.

Declaration
public Input<string> ScalingGroupName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SpotInstancePools

The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.

Declaration
public Input<int> SpotInstancePools { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

SpotInstanceRemedy

Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.

Declaration
public Input<bool> SpotInstanceRemedy { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

VswitchId

It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.

Declaration
public Input<string> VswitchId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

VswitchIds

List of virtual switch IDs in which the ecs instances to be launched.

Declaration
public InputList<string> VswitchIds { get; set; }
Property Value
Type Description
InputList<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.