ScalingConfigurationsProps
Properties for defining a ScalingConfigurations
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ess-scalingconfigurations
Initializer
import com.aliyun.ros.cdk.ess.datasource.ScalingConfigurationsProps;
ScalingConfigurationsProps.builder()
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .scalingConfigurationIds(IResolvable)
// .scalingConfigurationIds(java.util.List<java.lang.String)
// .scalingConfigurationIds(IResolvable>)
// .scalingConfigurationNames(IResolvable)
// .scalingConfigurationNames(java.util.List<java.lang.String)
// .scalingConfigurationNames(IResolvable>)
// .scalingGroupId(java.lang.String)
// .scalingGroupId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
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. |
scalingConfigurationIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property scalingConfigurationIds: The ID of scaling configuration that you want to query. |
scalingConfigurationNames |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property scalingConfigurationNames: The name of scaling configuration that you want to query. |
scalingGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property scalingGroupId: The ID of the scaling group. |
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.
scalingConfigurationIds
Optional
public java.lang.Object getScalingConfigurationIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property scalingConfigurationIds: The ID of scaling configuration that you want to query.
Valid values : 1 to 10. The IDs of active and inactive scaling configurations are displayed in the query results, and can be differentiated by LifecycleState.
scalingConfigurationNames
Optional
public java.lang.Object getScalingConfigurationNames();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property scalingConfigurationNames: The name of scaling configuration that you want to query.
Valid values : 1 to 10. The names of inactive scaling configurations are not displayed in the query results, and no error is reported.
scalingGroupId
Optional
public java.lang.Object getScalingGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scalingGroupId: The ID of the scaling group.
You can use the ID to query all scaling configurations in the scaling group.