Skip to content

ScalingGroupsProps

Properties for defining a ScalingGroups.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ess-scalinggroups

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkess/datasource"
&datasource.ScalingGroupsProps {
    GroupType: interface{},
    RefreshOptions: interface{},
    ScalingGroupIds: interface{},
    ScalingGroupNames: interface{},
}

Properties

Name Type Description
GroupType interface{} Property groupType: The type of instances that are managed by the scaling group.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ScalingGroupIds interface{} Property scalingGroupIds: The ID of scaling group that you want to query.Valid values: 1 to 20. The IDs of inactive scaling groups are not displayed in the query results, and no error is reported.
ScalingGroupNames interface{} Property scalingGroupNames: The name of scaling group that you want to query.

GroupTypeOptional

GroupType interface{}
  • Type: interface{}

Property groupType: The type of instances that are managed by the scaling group.

Valid values: ECS: the Elastic Compute Service (ECS) instances ECI: the elastic container instances Default value: ECS.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

ScalingGroupIdsOptional

ScalingGroupIds interface{}
  • Type: interface{}

Property scalingGroupIds: The ID of scaling group that you want to query.Valid values: 1 to 20. The IDs of inactive scaling groups are not displayed in the query results, and no error is reported.


ScalingGroupNamesOptional

ScalingGroupNames interface{}
  • Type: interface{}

Property scalingGroupNames: The name of scaling group that you want to query.

Valid values: 1 to 20. The names of inactive scaling groups are not displayed in the query results, and no error is reported.