DBCluster
- Implements: IDBCluster
This class encapsulates and extends the ROS resource type ALIYUN::ClickHouse::DBCluster.
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. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.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
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
FetchCondition
private RosCondition FetchCondition()
FetchDependency
private string[] FetchDependency()
FetchResourceDesc
private string FetchResourceDesc()
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. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
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 | object | Attribute AliUid: AliUid. |
AttrBid | object | Attribute Bid: BusinessID. |
AttrCategory | object | Attribute Category: The edition of the cluster. |
AttrCommodityCode | object | Attribute CommodityCode: Product Code. |
AttrConnectionString | object | Attribute ConnectionString: ConnectionString. |
AttrDbClusterDescription | object | Attribute DBClusterDescription: The description of the cluster. |
AttrDbClusterId | object | Attribute DBClusterId: The id of DBCluster. |
AttrDbClusterNetworkType | object | Attribute DBClusterNetworkType: Network type of the cluster instance, value: VPC. |
AttrDbClusterType | object | Attribute DBClusterType: The specification of the cluster. |
AttrDbClusterVersion | object | Attribute DBClusterVersion: Version, value: 19.15.2.2. |
AttrDbNodeClass | object | Attribute DBNodeClass: DBNodeClass. |
AttrDbNodeCount | object | Attribute DBNodeCount: The number of nodes. |
AttrDbNodeStorage | object | Attribute DBNodeStorage: The storage capacity of a single node. |
AttrDbNodeStorageType | object | Attribute DbNodeStorageType: Instance node storage type. |
AttrEncryptionKey | object | Attribute EncryptionKey: KMS key ID. |
AttrEncryptionType | object | Attribute EncryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk. |
AttrEngine | object | Attribute Engine: Engine. |
AttrEngineVersion | object | Attribute EngineVersion: EngineVersion. |
AttrIsExpired | object | Attribute IsExpired: IsExpired. |
AttrLockMode | object | Attribute LockMode: LockMode. |
AttrLockReason | object | Attribute LockReason: Reason for lock. |
AttrPaymentType | object | Attribute PaymentType: PayType. |
AttrPeriod | object | 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 | object | Attribute Port: Connection port. |
AttrPublicConnectionString | object | Attribute PublicConnectionString: Internet connection address. |
AttrPublicPort | object | Attribute PublicPort: PublicPort. |
AttrStorageType | object | Attribute StorageType: StorageType. |
AttrVpcCloudInstanceId | object | Attribute VpcCloudInstanceId: VpcCloudInstanceId. |
AttrVpcId | object | Attribute VpcId: VpcId. |
AttrVSwitchId | object | Attribute VSwitchId: VSwitchId. |
AttrZoneId | object | Attribute ZoneId: ZoneId. |
Props | DBClusterProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.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 string Ref { get; }
- Type: string
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
ResourceOptional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAliUidRequired
public object AttrAliUid { get; }
- Type: object
Attribute AliUid: AliUid.
AttrBidRequired
public object AttrBid { get; }
- Type: object
Attribute Bid: BusinessID.
AttrCategoryRequired
public object AttrCategory { get; }
- Type: object
Attribute Category: The edition of the cluster.
AttrCommodityCodeRequired
public object AttrCommodityCode { get; }
- Type: object
Attribute CommodityCode: Product Code.
AttrConnectionStringRequired
public object AttrConnectionString { get; }
- Type: object
Attribute ConnectionString: ConnectionString.
AttrDbClusterDescriptionRequired
public object AttrDbClusterDescription { get; }
- Type: object
Attribute DBClusterDescription: The description of the cluster.
AttrDbClusterIdRequired
public object AttrDbClusterId { get; }
- Type: object
Attribute DBClusterId: The id of DBCluster.
AttrDbClusterNetworkTypeRequired
public object AttrDbClusterNetworkType { get; }
- Type: object
Attribute DBClusterNetworkType: Network type of the cluster instance, value: VPC.
AttrDbClusterTypeRequired
public object AttrDbClusterType { get; }
- Type: object
Attribute DBClusterType: The specification of the cluster.
AttrDbClusterVersionRequired
public object AttrDbClusterVersion { get; }
- Type: object
Attribute DBClusterVersion: Version, value: 19.15.2.2.
AttrDbNodeClassRequired
public object AttrDbNodeClass { get; }
- Type: object
Attribute DBNodeClass: DBNodeClass.
AttrDbNodeCountRequired
public object AttrDbNodeCount { get; }
- Type: object
Attribute DBNodeCount: The number of nodes.
AttrDbNodeStorageRequired
public object AttrDbNodeStorage { get; }
- Type: object
Attribute DBNodeStorage: The storage capacity of a single node.
AttrDbNodeStorageTypeRequired
public object AttrDbNodeStorageType { get; }
- Type: object
Attribute DbNodeStorageType: Instance node storage type.
Valid values: cloud_essd, cloud_efficiency.
AttrEncryptionKeyRequired
public object AttrEncryptionKey { get; }
- Type: object
Attribute EncryptionKey: KMS key ID.
AttrEncryptionTypeRequired
public object AttrEncryptionType { get; }
- Type: object
Attribute EncryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk.
AttrEngineRequired
public object AttrEngine { get; }
- Type: object
Attribute Engine: Engine.
AttrEngineVersionRequired
public object AttrEngineVersion { get; }
- Type: object
Attribute EngineVersion: EngineVersion.
AttrIsExpiredRequired
public object AttrIsExpired { get; }
- Type: object
Attribute IsExpired: IsExpired.
AttrLockModeRequired
public object AttrLockMode { get; }
- Type: object
Attribute LockMode: LockMode.
AttrLockReasonRequired
public object AttrLockReason { get; }
- Type: object
Attribute LockReason: Reason for lock.
AttrPaymentTypeRequired
public object AttrPaymentType { get; }
- Type: object
Attribute PaymentType: PayType.
AttrPeriodRequired
public object AttrPeriod { get; }
- Type: object
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.
AttrPortRequired
public object AttrPort { get; }
- Type: object
Attribute Port: Connection port.
AttrPublicConnectionStringRequired
public object AttrPublicConnectionString { get; }
- Type: object
Attribute PublicConnectionString: Internet connection address.
AttrPublicPortRequired
public object AttrPublicPort { get; }
- Type: object
Attribute PublicPort: PublicPort.
AttrStorageTypeRequired
public object AttrStorageType { get; }
- Type: object
Attribute StorageType: StorageType.
AttrVpcCloudInstanceIdRequired
public object AttrVpcCloudInstanceId { get; }
- Type: object
Attribute VpcCloudInstanceId: VpcCloudInstanceId.
AttrVpcIdRequired
public object AttrVpcId { get; }
- Type: object
Attribute VpcId: VpcId.
AttrVSwitchIdRequired
public object AttrVSwitchId { get; }
- Type: object
Attribute VSwitchId: VSwitchId.
AttrZoneIdRequired
public object AttrZoneId { get; }
- Type: object
Attribute ZoneId: ZoneId.
PropsRequired
public DBClusterProps Props { get; }
- Type: DBClusterProps