DiskReplicaPairProps
Properties for defining a DiskReplicaPair.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ebs-diskreplicapair
Initializer
import com.aliyun.ros.cdk.ebs.datasource.DiskReplicaPairProps;
DiskReplicaPairProps.builder()
.replicaPairId(java.lang.String)
.replicaPairId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
replicaPairId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property replicaPairId: The ID of the replication pair. |
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. |
replicaPairIdRequired
public java.lang.Object getReplicaPairId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property replicaPairId: The ID of the replication pair.
refreshOptionsOptional
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.