ScalingRuleProps
Properties for defining a ScalingRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ess-scalingrule
Initializer
import com.aliyun.ros.cdk.ess.datasource.ScalingRuleProps;
ScalingRuleProps.builder()
.scalingRuleId(java.lang.String)
.scalingRuleId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
scalingRuleId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property scalingRuleId: The ID of the scaling rule that you want to query. |
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. |
scalingRuleId
Required
public java.lang.Object getScalingRuleId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scalingRuleId: The ID of the scaling rule that you want to query.
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.