DeploymentSetsProps
Properties for defining a DeploymentSets
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-deploymentsets
Initializer
import com.aliyun.ros.cdk.ecs.datasource.DeploymentSetsProps;
DeploymentSetsProps.builder()
// .deploymentSetIds(java.util.List<java.lang.Object>)
// .deploymentSetIds(IResolvable)
// .deploymentSetName(java.lang.String)
// .deploymentSetName(IResolvable)
// .domain(java.lang.String)
// .domain(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .strategy(java.lang.String)
// .strategy(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
deploymentSetIds |
java.util.List |
Property deploymentSetIds: he IDs of deployment sets. |
deploymentSetName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property deploymentSetName: The name of the deployment set. |
domain |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property domain: The deployment domain. |
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. |
strategy |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property strategy: The deployment strategy. |
deploymentSetIds
Optional
public java.lang.Object getDeploymentSetIds();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property deploymentSetIds: he IDs of deployment sets.
The value can be a JSON array that consists of up to 100 deployment set IDs in the format of ["ds-xxxxxxxxx", "ds-yyyyyyyyy", … "ds-zzzzzzzzz"]. Separate multiple deployment set IDs with commas (,).
deploymentSetName
Optional
public java.lang.Object getDeploymentSetName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property deploymentSetName: The name of the deployment set.
domain
Optional
public java.lang.Object getDomain();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property domain: The deployment domain.
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.
strategy
Optional
public java.lang.Object getStrategy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property strategy: The deployment strategy.
Valid values: Availability: high availability strategy. AvailabilityGroup: high availability group strategy.