ApsaraDB for ClickHouse integrates with Resource Orchestration Service (ROS), letting you define and manage ClickHouse clusters as code. The following tables list all supported resource types and data sources.
For an introduction to ROS, see What is ROS?
Resources
Resources are writable — use them to create or modify infrastructure.
| Resource type | Description |
|---|---|
| ALIYUN::ClickHouse::DBCluster | Create an ApsaraDB for ClickHouse cluster. |
| ALIYUN::ClickHouse::SynDb | Create a synchronization task for an ApsaraDB for ClickHouse Community-compatible Edition cluster. |
Data sources
Data sources are read-only — use them to query existing cluster information within a ROS template.
| Resource type | Description |
|---|---|
| DATASOURCE::ClickHouse::DBCluster | Query the information about an ApsaraDB for ClickHouse cluster. |
| DATASOURCE::ClickHouse::DBClusters | Query the information about ApsaraDB for ClickHouse clusters. |