DBCluster
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
from ros_cdk_clickhouse import datasource
datasource.DBCluster(
scope: Construct,
id: str,
db_cluster_id: typing.Union[str, IResolvable],
refresh_options: typing.Union[str, IResolvable] = None,
enable_resource_property_constraint: bool = None
)
Name | Type | Description |
---|---|---|
scope |
ros_cdk_core.Construct |
No description. |
id |
str |
No description. |
db_cluster_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbClusterId: Instance ID. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
enable_resource_property_constraint |
bool |
No description. |
scope
Required
- Type: ros_cdk_core.Construct
id
Required
- Type: str
db_cluster_id
Required
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbClusterId: Instance ID.
refresh_options
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
enable_resource_property_constraint
Optional
- Type: bool
Methods
Name | Description |
---|---|
to_string |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
add_condition |
No description. |
add_count |
No description. |
add_dependency |
No description. |
add_resource_desc |
No description. |
apply_removal_policy |
No description. |
get_att |
No description. |
set_metadata |
No description. |
to_string
def to_string() -> str
Returns a string representation of this construct.
synthesize
def synthesize(
session: ISynthesisSession
) -> None
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: ros_cdk_core.ISynthesisSession
The synthesis session.
add_condition
def add_condition(
condition: RosCondition
) -> None
- Type: ros_cdk_core.RosCondition
add_count
def add_count(
count: typing.Union[typing.Union[int, float], IResolvable]
) -> None
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
add_dependency
def add_dependency(
resource: Resource
) -> None
- Type: ros_cdk_core.Resource
add_resource_desc
def add_resource_desc(
desc: str
) -> None
- Type: str
apply_removal_policy
def apply_removal_policy(
policy: RemovalPolicy
) -> None
- Type: ros_cdk_core.RemovalPolicy
get_att
def get_att(
name: str
) -> IResolvable
- Type: str
set_metadata
def set_metadata(
key: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
Static Functions
Name | Description |
---|---|
is_construct |
Return whether the given object is a Construct. |
is_construct
from ros_cdk_clickhouse import datasource
datasource.DBCluster.is_construct(
x: typing.Any
)
Return whether the given object is a Construct.
- Type: typing.Any
Properties
Name | Type | Description |
---|---|---|
node |
ros_cdk_core.ConstructNode |
The construct tree node associated with this construct. |
ref |
str |
No description. |
stack |
ros_cdk_core.Stack |
The stack in which this resource is defined. |
resource |
ros_cdk_core.RosResource |
No description. |
attr_ali_uid |
ros_cdk_core.IResolvable |
Attribute AliUid: Alibaba Cloud account. |
attr_bid |
ros_cdk_core.IResolvable |
Attribute Bid: The ID of the business process flow. |
attr_category |
ros_cdk_core.IResolvable |
Attribute Category: Copy configuration, value description:. |
attr_commodity_code |
ros_cdk_core.IResolvable |
Attribute CommodityCode: Buy Product Code. |
attr_connection_string |
ros_cdk_core.IResolvable |
Attribute ConnectionString: Connection string. |
attr_create_time |
ros_cdk_core.IResolvable |
Attribute CreateTime: The creation time of the resource. |
attr_db_cluster_id |
ros_cdk_core.IResolvable |
Attribute DBClusterId: Instance ID. |
attr_db_cluster_ip_array_name |
ros_cdk_core.IResolvable |
Attribute DBClusterIPArrayName: The name of the whitelist group to be modified. |
attr_db_cluster_name |
ros_cdk_core.IResolvable |
Attribute DBClusterName: The cluster description information. |
attr_db_cluster_network_type |
ros_cdk_core.IResolvable |
Attribute DbClusterNetworkType: Network type. |
attr_db_cluster_type |
ros_cdk_core.IResolvable |
Attribute DBClusterType: Instance type. |
attr_db_node_class |
ros_cdk_core.IResolvable |
Attribute DbNodeClass: Set the node type. |
attr_db_node_count |
ros_cdk_core.IResolvable |
Attribute DbNodeCount: Value range: S-Series: 1 to 48 C Series: 1-24 units:. |
attr_db_node_storage |
ros_cdk_core.IResolvable |
Attribute DbNodeStorage: Single-node storage space. |
attr_encryption_key |
ros_cdk_core.IResolvable |
Attribute EncryptionKey: Key management service KMS key ID. |
attr_encryption_type |
ros_cdk_core.IResolvable |
Attribute EncryptionType: Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty. |
attr_engine |
ros_cdk_core.IResolvable |
Attribute Engine: Engine. |
attr_engine_version |
ros_cdk_core.IResolvable |
Attribute EngineVersion: The engine version. |
attr_expire_time |
ros_cdk_core.IResolvable |
Attribute ExpireTime: The expiration time. |
attr_is_expired |
ros_cdk_core.IResolvable |
Attribute IsExpired: If the instance has expired. |
attr_lock_mode |
ros_cdk_core.IResolvable |
Attribute LockMode: The lock mode. |
attr_lock_reason |
ros_cdk_core.IResolvable |
Attribute LockReason: Lock reason. |
attr_maintain_time |
ros_cdk_core.IResolvable |
Attribute MaintainTime: Examples of the maintenance window, in the format of hh:mmZ-hh:mm Z. |
attr_payment_type |
ros_cdk_core.IResolvable |
Attribute PaymentType: The paymen type of the resource. |
attr_port |
ros_cdk_core.IResolvable |
Attribute Port: Connection port. |
attr_public_connection_string |
ros_cdk_core.IResolvable |
Attribute PublicConnectionString: A public IP address for the connection. |
attr_public_ip_addr |
ros_cdk_core.IResolvable |
Attribute PublicIpAddr: Public IP address. |
attr_public_port |
ros_cdk_core.IResolvable |
Attribute PublicPort: Public network port. |
attr_resource_group_id |
ros_cdk_core.IResolvable |
Attribute ResourceGroupId: The ID of the resource group. |
attr_scale_out_status |
ros_cdk_core.IResolvable |
Attribute ScaleOutStatus: Scale state. |
attr_security_ips |
ros_cdk_core.IResolvable |
Attribute SecurityIps: The whitelist supports the following two formats:. |
attr_storage_type |
ros_cdk_core.IResolvable |
Attribute StorageType: Storage type CloudSSD:SSD cloud disk CloudEfficiency: Ultra cloud disk. |
attr_support_backup |
ros_cdk_core.IResolvable |
Attribute SupportBackup: Support fallback scheme. |
attr_support_https_port |
ros_cdk_core.IResolvable |
Attribute SupportHttpsPort: The system supports http port number. |
attr_support_mysql_port |
ros_cdk_core.IResolvable |
Attribute SupportMysqlPort: Supports Mysql, and those of the ports. |
attr_support_oss |
ros_cdk_core.IResolvable |
Attribute SupportOss: Whether hot and cold stratification is supported, 0 means not, and 1st generation table supports it. |
attr_vpc_cloud_instance_id |
ros_cdk_core.IResolvable |
Attribute VpcCloudInstanceId: Virtual Private Cloud (VPC cloud instance ID. |
attr_vpc_id |
ros_cdk_core.IResolvable |
Attribute VpcId: VPC ID. |
attr_vpc_ip_addr |
ros_cdk_core.IResolvable |
Attribute VpcIpAddr: VPC IP address. |
attr_v_switch_id |
ros_cdk_core.IResolvable |
Attribute VSwitchId: Switch ID. |
attr_zone_id |
ros_cdk_core.IResolvable |
Attribute ZoneId: On behalf of the zone resource attribute field. |
node
Required
node: ConstructNode
- Type: ros_cdk_core.ConstructNode
The construct tree node associated with this construct.
ref
Required
ref: str
- Type: str
stack
Required
stack: Stack
- Type: ros_cdk_core.Stack
The stack in which this resource is defined.
resource
Optional
resource: RosResource
- Type: ros_cdk_core.RosResource
attr_ali_uid
Required
attr_ali_uid: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute AliUid: Alibaba Cloud account.
attr_bid
Required
attr_bid: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute Bid: The ID of the business process flow.
attr_category
Required
attr_category: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute Category: Copy configuration, value description:.
attr_commodity_code
Required
attr_commodity_code: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute CommodityCode: Buy Product Code.
attr_connection_string
Required
attr_connection_string: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ConnectionString: Connection string.
attr_create_time
Required
attr_create_time: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute CreateTime: The creation time of the resource.
attr_db_cluster_id
Required
attr_db_cluster_id: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute DBClusterId: Instance ID.
attr_db_cluster_ip_array_name
Required
attr_db_cluster_ip_array_name: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute DBClusterIPArrayName: The name of the whitelist group to be modified.
attr_db_cluster_name
Required
attr_db_cluster_name: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute DBClusterName: The cluster description information.
attr_db_cluster_network_type
Required
attr_db_cluster_network_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute DbClusterNetworkType: Network type.
Currently, only VPC is supported.
attr_db_cluster_type
Required
attr_db_cluster_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute DBClusterType: Instance type.
attr_db_node_class
Required
attr_db_node_class: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute DbNodeClass: Set the node type.
attr_db_node_count
Required
attr_db_node_count: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute DbNodeCount: Value range: S-Series: 1 to 48 C Series: 1-24 units:.
attr_db_node_storage
Required
attr_db_node_storage: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute DbNodeStorage: Single-node storage space.
Value range: 100 GB to 32000GB.
attr_encryption_key
Required
attr_encryption_key: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute EncryptionKey: Key management service KMS key ID.
attr_encryption_type
Required
attr_encryption_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute EncryptionType: Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
attr_engine
Required
attr_engine: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute Engine: Engine.
attr_engine_version
Required
attr_engine_version: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute EngineVersion: The engine version.
attr_expire_time
Required
attr_expire_time: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ExpireTime: The expiration time.
attr_is_expired
Required
attr_is_expired: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute IsExpired: If the instance has expired.
attr_lock_mode
Required
attr_lock_mode: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute LockMode: The lock mode.
attr_lock_reason
Required
attr_lock_reason: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute LockReason: Lock reason.
attr_maintain_time
Required
attr_maintain_time: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute MaintainTime: Examples of the maintenance window, in the format of hh:mmZ-hh:mm Z.
attr_payment_type
Required
attr_payment_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute PaymentType: The paymen type of the resource.
attr_port
Required
attr_port: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute Port: Connection port.
attr_public_connection_string
Required
attr_public_connection_string: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute PublicConnectionString: A public IP address for the connection.
attr_public_ip_addr
Required
attr_public_ip_addr: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute PublicIpAddr: Public IP address.
attr_public_port
Required
attr_public_port: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute PublicPort: Public network port.
attr_resource_group_id
Required
attr_resource_group_id: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
attr_scale_out_status
Required
attr_scale_out_status: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ScaleOutStatus: Scale state.
attr_security_ips
Required
attr_security_ips: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SecurityIps: The whitelist supports the following two formats:.
attr_storage_type
Required
attr_storage_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute StorageType: Storage type CloudSSD:SSD cloud disk CloudEfficiency: Ultra cloud disk.
attr_support_backup
Required
attr_support_backup: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SupportBackup: Support fallback scheme.
attr_support_https_port
Required
attr_support_https_port: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SupportHttpsPort: The system supports http port number.
attr_support_mysql_port
Required
attr_support_mysql_port: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SupportMysqlPort: Supports Mysql, and those of the ports.
attr_support_oss
Required
attr_support_oss: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SupportOss: Whether hot and cold stratification is supported, 0 means not, and 1st generation table supports it.
attr_vpc_cloud_instance_id
Required
attr_vpc_cloud_instance_id: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute VpcCloudInstanceId: Virtual Private Cloud (VPC cloud instance ID.
attr_vpc_id
Required
attr_vpc_id: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute VpcId: VPC ID.
attr_vpc_ip_addr
Required
attr_vpc_ip_addr: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute VpcIpAddr: VPC IP address.
attr_v_switch_id
Required
attr_v_switch_id: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute VSwitchId: Switch ID.
attr_zone_id
Required
attr_zone_id: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ZoneId: On behalf of the zone resource attribute field.