DBCluster
This class encapsulates and extends the ROS resource type ALIYUN::ClickHouse::DBCluster
, which is used to create an ApsaraDB for ClickHouse cluster.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Clickhouse;
new DBCluster(Construct Scope, string Id, DBClusterProps Props, bool EnableResourcePropertyConstraint = null);
Name | Type | Description |
---|---|---|
Scope |
AlibabaCloud.SDK.ROS.CDK.Core.Construct |
No description. |
Id |
string |
No description. |
Props |
DBClusterProps |
No description. |
EnableResourcePropertyConstraint |
bool |
No description. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: DBClusterProps
EnableResourcePropertyConstraint
Optional
- 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. |
GetAtt |
No description. |
SetMetadata |
No description. |
ToString
private string ToString()
Returns a string representation of this construct.
Synthesize
private 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.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Clickhouse;
DBCluster.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
Name | Type | Description |
---|---|---|
Node |
AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode |
The construct tree node associated with this construct. |
Ref |
string |
No description. |
Stack |
AlibabaCloud.SDK.ROS.CDK.Core.Stack |
The stack in which this resource is defined. |
Resource |
AlibabaCloud.SDK.ROS.CDK.Core.RosResource |
No description. |
AttrAliUid |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AliUid: AliUid. |
AttrBid |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Bid: BusinessID. |
AttrCategory |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Category: The edition of the cluster. |
AttrCommodityCode |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute CommodityCode: Product Code. |
AttrConnectionString |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ConnectionString: ConnectionString. |
AttrDbClusterDescription |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBClusterDescription: The description of the cluster. |
AttrDbClusterId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBClusterId: The id of DBCluster. |
AttrDbClusterNetworkType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBClusterNetworkType: Network type of the cluster instance, value: VPC. |
AttrDbClusterType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBClusterType: The specification of the cluster. |
AttrDbClusterVersion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBClusterVersion: Version, value: 19.15.2.2. |
AttrDbNodeClass |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBNodeClass: DBNodeClass. |
AttrDbNodeCount |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBNodeCount: The number of nodes. |
AttrDbNodeStorage |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DBNodeStorage: The storage capacity of a single node. |
AttrDbNodeStorageType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DbNodeStorageType: Instance node storage type. |
AttrEncryptionKey |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EncryptionKey: KMS key ID. |
AttrEncryptionType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EncryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk. |
AttrEngine |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Engine: Engine. |
AttrEngineVersion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EngineVersion: EngineVersion. |
AttrIsExpired |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute IsExpired: IsExpired. |
AttrLockMode |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LockMode: LockMode. |
AttrLockReason |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LockReason: Reason for lock. |
AttrPaymentType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PaymentType: PayType. |
AttrPeriod |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Period: Prepaid time period.If the payment type is Prepaid, this parameter is mandatory. Specify the prepaid cluster as a yearly or monthly type. Valid values: Year, Month. |
AttrPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Port: Connection port. |
AttrPublicConnectionString |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PublicConnectionString: Internet connection address. |
AttrPublicPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PublicPort: PublicPort. |
AttrStorageType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute StorageType: StorageType. |
AttrVpcCloudInstanceId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcCloudInstanceId: VpcCloudInstanceId. |
AttrVpcId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcId: VpcId. |
AttrVSwitchId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VSwitchId: VSwitchId. |
AttrZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ZoneId: ZoneId. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAliUid
Required
public IResolvable AttrAliUid { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AliUid: AliUid.
AttrBid
Required
public IResolvable AttrBid { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Bid: BusinessID.
AttrCategory
Required
public IResolvable AttrCategory { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Category: The edition of the cluster.
AttrCommodityCode
Required
public IResolvable AttrCommodityCode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CommodityCode: Product Code.
AttrConnectionString
Required
public IResolvable AttrConnectionString { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConnectionString: ConnectionString.
AttrDbClusterDescription
Required
public IResolvable AttrDbClusterDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBClusterDescription: The description of the cluster.
AttrDbClusterId
Required
public IResolvable AttrDbClusterId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBClusterId: The id of DBCluster.
AttrDbClusterNetworkType
Required
public IResolvable AttrDbClusterNetworkType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBClusterNetworkType: Network type of the cluster instance, value: VPC.
AttrDbClusterType
Required
public IResolvable AttrDbClusterType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBClusterType: The specification of the cluster.
AttrDbClusterVersion
Required
public IResolvable AttrDbClusterVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBClusterVersion: Version, value: 19.15.2.2.
AttrDbNodeClass
Required
public IResolvable AttrDbNodeClass { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBNodeClass: DBNodeClass.
AttrDbNodeCount
Required
public IResolvable AttrDbNodeCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBNodeCount: The number of nodes.
AttrDbNodeStorage
Required
public IResolvable AttrDbNodeStorage { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DBNodeStorage: The storage capacity of a single node.
AttrDbNodeStorageType
Required
public IResolvable AttrDbNodeStorageType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DbNodeStorageType: Instance node storage type.
Valid values: cloud_essd, cloud_efficiency.
AttrEncryptionKey
Required
public IResolvable AttrEncryptionKey { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EncryptionKey: KMS key ID.
AttrEncryptionType
Required
public IResolvable AttrEncryptionType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EncryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk.
AttrEngine
Required
public IResolvable AttrEngine { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Engine: Engine.
AttrEngineVersion
Required
public IResolvable AttrEngineVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EngineVersion: EngineVersion.
AttrIsExpired
Required
public IResolvable AttrIsExpired { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IsExpired: IsExpired.
AttrLockMode
Required
public IResolvable AttrLockMode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LockMode: LockMode.
AttrLockReason
Required
public IResolvable AttrLockReason { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LockReason: Reason for lock.
AttrPaymentType
Required
public IResolvable AttrPaymentType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PaymentType: PayType.
AttrPeriod
Required
public IResolvable AttrPeriod { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Period: Prepaid time period.If the payment type is Prepaid, this parameter is mandatory. Specify the prepaid cluster as a yearly or monthly type. Valid values: Year, Month.
AttrPort
Required
public IResolvable AttrPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Port: Connection port.
AttrPublicConnectionString
Required
public IResolvable AttrPublicConnectionString { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PublicConnectionString: Internet connection address.
AttrPublicPort
Required
public IResolvable AttrPublicPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PublicPort: PublicPort.
AttrStorageType
Required
public IResolvable AttrStorageType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute StorageType: StorageType.
AttrVpcCloudInstanceId
Required
public IResolvable AttrVpcCloudInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcCloudInstanceId: VpcCloudInstanceId.
AttrVpcId
Required
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: VpcId.
AttrVSwitchId
Required
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: VSwitchId.
AttrZoneId
Required
public IResolvable AttrZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ZoneId: ZoneId.