Skip to content

ScalingGroupEnableProps

Properties for defining a ScalingGroupEnable.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ess;
new ScalingGroupEnableProps {
    object ScalingGroupId,
    object AttachOptions = null,
    object DetachOptions = null,
    object InstanceIds = null,
    object RemoveInstanceIds = null,
    object ScalingConfigurationId = null,
    object ScalingRuleAris = null,
    object ScalingRuleArisExecuteVersion = null
};

Properties

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

ScalingGroupIdRequired

public object ScalingGroupId { get; set; }
  • Type: object

Property scalingGroupId: The id of operated scaling group.


AttachOptionsOptional

public object AttachOptions { get; set; }
  • Type: object

Property attachOptions: Options for attaching instances.


DetachOptionsOptional

public object DetachOptions { get; set; }
  • Type: object

Property detachOptions: Options for detaching instances.


InstanceIdsOptional

public object InstanceIds { get; set; }
  • Type: object

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

Max support 1000 instances.


RemoveInstanceIdsOptional

public object RemoveInstanceIds { get; set; }
  • Type: object

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

Max support 1000 instances.


ScalingConfigurationIdOptional

public object ScalingConfigurationId { get; set; }
  • Type: object

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


ScalingRuleArisOptional

public object ScalingRuleAris { get; set; }
  • Type: object

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

public object ScalingRuleArisExecuteVersion { get; set; }
  • Type: object

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