ScalingGroupsProps
Properties for defining a ScalingGroups
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ess-scalinggroups
Initializer
import com.aliyun.ros.cdk.ess.datasource.ScalingGroupsProps;
ScalingGroupsProps.builder()
// .groupType(java.lang.String)
// .groupType(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .scalingGroupIds(IResolvable)
// .scalingGroupIds(java.util.List<java.lang.String)
// .scalingGroupIds(IResolvable>)
// .scalingGroupNames(IResolvable)
// .scalingGroupNames(java.util.List<java.lang.String)
// .scalingGroupNames(IResolvable>)
.build();
Properties
Name | Type | Description |
---|---|---|
groupType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property groupType: The type of instances that are managed by the scaling group. |
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
scalingGroupIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
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 |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property scalingGroupNames: The name of scaling group that you want to query. |
groupType
Optional
public java.lang.Object getGroupType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
refreshOptions
Optional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
scalingGroupIds
Optional
public java.lang.Object getScalingGroupIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
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
Optional
public java.lang.Object getScalingGroupNames();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
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.