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