Skip to content

DiskReplicaGroupsProps

Properties for defining a DiskReplicaGroups.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ebs-diskreplicagroups

Initializer

import com.aliyun.ros.cdk.ebs.datasource.DiskReplicaGroupsProps;
DiskReplicaGroupsProps.builder()
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .site(java.lang.String)
//  .site(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.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of resource group.
site java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property site: Site information sources for replication pairs and consistent replication groups.

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.

resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of resource group.


siteOptional

public java.lang.Object getSite();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property site: Site information sources for replication pairs and consistent replication groups.

Possible values:

  • production: production site.
  • backup: disaster recovery site.