Skip to content

EnterpriseDBCluster

  • Implements: com.aliyun.ros.cdk.clickhouse.datasource.IEnterpriseDBCluster

This class encapsulates and extends the ROS resource type DATASOURCE::ClickHouse::EnterpriseDBCluster.

Initializers

import com.aliyun.ros.cdk.clickhouse.datasource.EnterpriseDBCluster;
EnterpriseDBCluster.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .dbInstanceId(java.lang.String)
    .dbInstanceId(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
dbInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceId: The cluster ID.
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.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

dbInstanceIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceId: The cluster ID.


refreshOptionsOptional

  • 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.

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
fetchCondition No description.
fetchDependency No description.
fetchResourceDesc No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

fetchCondition

public RosCondition fetchCondition()

fetchDependency

public java.util.List<java.lang.String> fetchDependency()

fetchResourceDesc

public java.lang.String fetchResourceDesc()

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.clickhouse.datasource.EnterpriseDBCluster;
EnterpriseDBCluster.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrCategory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Category: Type, value description: enterprise: Enterprise Edition.
attrChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ChargeType: The billing method.
attrComputingGroupIds java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ComputingGroupIds: The list of computing group IDs.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The creation time of the cluster.
attrDbInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DBInstanceId: The cluster ID.
attrDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Description: The cluster description.
attrDisabledPorts java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DisabledPorts: The specified database port is disabled.
attrEndpoints java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Endpoints: List of Endpoint details.
attrEngine java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Engine: The engine type.
attrEngineMinorVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EngineMinorVersion: The minor version number of the cluster engine.
attrEngineVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EngineVersion: The engine version.
attrInstanceNetworkType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceNetworkType: The network type of the instance.
attrMaintainEndTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MaintainEndTime: The end time of the maintenance window.
attrMaintainStartTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MaintainStartTime: The maintainable time start time.
attrMultiZones java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MultiZones: The information about the zones.
attrNodeCount java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NodeCount: The number of nodes.
attrNodes java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Nodes: The Node information.
attrNodeScaleMax java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NodeScaleMax: The maximum value of serverless node auto scaling.
attrNodeScaleMin java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NodeScaleMin: Minimum number of Serverless nodes for auto-scaling.
attrObjectStoreSize java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ObjectStoreSize: The size of the object storage space.
attrResourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
attrScaleMax java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ScaleMax: The maximum capacity for elastic scaling.
attrScaleMin java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ScaleMin: The minimum capacity for elastic scaling.
attrStorageQuota java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StorageQuota: Storage Pre-purchased Capacity (GB).
attrStorageSize java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StorageSize: The size of the storage space.
attrStorageType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StorageType: The storage type.
attrTags java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Tags: The details of the tags.
attrVpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VpcId: The VPC ID.
attrVswitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VswitchId: The VSwitch ID.
attrZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ZoneId: The zone ID.
props EnterpriseDBClusterProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrCategoryRequired

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

Attribute Category: Type, value description: enterprise: Enterprise Edition.


attrChargeTypeRequired

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

Attribute ChargeType: The billing method.

Enterprise Edition clusters use the pay-as-you-go billing method.


attrComputingGroupIdsRequired

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

Attribute ComputingGroupIds: The list of computing group IDs.


attrCreateTimeRequired

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

Attribute CreateTime: The creation time of the cluster.


attrDbInstanceIdRequired

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

Attribute DBInstanceId: The cluster ID.


attrDescriptionRequired

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

Attribute Description: The cluster description.


attrDisabledPortsRequired

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

Attribute DisabledPorts: The specified database port is disabled.

Multiple ports separated by commas (,) are supported.


attrEndpointsRequired

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

Attribute Endpoints: List of Endpoint details.


attrEngineRequired

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

Attribute Engine: The engine type.


attrEngineMinorVersionRequired

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

Attribute EngineMinorVersion: The minor version number of the cluster engine.


attrEngineVersionRequired

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

Attribute EngineVersion: The engine version.


attrInstanceNetworkTypeRequired

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

Attribute InstanceNetworkType: The network type of the instance.


attrMaintainEndTimeRequired

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

Attribute MaintainEndTime: The end time of the maintenance window.


attrMaintainStartTimeRequired

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

Attribute MaintainStartTime: The maintainable time start time.


attrMultiZonesRequired

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

Attribute MultiZones: The information about the zones.


attrNodeCountRequired

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

Attribute NodeCount: The number of nodes.

The value range is 2-16. Required when you use NodeScaleMin and NodeScaleMax to configure an elastic interval.


attrNodesRequired

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

Attribute Nodes: The Node information.


attrNodeScaleMaxRequired

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

Attribute NodeScaleMax: The maximum value of serverless node auto scaling.


attrNodeScaleMinRequired

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

Attribute NodeScaleMin: Minimum number of Serverless nodes for auto-scaling.


attrObjectStoreSizeRequired

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

Attribute ObjectStoreSize: The size of the object storage space.


attrResourceGroupIdRequired

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

Attribute ResourceGroupId: The ID of the resource group.


attrScaleMaxRequired

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

Attribute ScaleMax: The maximum capacity for elastic scaling.


attrScaleMinRequired

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

Attribute ScaleMin: The minimum capacity for elastic scaling.


attrStorageQuotaRequired

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

Attribute StorageQuota: Storage Pre-purchased Capacity (GB).


attrStorageSizeRequired

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

Attribute StorageSize: The size of the storage space.

Unit: GB.


attrStorageTypeRequired

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

Attribute StorageType: The storage type.


attrTagsRequired

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

Attribute Tags: The details of the tags.


attrVpcIdRequired

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

Attribute VpcId: The VPC ID.


attrVswitchIdRequired

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

Attribute VswitchId: The VSwitch ID.


attrZoneIdRequired

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

Attribute ZoneId: The zone ID.


propsRequired

public EnterpriseDBClusterProps getProps();