tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getClickhouseInstanceNodes
Start a Neo task
Explain and create a tencentcloud.getClickhouseInstanceNodes resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of clickhouse instance_nodes
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const instanceNodes = tencentcloud.getClickhouseInstanceNodes({
instanceId: "cdwch-mvfjh373",
nodeRole: "data",
displayPolicy: "all",
forceAll: true,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
instance_nodes = tencentcloud.get_clickhouse_instance_nodes(instance_id="cdwch-mvfjh373",
node_role="data",
display_policy="all",
force_all=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetClickhouseInstanceNodes(ctx, &tencentcloud.GetClickhouseInstanceNodesArgs{
InstanceId: "cdwch-mvfjh373",
NodeRole: pulumi.StringRef("data"),
DisplayPolicy: pulumi.StringRef("all"),
ForceAll: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var instanceNodes = Tencentcloud.GetClickhouseInstanceNodes.Invoke(new()
{
InstanceId = "cdwch-mvfjh373",
NodeRole = "data",
DisplayPolicy = "all",
ForceAll = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetClickhouseInstanceNodesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var instanceNodes = TencentcloudFunctions.getClickhouseInstanceNodes(GetClickhouseInstanceNodesArgs.builder()
.instanceId("cdwch-mvfjh373")
.nodeRole("data")
.displayPolicy("all")
.forceAll(true)
.build());
}
}
variables:
instanceNodes:
fn::invoke:
function: tencentcloud:getClickhouseInstanceNodes
arguments:
instanceId: cdwch-mvfjh373
nodeRole: data
displayPolicy: all
forceAll: true
Using getClickhouseInstanceNodes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getClickhouseInstanceNodes(args: GetClickhouseInstanceNodesArgs, opts?: InvokeOptions): Promise<GetClickhouseInstanceNodesResult>
function getClickhouseInstanceNodesOutput(args: GetClickhouseInstanceNodesOutputArgs, opts?: InvokeOptions): Output<GetClickhouseInstanceNodesResult>def get_clickhouse_instance_nodes(display_policy: Optional[str] = None,
force_all: Optional[bool] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
node_role: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClickhouseInstanceNodesResult
def get_clickhouse_instance_nodes_output(display_policy: Optional[pulumi.Input[str]] = None,
force_all: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
node_role: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClickhouseInstanceNodesResult]func GetClickhouseInstanceNodes(ctx *Context, args *GetClickhouseInstanceNodesArgs, opts ...InvokeOption) (*GetClickhouseInstanceNodesResult, error)
func GetClickhouseInstanceNodesOutput(ctx *Context, args *GetClickhouseInstanceNodesOutputArgs, opts ...InvokeOption) GetClickhouseInstanceNodesResultOutput> Note: This function is named GetClickhouseInstanceNodes in the Go SDK.
public static class GetClickhouseInstanceNodes
{
public static Task<GetClickhouseInstanceNodesResult> InvokeAsync(GetClickhouseInstanceNodesArgs args, InvokeOptions? opts = null)
public static Output<GetClickhouseInstanceNodesResult> Invoke(GetClickhouseInstanceNodesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClickhouseInstanceNodesResult> getClickhouseInstanceNodes(GetClickhouseInstanceNodesArgs args, InvokeOptions options)
public static Output<GetClickhouseInstanceNodesResult> getClickhouseInstanceNodes(GetClickhouseInstanceNodesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getClickhouseInstanceNodes:getClickhouseInstanceNodes
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - InstanceId.
- Display
Policy string - Display strategy, display all when All.
- Force
All bool - When true, returns all nodes, that is, the Limit is infinitely large.
- Id string
- Node
Role string - Cluster role type, default is
datadata node. - Result
Output stringFile - Used to save results.
- Instance
Id string - InstanceId.
- Display
Policy string - Display strategy, display all when All.
- Force
All bool - When true, returns all nodes, that is, the Limit is infinitely large.
- Id string
- Node
Role string - Cluster role type, default is
datadata node. - Result
Output stringFile - Used to save results.
- instance
Id String - InstanceId.
- display
Policy String - Display strategy, display all when All.
- force
All Boolean - When true, returns all nodes, that is, the Limit is infinitely large.
- id String
- node
Role String - Cluster role type, default is
datadata node. - result
Output StringFile - Used to save results.
- instance
Id string - InstanceId.
- display
Policy string - Display strategy, display all when All.
- force
All boolean - When true, returns all nodes, that is, the Limit is infinitely large.
- id string
- node
Role string - Cluster role type, default is
datadata node. - result
Output stringFile - Used to save results.
- instance_
id str - InstanceId.
- display_
policy str - Display strategy, display all when All.
- force_
all bool - When true, returns all nodes, that is, the Limit is infinitely large.
- id str
- node_
role str - Cluster role type, default is
datadata node. - result_
output_ strfile - Used to save results.
- instance
Id String - InstanceId.
- display
Policy String - Display strategy, display all when All.
- force
All Boolean - When true, returns all nodes, that is, the Limit is infinitely large.
- id String
- node
Role String - Cluster role type, default is
datadata node. - result
Output StringFile - Used to save results.
getClickhouseInstanceNodes Result
The following output properties are available:
- Id string
- Instance
Id string - Instance
Nodes List<GetLists Clickhouse Instance Nodes Instance Nodes List> - Total number of instance nodes.
- Display
Policy string - Force
All bool - Node
Role string - Result
Output stringFile
- Id string
- Instance
Id string - Instance
Nodes []GetLists Clickhouse Instance Nodes Instance Nodes List - Total number of instance nodes.
- Display
Policy string - Force
All bool - Node
Role string - Result
Output stringFile
- id String
- instance
Id String - instance
Nodes List<GetLists Clickhouse Instance Nodes Instance Nodes List> - Total number of instance nodes.
- display
Policy String - force
All Boolean - node
Role String - result
Output StringFile
- id string
- instance
Id string - instance
Nodes GetLists Clickhouse Instance Nodes Instance Nodes List[] - Total number of instance nodes.
- display
Policy string - force
All boolean - node
Role string - result
Output stringFile
- id str
- instance_
id str - instance_
nodes_ Sequence[Getlists Clickhouse Instance Nodes Instance Nodes List] - Total number of instance nodes.
- display_
policy str - force_
all bool - node_
role str - result_
output_ strfile
- id String
- instance
Id String - instance
Nodes List<Property Map>Lists - Total number of instance nodes.
- display
Policy String - force
All Boolean - node
Role String - result
Output StringFile
Supporting Types
GetClickhouseInstanceNodesInstanceNodesList
- Cluster string
- Name of the clickhouse cluster to which it belongs.
- Core double
- CPU cores.
- Disk
Size double - Disk size.
- Disk
Type string - Disk type.
- Ip string
- IP Address.
- Is
Ch boolProxy - When true, it indicates that the chproxy process has been deployed on the node.
- Memory double
- Memory size.
- Node
Groups List<GetClickhouse Instance Nodes Instance Nodes List Node Group> - Group information to which the node belongs.
- Rip string
- VPC IP.
- Spec string
- Model, such as S1.
- Cluster string
- Name of the clickhouse cluster to which it belongs.
- Core float64
- CPU cores.
- Disk
Size float64 - Disk size.
- Disk
Type string - Disk type.
- Ip string
- IP Address.
- Is
Ch boolProxy - When true, it indicates that the chproxy process has been deployed on the node.
- Memory float64
- Memory size.
- Node
Groups []GetClickhouse Instance Nodes Instance Nodes List Node Group - Group information to which the node belongs.
- Rip string
- VPC IP.
- Spec string
- Model, such as S1.
- cluster String
- Name of the clickhouse cluster to which it belongs.
- core Double
- CPU cores.
- disk
Size Double - Disk size.
- disk
Type String - Disk type.
- ip String
- IP Address.
- is
Ch BooleanProxy - When true, it indicates that the chproxy process has been deployed on the node.
- memory Double
- Memory size.
- node
Groups List<GetClickhouse Instance Nodes Instance Nodes List Node Group> - Group information to which the node belongs.
- rip String
- VPC IP.
- spec String
- Model, such as S1.
- cluster string
- Name of the clickhouse cluster to which it belongs.
- core number
- CPU cores.
- disk
Size number - Disk size.
- disk
Type string - Disk type.
- ip string
- IP Address.
- is
Ch booleanProxy - When true, it indicates that the chproxy process has been deployed on the node.
- memory number
- Memory size.
- node
Groups GetClickhouse Instance Nodes Instance Nodes List Node Group[] - Group information to which the node belongs.
- rip string
- VPC IP.
- spec string
- Model, such as S1.
- cluster str
- Name of the clickhouse cluster to which it belongs.
- core float
- CPU cores.
- disk_
size float - Disk size.
- disk_
type str - Disk type.
- ip str
- IP Address.
- is_
ch_ boolproxy - When true, it indicates that the chproxy process has been deployed on the node.
- memory float
- Memory size.
- node_
groups Sequence[GetClickhouse Instance Nodes Instance Nodes List Node Group] - Group information to which the node belongs.
- rip str
- VPC IP.
- spec str
- Model, such as S1.
- cluster String
- Name of the clickhouse cluster to which it belongs.
- core Number
- CPU cores.
- disk
Size Number - Disk size.
- disk
Type String - Disk type.
- ip String
- IP Address.
- is
Ch BooleanProxy - When true, it indicates that the chproxy process has been deployed on the node.
- memory Number
- Memory size.
- node
Groups List<Property Map> - Group information to which the node belongs.
- rip String
- VPC IP.
- spec String
- Model, such as S1.
GetClickhouseInstanceNodesInstanceNodesListNodeGroup
- Group
Name string - Group Name.
- Replica
Name string - Copy variable name.
- string
- Fragmented variable name.
- Group
Name string - Group Name.
- Replica
Name string - Copy variable name.
- string
- Fragmented variable name.
- group
Name String - Group Name.
- replica
Name String - Copy variable name.
- String
- Fragmented variable name.
- group
Name string - Group Name.
- replica
Name string - Copy variable name.
- string
- Fragmented variable name.
- group_
name str - Group Name.
- replica_
name str - Copy variable name.
- str
- Fragmented variable name.
- group
Name String - Group Name.
- replica
Name String - Copy variable name.
- String
- Fragmented variable name.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
