Skip to content

ScalingGroupEnableProps

Properties for defining a ScalingGroupEnable.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-scalinggroupenable

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkess"
&alicloudroscdkess.ScalingGroupEnableProps {
    ScalingGroupId: interface{},
    AttachOptions: interface{},
    DetachOptions: interface{},
    InstanceIds: interface{},
    RemoveInstanceIds: interface{},
    ScalingConfigurationId: interface{},
    ScalingRuleAris: interface{},
    ScalingRuleArisExecuteVersion: interface{},
}

Properties

Name Type Description
ScalingGroupId interface{} Property scalingGroupId: The id of operated scaling group.
AttachOptions interface{} Property attachOptions: Options for attaching instances.
DetachOptions interface{} Property detachOptions: Options for detaching instances.
InstanceIds interface{} Property instanceIds: The id list of ECS instance which will be attached.
RemoveInstanceIds interface{} Property removeInstanceIds: The id list of ECS instance which will be removed.
ScalingConfigurationId interface{} Property scalingConfigurationId: The id of scaling configuration which will be activate.
ScalingRuleAris interface{} Property scalingRuleAris: A list of scaling rule aris which will be executed.
ScalingRuleArisExecuteVersion interface{} Property scalingRuleArisExecuteVersion: The change of the property leads to the execution of all the scaling rule aris in ScalingRuleAris.

ScalingGroupIdRequired

ScalingGroupId interface{}
  • Type: interface{}

Property scalingGroupId: The id of operated scaling group.


AttachOptionsOptional

AttachOptions interface{}
  • Type: interface{}

Property attachOptions: Options for attaching instances.


DetachOptionsOptional

DetachOptions interface{}
  • Type: interface{}

Property detachOptions: Options for detaching instances.


InstanceIdsOptional

InstanceIds interface{}
  • Type: interface{}

Property instanceIds: The id list of ECS instance which will be attached.

Max support 1000 instances.


RemoveInstanceIdsOptional

RemoveInstanceIds interface{}
  • Type: interface{}

Property removeInstanceIds: The id list of ECS instance which will be removed.

Max support 1000 instances.


ScalingConfigurationIdOptional

ScalingConfigurationId interface{}
  • Type: interface{}

Property scalingConfigurationId: The id of scaling configuration which will be activate.


ScalingRuleArisOptional

ScalingRuleAris interface{}
  • Type: interface{}

Property scalingRuleAris: A list of scaling rule aris which will be executed.

Max support 10 scaling rule aris. When creating the resource, all the scaling rule aris in the list will be executed. When updating the resource, none of scaling rule aris in the list will be executed, unless ScalingRuleArisExecuteVersion is changed.


ScalingRuleArisExecuteVersionOptional

ScalingRuleArisExecuteVersion interface{}
  • Type: interface{}

Property scalingRuleArisExecuteVersion: The change of the property leads to the execution of all the scaling rule aris in ScalingRuleAris.