EnterpriseDBCluster
- Implements: @alicloud/ros-cdk-clickhouse.datasource.IEnterpriseDBCluster
This class encapsulates and extends the ROS resource type DATASOURCE::ClickHouse::EnterpriseDBCluster.
Initializers
import { datasource } from '@alicloud/ros-cdk-clickhouse'
new datasource.EnterpriseDBCluster(scope: Construct, id: string, props: EnterpriseDBClusterProps, enableResourcePropertyConstraint?: boolean)
| Name | Type | Description |
|---|---|---|
scope | @alicloud/ros-cdk-core.Construct | No description. |
id | string | No description. |
props | EnterpriseDBClusterProps | No description. |
enableResourcePropertyConstraint | boolean | No description. |
scopeRequired
- Type: @alicloud/ros-cdk-core.Construct
idRequired
- Type: string
propsRequired
- Type: EnterpriseDBClusterProps
enableResourcePropertyConstraintOptional
- Type: boolean
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 toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
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.
- Type: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
fetchCondition
public fetchCondition(): RosCondition
fetchDependency
public fetchDependency(): string[]
fetchResourceDesc
public fetchResourceDesc(): string
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
| Name | Description |
|---|---|
isConstruct | Return whether the given object is a Construct. |
isConstruct
import { datasource } from '@alicloud/ros-cdk-clickhouse'
datasource.EnterpriseDBCluster.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
| Name | Type | Description |
|---|---|---|
node | @alicloud/ros-cdk-core.ConstructNode | The construct tree node associated with this construct. |
env | @alicloud/ros-cdk-core.IResourceEnvironment | The environment this resource belongs to. |
ref | string | No description. |
stack | @alicloud/ros-cdk-core.Stack | The stack in which this resource is defined. |
resource | @alicloud/ros-cdk-core.RosResource | No description. |
attrCategory | string | @alicloud/ros-cdk-core.IResolvable | Attribute Category: Type, value description: enterprise: Enterprise Edition. |
attrChargeType | string | @alicloud/ros-cdk-core.IResolvable | Attribute ChargeType: The billing method. |
attrComputingGroupIds | string | @alicloud/ros-cdk-core.IResolvable | Attribute ComputingGroupIds: The list of computing group IDs. |
attrCreateTime | string | @alicloud/ros-cdk-core.IResolvable | Attribute CreateTime: The creation time of the cluster. |
attrDbInstanceId | string | @alicloud/ros-cdk-core.IResolvable | Attribute DBInstanceId: The cluster ID. |
attrDescription | string | @alicloud/ros-cdk-core.IResolvable | Attribute Description: The cluster description. |
attrDisabledPorts | string | @alicloud/ros-cdk-core.IResolvable | Attribute DisabledPorts: The specified database port is disabled. |
attrEndpoints | string | @alicloud/ros-cdk-core.IResolvable | Attribute Endpoints: List of Endpoint details. |
attrEngine | string | @alicloud/ros-cdk-core.IResolvable | Attribute Engine: The engine type. |
attrEngineMinorVersion | string | @alicloud/ros-cdk-core.IResolvable | Attribute EngineMinorVersion: The minor version number of the cluster engine. |
attrEngineVersion | string | @alicloud/ros-cdk-core.IResolvable | Attribute EngineVersion: The engine version. |
attrInstanceNetworkType | string | @alicloud/ros-cdk-core.IResolvable | Attribute InstanceNetworkType: The network type of the instance. |
attrMaintainEndTime | string | @alicloud/ros-cdk-core.IResolvable | Attribute MaintainEndTime: The end time of the maintenance window. |
attrMaintainStartTime | string | @alicloud/ros-cdk-core.IResolvable | Attribute MaintainStartTime: The maintainable time start time. |
attrMultiZones | string | @alicloud/ros-cdk-core.IResolvable | Attribute MultiZones: The information about the zones. |
attrNodeCount | string | @alicloud/ros-cdk-core.IResolvable | Attribute NodeCount: The number of nodes. |
attrNodes | string | @alicloud/ros-cdk-core.IResolvable | Attribute Nodes: The Node information. |
attrNodeScaleMax | string | @alicloud/ros-cdk-core.IResolvable | Attribute NodeScaleMax: The maximum value of serverless node auto scaling. |
attrNodeScaleMin | string | @alicloud/ros-cdk-core.IResolvable | Attribute NodeScaleMin: Minimum number of Serverless nodes for auto-scaling. |
attrObjectStoreSize | string | @alicloud/ros-cdk-core.IResolvable | Attribute ObjectStoreSize: The size of the object storage space. |
attrResourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Attribute ResourceGroupId: The ID of the resource group. |
attrScaleMax | string | @alicloud/ros-cdk-core.IResolvable | Attribute ScaleMax: The maximum capacity for elastic scaling. |
attrScaleMin | string | @alicloud/ros-cdk-core.IResolvable | Attribute ScaleMin: The minimum capacity for elastic scaling. |
attrStorageQuota | string | @alicloud/ros-cdk-core.IResolvable | Attribute StorageQuota: Storage Pre-purchased Capacity (GB). |
attrStorageSize | string | @alicloud/ros-cdk-core.IResolvable | Attribute StorageSize: The size of the storage space. |
attrStorageType | string | @alicloud/ros-cdk-core.IResolvable | Attribute StorageType: The storage type. |
attrTags | string | @alicloud/ros-cdk-core.IResolvable | Attribute Tags: The details of the tags. |
attrVpcId | string | @alicloud/ros-cdk-core.IResolvable | Attribute VpcId: The VPC ID. |
attrVswitchId | string | @alicloud/ros-cdk-core.IResolvable | Attribute VswitchId: The VSwitch ID. |
attrZoneId | string | @alicloud/ros-cdk-core.IResolvable | Attribute ZoneId: The zone ID. |
props | EnterpriseDBClusterProps | No description. |
nodeRequired
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
envRequired
public readonly env: IResourceEnvironment;
- Type: @alicloud/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 readonly ref: string;
- Type: string
stackRequired
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resourceOptional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrCategoryRequired
public readonly attrCategory: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Category: Type, value description: enterprise: Enterprise Edition.
attrChargeTypeRequired
public readonly attrChargeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ChargeType: The billing method.
Enterprise Edition clusters use the pay-as-you-go billing method.
attrComputingGroupIdsRequired
public readonly attrComputingGroupIds: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ComputingGroupIds: The list of computing group IDs.
attrCreateTimeRequired
public readonly attrCreateTime: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute CreateTime: The creation time of the cluster.
attrDbInstanceIdRequired
public readonly attrDbInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DBInstanceId: The cluster ID.
attrDescriptionRequired
public readonly attrDescription: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Description: The cluster description.
attrDisabledPortsRequired
public readonly attrDisabledPorts: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DisabledPorts: The specified database port is disabled.
Multiple ports separated by commas (,) are supported.
attrEndpointsRequired
public readonly attrEndpoints: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Endpoints: List of Endpoint details.
attrEngineRequired
public readonly attrEngine: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Engine: The engine type.
attrEngineMinorVersionRequired
public readonly attrEngineMinorVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute EngineMinorVersion: The minor version number of the cluster engine.
attrEngineVersionRequired
public readonly attrEngineVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute EngineVersion: The engine version.
attrInstanceNetworkTypeRequired
public readonly attrInstanceNetworkType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute InstanceNetworkType: The network type of the instance.
attrMaintainEndTimeRequired
public readonly attrMaintainEndTime: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MaintainEndTime: The end time of the maintenance window.
attrMaintainStartTimeRequired
public readonly attrMaintainStartTime: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MaintainStartTime: The maintainable time start time.
attrMultiZonesRequired
public readonly attrMultiZones: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MultiZones: The information about the zones.
attrNodeCountRequired
public readonly attrNodeCount: string | IResolvable;
- Type: string | @alicloud/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 readonly attrNodes: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Nodes: The Node information.
attrNodeScaleMaxRequired
public readonly attrNodeScaleMax: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute NodeScaleMax: The maximum value of serverless node auto scaling.
attrNodeScaleMinRequired
public readonly attrNodeScaleMin: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute NodeScaleMin: Minimum number of Serverless nodes for auto-scaling.
attrObjectStoreSizeRequired
public readonly attrObjectStoreSize: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ObjectStoreSize: The size of the object storage space.
attrResourceGroupIdRequired
public readonly attrResourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
attrScaleMaxRequired
public readonly attrScaleMax: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ScaleMax: The maximum capacity for elastic scaling.
attrScaleMinRequired
public readonly attrScaleMin: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ScaleMin: The minimum capacity for elastic scaling.
attrStorageQuotaRequired
public readonly attrStorageQuota: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute StorageQuota: Storage Pre-purchased Capacity (GB).
attrStorageSizeRequired
public readonly attrStorageSize: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute StorageSize: The size of the storage space.
Unit: GB.
attrStorageTypeRequired
public readonly attrStorageType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute StorageType: The storage type.
attrTagsRequired
public readonly attrTags: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Tags: The details of the tags.
attrVpcIdRequired
public readonly attrVpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VpcId: The VPC ID.
attrVswitchIdRequired
public readonly attrVswitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VswitchId: The VSwitch ID.
attrZoneIdRequired
public readonly attrZoneId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ZoneId: The zone ID.
propsRequired
public readonly props: EnterpriseDBClusterProps;
- Type: EnterpriseDBClusterProps