DBCluster
- Implements: github.com/alibabacloud-go/ros-cdk/alicloudroscdkclickhouse.datasource.IDBCluster
This class encapsulates and extends the ROS resource type DATASOURCE::ClickHouse::DBCluster.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkclickhouse/datasource"
datasource.NewDBCluster(scope Construct, id *string, props DBClusterProps, enableResourcePropertyConstraint *bool) DBCluster
| Name | Type | Description |
|---|---|---|
scope | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct | No description. |
id | *string | No description. |
props | DBClusterProps | No description. |
enableResourcePropertyConstraint | *bool | No description. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
idRequired
- Type: *string
propsRequired
- Type: DBClusterProps
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.DBCluster_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. |
AttrAliUid | interface{} | Attribute AliUid: Alibaba Cloud account. |
AttrBid | interface{} | Attribute Bid: The ID of the business process flow. |
AttrCategory | interface{} | Attribute Category: Copy configuration, value description:. |
AttrCommodityCode | interface{} | Attribute CommodityCode: Buy Product Code. |
AttrConnectionString | interface{} | Attribute ConnectionString: Connection string. |
AttrCreateTime | interface{} | Attribute CreateTime: The creation time of the resource. |
AttrDbClusterId | interface{} | Attribute DBClusterId: Instance ID. |
AttrDbClusterIpArrayName | interface{} | Attribute DBClusterIPArrayName: The name of the whitelist group to be modified. |
AttrDbClusterName | interface{} | Attribute DBClusterName: The cluster description information. |
AttrDbClusterNetworkType | interface{} | Attribute DbClusterNetworkType: Network type. |
AttrDbClusterType | interface{} | Attribute DBClusterType: Instance type. |
AttrDbNodeClass | interface{} | Attribute DbNodeClass: Set the node type. |
AttrDbNodeCount | interface{} | Attribute DbNodeCount: Value range: S-Series: 1 to 48 C Series: 1-24 units:. |
AttrDbNodeStorage | interface{} | Attribute DbNodeStorage: Single-node storage space. |
AttrEncryptionKey | interface{} | Attribute EncryptionKey: Key management service KMS key ID. |
AttrEncryptionType | interface{} | Attribute EncryptionType: Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty. |
AttrEngine | interface{} | Attribute Engine: Engine. |
AttrEngineVersion | interface{} | Attribute EngineVersion: The engine version. |
AttrExpireTime | interface{} | Attribute ExpireTime: The expiration time. |
AttrIsExpired | interface{} | Attribute IsExpired: If the instance has expired. |
AttrLockMode | interface{} | Attribute LockMode: The lock mode. |
AttrLockReason | interface{} | Attribute LockReason: Lock reason. |
AttrMaintainTime | interface{} | Attribute MaintainTime: Examples of the maintenance window, in the format of hh:mmZ-hh:mm Z. |
AttrPaymentType | interface{} | Attribute PaymentType: The paymen type of the resource. |
AttrPort | interface{} | Attribute Port: Connection port. |
AttrPublicConnectionString | interface{} | Attribute PublicConnectionString: A public IP address for the connection. |
AttrPublicIpAddr | interface{} | Attribute PublicIpAddr: Public IP address. |
AttrPublicPort | interface{} | Attribute PublicPort: Public network port. |
AttrResourceGroupId | interface{} | Attribute ResourceGroupId: The ID of the resource group. |
AttrScaleOutStatus | interface{} | Attribute ScaleOutStatus: Scale state. |
AttrSecurityIps | interface{} | Attribute SecurityIps: The whitelist supports the following two formats:. |
AttrStorageType | interface{} | Attribute StorageType: Storage type CloudSSD:SSD cloud disk CloudEfficiency: Ultra cloud disk. |
AttrSupportBackup | interface{} | Attribute SupportBackup: Support fallback scheme. |
AttrSupportHttpsPort | interface{} | Attribute SupportHttpsPort: The system supports http port number. |
AttrSupportMysqlPort | interface{} | Attribute SupportMysqlPort: Supports Mysql, and those of the ports. |
AttrSupportOss | interface{} | Attribute SupportOss: Whether hot and cold stratification is supported, 0 means not, and 1st generation table supports it. |
AttrVpcCloudInstanceId | interface{} | Attribute VpcCloudInstanceId: Virtual Private Cloud (VPC cloud instance ID. |
AttrVpcId | interface{} | Attribute VpcId: VPC ID. |
AttrVpcIpAddr | interface{} | Attribute VpcIpAddr: VPC IP address. |
AttrVSwitchId | interface{} | Attribute VSwitchId: Switch ID. |
AttrZoneId | interface{} | Attribute ZoneId: On behalf of the zone resource attribute field. |
Props | DBClusterProps | 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
AttrAliUidRequired
func AttrAliUid() interface{}
- Type: interface{}
Attribute AliUid: Alibaba Cloud account.
AttrBidRequired
func AttrBid() interface{}
- Type: interface{}
Attribute Bid: The ID of the business process flow.
AttrCategoryRequired
func AttrCategory() interface{}
- Type: interface{}
Attribute Category: Copy configuration, value description:.
AttrCommodityCodeRequired
func AttrCommodityCode() interface{}
- Type: interface{}
Attribute CommodityCode: Buy Product Code.
AttrConnectionStringRequired
func AttrConnectionString() interface{}
- Type: interface{}
Attribute ConnectionString: Connection string.
AttrCreateTimeRequired
func AttrCreateTime() interface{}
- Type: interface{}
Attribute CreateTime: The creation time of the resource.
AttrDbClusterIdRequired
func AttrDbClusterId() interface{}
- Type: interface{}
Attribute DBClusterId: Instance ID.
AttrDbClusterIpArrayNameRequired
func AttrDbClusterIpArrayName() interface{}
- Type: interface{}
Attribute DBClusterIPArrayName: The name of the whitelist group to be modified.
AttrDbClusterNameRequired
func AttrDbClusterName() interface{}
- Type: interface{}
Attribute DBClusterName: The cluster description information.
AttrDbClusterNetworkTypeRequired
func AttrDbClusterNetworkType() interface{}
- Type: interface{}
Attribute DbClusterNetworkType: Network type.
Currently, only VPC is supported.
AttrDbClusterTypeRequired
func AttrDbClusterType() interface{}
- Type: interface{}
Attribute DBClusterType: Instance type.
AttrDbNodeClassRequired
func AttrDbNodeClass() interface{}
- Type: interface{}
Attribute DbNodeClass: Set the node type.
AttrDbNodeCountRequired
func AttrDbNodeCount() interface{}
- Type: interface{}
Attribute DbNodeCount: Value range: S-Series: 1 to 48 C Series: 1-24 units:.
AttrDbNodeStorageRequired
func AttrDbNodeStorage() interface{}
- Type: interface{}
Attribute DbNodeStorage: Single-node storage space.
Value range: 100 GB to 32000GB.
AttrEncryptionKeyRequired
func AttrEncryptionKey() interface{}
- Type: interface{}
Attribute EncryptionKey: Key management service KMS key ID.
AttrEncryptionTypeRequired
func AttrEncryptionType() interface{}
- Type: interface{}
Attribute EncryptionType: Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
AttrEngineRequired
func AttrEngine() interface{}
- Type: interface{}
Attribute Engine: Engine.
AttrEngineVersionRequired
func AttrEngineVersion() interface{}
- Type: interface{}
Attribute EngineVersion: The engine version.
AttrExpireTimeRequired
func AttrExpireTime() interface{}
- Type: interface{}
Attribute ExpireTime: The expiration time.
AttrIsExpiredRequired
func AttrIsExpired() interface{}
- Type: interface{}
Attribute IsExpired: If the instance has expired.
AttrLockModeRequired
func AttrLockMode() interface{}
- Type: interface{}
Attribute LockMode: The lock mode.
AttrLockReasonRequired
func AttrLockReason() interface{}
- Type: interface{}
Attribute LockReason: Lock reason.
AttrMaintainTimeRequired
func AttrMaintainTime() interface{}
- Type: interface{}
Attribute MaintainTime: Examples of the maintenance window, in the format of hh:mmZ-hh:mm Z.
AttrPaymentTypeRequired
func AttrPaymentType() interface{}
- Type: interface{}
Attribute PaymentType: The paymen type of the resource.
AttrPortRequired
func AttrPort() interface{}
- Type: interface{}
Attribute Port: Connection port.
AttrPublicConnectionStringRequired
func AttrPublicConnectionString() interface{}
- Type: interface{}
Attribute PublicConnectionString: A public IP address for the connection.
AttrPublicIpAddrRequired
func AttrPublicIpAddr() interface{}
- Type: interface{}
Attribute PublicIpAddr: Public IP address.
AttrPublicPortRequired
func AttrPublicPort() interface{}
- Type: interface{}
Attribute PublicPort: Public network port.
AttrResourceGroupIdRequired
func AttrResourceGroupId() interface{}
- Type: interface{}
Attribute ResourceGroupId: The ID of the resource group.
AttrScaleOutStatusRequired
func AttrScaleOutStatus() interface{}
- Type: interface{}
Attribute ScaleOutStatus: Scale state.
AttrSecurityIpsRequired
func AttrSecurityIps() interface{}
- Type: interface{}
Attribute SecurityIps: The whitelist supports the following two formats:.
AttrStorageTypeRequired
func AttrStorageType() interface{}
- Type: interface{}
Attribute StorageType: Storage type CloudSSD:SSD cloud disk CloudEfficiency: Ultra cloud disk.
AttrSupportBackupRequired
func AttrSupportBackup() interface{}
- Type: interface{}
Attribute SupportBackup: Support fallback scheme.
AttrSupportHttpsPortRequired
func AttrSupportHttpsPort() interface{}
- Type: interface{}
Attribute SupportHttpsPort: The system supports http port number.
AttrSupportMysqlPortRequired
func AttrSupportMysqlPort() interface{}
- Type: interface{}
Attribute SupportMysqlPort: Supports Mysql, and those of the ports.
AttrSupportOssRequired
func AttrSupportOss() interface{}
- Type: interface{}
Attribute SupportOss: Whether hot and cold stratification is supported, 0 means not, and 1st generation table supports it.
AttrVpcCloudInstanceIdRequired
func AttrVpcCloudInstanceId() interface{}
- Type: interface{}
Attribute VpcCloudInstanceId: Virtual Private Cloud (VPC cloud instance ID.
AttrVpcIdRequired
func AttrVpcId() interface{}
- Type: interface{}
Attribute VpcId: VPC ID.
AttrVpcIpAddrRequired
func AttrVpcIpAddr() interface{}
- Type: interface{}
Attribute VpcIpAddr: VPC IP address.
AttrVSwitchIdRequired
func AttrVSwitchId() interface{}
- Type: interface{}
Attribute VSwitchId: Switch ID.
AttrZoneIdRequired
func AttrZoneId() interface{}
- Type: interface{}
Attribute ZoneId: On behalf of the zone resource attribute field.
PropsRequired
func Props() DBClusterProps
- Type: DBClusterProps