EnterpriseDBCluster
- Implements: github.com/alibabacloud-go/ros-cdk/alicloudroscdkclickhouse.datasource.IEnterpriseDBCluster
This class encapsulates and extends the ROS resource type DATASOURCE::ClickHouse::EnterpriseDBCluster.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkclickhouse/datasource"
datasource.NewEnterpriseDBCluster(scope Construct, id *string, props EnterpriseDBClusterProps, enableResourcePropertyConstraint *bool) EnterpriseDBCluster
| Name | Type | Description |
|---|---|---|
scope | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct | No description. |
id | *string | No description. |
props | EnterpriseDBClusterProps | No description. |
enableResourcePropertyConstraint | *bool | No description. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
idRequired
- Type: *string
propsRequired
- Type: EnterpriseDBClusterProps
enableResourcePropertyConstraintOptional
- Type: *bool
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
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
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: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
FetchCondition
func FetchCondition() RosCondition
FetchDependency
func FetchDependency() *[]*string
FetchResourceDesc
func FetchResourceDesc() *string
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkclickhouse/datasource"
datasource.EnterpriseDBCluster_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node associated with this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Ref | *string | No description. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
Resource | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource | No description. |
AttrCategory | interface{} | Attribute Category: Type, value description: enterprise: Enterprise Edition. |
AttrChargeType | interface{} | Attribute ChargeType: The billing method. |
AttrComputingGroupIds | interface{} | Attribute ComputingGroupIds: The list of computing group IDs. |
AttrCreateTime | interface{} | Attribute CreateTime: The creation time of the cluster. |
AttrDbInstanceId | interface{} | Attribute DBInstanceId: The cluster ID. |
AttrDescription | interface{} | Attribute Description: The cluster description. |
AttrDisabledPorts | interface{} | Attribute DisabledPorts: The specified database port is disabled. |
AttrEndpoints | interface{} | Attribute Endpoints: List of Endpoint details. |
AttrEngine | interface{} | Attribute Engine: The engine type. |
AttrEngineMinorVersion | interface{} | Attribute EngineMinorVersion: The minor version number of the cluster engine. |
AttrEngineVersion | interface{} | Attribute EngineVersion: The engine version. |
AttrInstanceNetworkType | interface{} | Attribute InstanceNetworkType: The network type of the instance. |
AttrMaintainEndTime | interface{} | Attribute MaintainEndTime: The end time of the maintenance window. |
AttrMaintainStartTime | interface{} | Attribute MaintainStartTime: The maintainable time start time. |
AttrMultiZones | interface{} | Attribute MultiZones: The information about the zones. |
AttrNodeCount | interface{} | Attribute NodeCount: The number of nodes. |
AttrNodes | interface{} | Attribute Nodes: The Node information. |
AttrNodeScaleMax | interface{} | Attribute NodeScaleMax: The maximum value of serverless node auto scaling. |
AttrNodeScaleMin | interface{} | Attribute NodeScaleMin: Minimum number of Serverless nodes for auto-scaling. |
AttrObjectStoreSize | interface{} | Attribute ObjectStoreSize: The size of the object storage space. |
AttrResourceGroupId | interface{} | Attribute ResourceGroupId: The ID of the resource group. |
AttrScaleMax | interface{} | Attribute ScaleMax: The maximum capacity for elastic scaling. |
AttrScaleMin | interface{} | Attribute ScaleMin: The minimum capacity for elastic scaling. |
AttrStorageQuota | interface{} | Attribute StorageQuota: Storage Pre-purchased Capacity (GB). |
AttrStorageSize | interface{} | Attribute StorageSize: The size of the storage space. |
AttrStorageType | interface{} | Attribute StorageType: The storage type. |
AttrTags | interface{} | Attribute Tags: The details of the tags. |
AttrVpcId | interface{} | Attribute VpcId: The VPC ID. |
AttrVswitchId | interface{} | Attribute VswitchId: The VSwitch ID. |
AttrZoneId | interface{} | Attribute ZoneId: The zone ID. |
Props | EnterpriseDBClusterProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func Ref() *string
- Type: *string
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
ResourceOptional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrCategoryRequired
func AttrCategory() interface{}
- Type: interface{}
Attribute Category: Type, value description: enterprise: Enterprise Edition.
AttrChargeTypeRequired
func AttrChargeType() interface{}
- Type: interface{}
Attribute ChargeType: The billing method.
Enterprise Edition clusters use the pay-as-you-go billing method.
AttrComputingGroupIdsRequired
func AttrComputingGroupIds() interface{}
- Type: interface{}
Attribute ComputingGroupIds: The list of computing group IDs.
AttrCreateTimeRequired
func AttrCreateTime() interface{}
- Type: interface{}
Attribute CreateTime: The creation time of the cluster.
AttrDbInstanceIdRequired
func AttrDbInstanceId() interface{}
- Type: interface{}
Attribute DBInstanceId: The cluster ID.
AttrDescriptionRequired
func AttrDescription() interface{}
- Type: interface{}
Attribute Description: The cluster description.
AttrDisabledPortsRequired
func AttrDisabledPorts() interface{}
- Type: interface{}
Attribute DisabledPorts: The specified database port is disabled.
Multiple ports separated by commas (,) are supported.
AttrEndpointsRequired
func AttrEndpoints() interface{}
- Type: interface{}
Attribute Endpoints: List of Endpoint details.
AttrEngineRequired
func AttrEngine() interface{}
- Type: interface{}
Attribute Engine: The engine type.
AttrEngineMinorVersionRequired
func AttrEngineMinorVersion() interface{}
- Type: interface{}
Attribute EngineMinorVersion: The minor version number of the cluster engine.
AttrEngineVersionRequired
func AttrEngineVersion() interface{}
- Type: interface{}
Attribute EngineVersion: The engine version.
AttrInstanceNetworkTypeRequired
func AttrInstanceNetworkType() interface{}
- Type: interface{}
Attribute InstanceNetworkType: The network type of the instance.
AttrMaintainEndTimeRequired
func AttrMaintainEndTime() interface{}
- Type: interface{}
Attribute MaintainEndTime: The end time of the maintenance window.
AttrMaintainStartTimeRequired
func AttrMaintainStartTime() interface{}
- Type: interface{}
Attribute MaintainStartTime: The maintainable time start time.
AttrMultiZonesRequired
func AttrMultiZones() interface{}
- Type: interface{}
Attribute MultiZones: The information about the zones.
AttrNodeCountRequired
func AttrNodeCount() interface{}
- Type: interface{}
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
func AttrNodes() interface{}
- Type: interface{}
Attribute Nodes: The Node information.
AttrNodeScaleMaxRequired
func AttrNodeScaleMax() interface{}
- Type: interface{}
Attribute NodeScaleMax: The maximum value of serverless node auto scaling.
AttrNodeScaleMinRequired
func AttrNodeScaleMin() interface{}
- Type: interface{}
Attribute NodeScaleMin: Minimum number of Serverless nodes for auto-scaling.
AttrObjectStoreSizeRequired
func AttrObjectStoreSize() interface{}
- Type: interface{}
Attribute ObjectStoreSize: The size of the object storage space.
AttrResourceGroupIdRequired
func AttrResourceGroupId() interface{}
- Type: interface{}
Attribute ResourceGroupId: The ID of the resource group.
AttrScaleMaxRequired
func AttrScaleMax() interface{}
- Type: interface{}
Attribute ScaleMax: The maximum capacity for elastic scaling.
AttrScaleMinRequired
func AttrScaleMin() interface{}
- Type: interface{}
Attribute ScaleMin: The minimum capacity for elastic scaling.
AttrStorageQuotaRequired
func AttrStorageQuota() interface{}
- Type: interface{}
Attribute StorageQuota: Storage Pre-purchased Capacity (GB).
AttrStorageSizeRequired
func AttrStorageSize() interface{}
- Type: interface{}
Attribute StorageSize: The size of the storage space.
Unit: GB.
AttrStorageTypeRequired
func AttrStorageType() interface{}
- Type: interface{}
Attribute StorageType: The storage type.
AttrTagsRequired
func AttrTags() interface{}
- Type: interface{}
Attribute Tags: The details of the tags.
AttrVpcIdRequired
func AttrVpcId() interface{}
- Type: interface{}
Attribute VpcId: The VPC ID.
AttrVswitchIdRequired
func AttrVswitchId() interface{}
- Type: interface{}
Attribute VswitchId: The VSwitch ID.
AttrZoneIdRequired
func AttrZoneId() interface{}
- Type: interface{}
Attribute ZoneId: The zone ID.
PropsRequired
func Props() EnterpriseDBClusterProps
- Type: EnterpriseDBClusterProps