tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getCdcDedicatedClusterHosts
Start a Neo task
Explain and create a tencentcloud.getCdcDedicatedClusterHosts resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of CDC dedicated cluster hosts
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const hosts = tencentcloud.getCdcDedicatedClusterHosts({
dedicatedClusterId: "cluster-262n63e8",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
hosts = tencentcloud.get_cdc_dedicated_cluster_hosts(dedicated_cluster_id="cluster-262n63e8")
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.GetCdcDedicatedClusterHosts(ctx, &tencentcloud.GetCdcDedicatedClusterHostsArgs{
DedicatedClusterId: "cluster-262n63e8",
}, 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 hosts = Tencentcloud.GetCdcDedicatedClusterHosts.Invoke(new()
{
DedicatedClusterId = "cluster-262n63e8",
});
});
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.GetCdcDedicatedClusterHostsArgs;
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 hosts = TencentcloudFunctions.getCdcDedicatedClusterHosts(GetCdcDedicatedClusterHostsArgs.builder()
.dedicatedClusterId("cluster-262n63e8")
.build());
}
}
variables:
hosts:
fn::invoke:
function: tencentcloud:getCdcDedicatedClusterHosts
arguments:
dedicatedClusterId: cluster-262n63e8
Using getCdcDedicatedClusterHosts
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 getCdcDedicatedClusterHosts(args: GetCdcDedicatedClusterHostsArgs, opts?: InvokeOptions): Promise<GetCdcDedicatedClusterHostsResult>
function getCdcDedicatedClusterHostsOutput(args: GetCdcDedicatedClusterHostsOutputArgs, opts?: InvokeOptions): Output<GetCdcDedicatedClusterHostsResult>def get_cdc_dedicated_cluster_hosts(dedicated_cluster_id: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCdcDedicatedClusterHostsResult
def get_cdc_dedicated_cluster_hosts_output(dedicated_cluster_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdcDedicatedClusterHostsResult]func GetCdcDedicatedClusterHosts(ctx *Context, args *GetCdcDedicatedClusterHostsArgs, opts ...InvokeOption) (*GetCdcDedicatedClusterHostsResult, error)
func GetCdcDedicatedClusterHostsOutput(ctx *Context, args *GetCdcDedicatedClusterHostsOutputArgs, opts ...InvokeOption) GetCdcDedicatedClusterHostsResultOutput> Note: This function is named GetCdcDedicatedClusterHosts in the Go SDK.
public static class GetCdcDedicatedClusterHosts
{
public static Task<GetCdcDedicatedClusterHostsResult> InvokeAsync(GetCdcDedicatedClusterHostsArgs args, InvokeOptions? opts = null)
public static Output<GetCdcDedicatedClusterHostsResult> Invoke(GetCdcDedicatedClusterHostsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCdcDedicatedClusterHostsResult> getCdcDedicatedClusterHosts(GetCdcDedicatedClusterHostsArgs args, InvokeOptions options)
public static Output<GetCdcDedicatedClusterHostsResult> getCdcDedicatedClusterHosts(GetCdcDedicatedClusterHostsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCdcDedicatedClusterHosts:getCdcDedicatedClusterHosts
arguments:
# arguments dictionaryThe following arguments are supported:
- Dedicated
Cluster stringId - Dedicated Cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- Dedicated
Cluster stringId - Dedicated Cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- dedicated
Cluster StringId - Dedicated Cluster ID.
- id String
- result
Output StringFile - Used to save results.
- dedicated
Cluster stringId - Dedicated Cluster ID.
- id string
- result
Output stringFile - Used to save results.
- dedicated_
cluster_ strid - Dedicated Cluster ID.
- id str
- result_
output_ strfile - Used to save results.
- dedicated
Cluster StringId - Dedicated Cluster ID.
- id String
- result
Output StringFile - Used to save results.
getCdcDedicatedClusterHosts Result
The following output properties are available:
- Dedicated
Cluster stringId - Host
Info List<GetSets Cdc Dedicated Cluster Hosts Host Info Set> - Dedicated Cluster Host Info.
- Id string
- Result
Output stringFile
- Dedicated
Cluster stringId - Host
Info []GetSets Cdc Dedicated Cluster Hosts Host Info Set - Dedicated Cluster Host Info.
- Id string
- Result
Output stringFile
- dedicated
Cluster StringId - host
Info List<GetSets Cdc Dedicated Cluster Hosts Host Info Set> - Dedicated Cluster Host Info.
- id String
- result
Output StringFile
- dedicated
Cluster stringId - host
Info GetSets Cdc Dedicated Cluster Hosts Host Info Set[] - Dedicated Cluster Host Info.
- id string
- result
Output stringFile
- dedicated_
cluster_ strid - host_
info_ Sequence[Getsets Cdc Dedicated Cluster Hosts Host Info Set] - Dedicated Cluster Host Info.
- id str
- result_
output_ strfile
- dedicated
Cluster StringId - host
Info List<Property Map>Sets - Dedicated Cluster Host Info.
- id String
- result
Output StringFile
Supporting Types
GetCdcDedicatedClusterHostsHostInfoSet
- Cpu
Available double - Dedicated Cluster Host CPU Available Count.
- Cpu
Total double - Dedicated Cluster Host CPU Total Count.
- Expire
Time string - Dedicated Cluster Host Expire Time.
- Host
Id string - Dedicated Cluster Host ID.
- Host
Ip string - Dedicated Cluster Host Ip (Deprecated).
- Host
Status string - Dedicated Cluster Host Status.
- Host
Type string - Dedicated Cluster Host Type.
- Mem
Available double - Dedicated Cluster Host Memory Available Count (GB).
- Mem
Total double - Dedicated Cluster Host Memory Total Count (GB).
- Run
Time string - Dedicated Cluster Host Run Time.
- Service
Type string - Dedicated Cluster Service Type.
- Cpu
Available float64 - Dedicated Cluster Host CPU Available Count.
- Cpu
Total float64 - Dedicated Cluster Host CPU Total Count.
- Expire
Time string - Dedicated Cluster Host Expire Time.
- Host
Id string - Dedicated Cluster Host ID.
- Host
Ip string - Dedicated Cluster Host Ip (Deprecated).
- Host
Status string - Dedicated Cluster Host Status.
- Host
Type string - Dedicated Cluster Host Type.
- Mem
Available float64 - Dedicated Cluster Host Memory Available Count (GB).
- Mem
Total float64 - Dedicated Cluster Host Memory Total Count (GB).
- Run
Time string - Dedicated Cluster Host Run Time.
- Service
Type string - Dedicated Cluster Service Type.
- cpu
Available Double - Dedicated Cluster Host CPU Available Count.
- cpu
Total Double - Dedicated Cluster Host CPU Total Count.
- expire
Time String - Dedicated Cluster Host Expire Time.
- host
Id String - Dedicated Cluster Host ID.
- host
Ip String - Dedicated Cluster Host Ip (Deprecated).
- host
Status String - Dedicated Cluster Host Status.
- host
Type String - Dedicated Cluster Host Type.
- mem
Available Double - Dedicated Cluster Host Memory Available Count (GB).
- mem
Total Double - Dedicated Cluster Host Memory Total Count (GB).
- run
Time String - Dedicated Cluster Host Run Time.
- service
Type String - Dedicated Cluster Service Type.
- cpu
Available number - Dedicated Cluster Host CPU Available Count.
- cpu
Total number - Dedicated Cluster Host CPU Total Count.
- expire
Time string - Dedicated Cluster Host Expire Time.
- host
Id string - Dedicated Cluster Host ID.
- host
Ip string - Dedicated Cluster Host Ip (Deprecated).
- host
Status string - Dedicated Cluster Host Status.
- host
Type string - Dedicated Cluster Host Type.
- mem
Available number - Dedicated Cluster Host Memory Available Count (GB).
- mem
Total number - Dedicated Cluster Host Memory Total Count (GB).
- run
Time string - Dedicated Cluster Host Run Time.
- service
Type string - Dedicated Cluster Service Type.
- cpu_
available float - Dedicated Cluster Host CPU Available Count.
- cpu_
total float - Dedicated Cluster Host CPU Total Count.
- expire_
time str - Dedicated Cluster Host Expire Time.
- host_
id str - Dedicated Cluster Host ID.
- host_
ip str - Dedicated Cluster Host Ip (Deprecated).
- host_
status str - Dedicated Cluster Host Status.
- host_
type str - Dedicated Cluster Host Type.
- mem_
available float - Dedicated Cluster Host Memory Available Count (GB).
- mem_
total float - Dedicated Cluster Host Memory Total Count (GB).
- run_
time str - Dedicated Cluster Host Run Time.
- service_
type str - Dedicated Cluster Service Type.
- cpu
Available Number - Dedicated Cluster Host CPU Available Count.
- cpu
Total Number - Dedicated Cluster Host CPU Total Count.
- expire
Time String - Dedicated Cluster Host Expire Time.
- host
Id String - Dedicated Cluster Host ID.
- host
Ip String - Dedicated Cluster Host Ip (Deprecated).
- host
Status String - Dedicated Cluster Host Status.
- host
Type String - Dedicated Cluster Host Type.
- mem
Available Number - Dedicated Cluster Host Memory Available Count (GB).
- mem
Total Number - Dedicated Cluster Host Memory Total Count (GB).
- run
Time String - Dedicated Cluster Host Run Time.
- service
Type String - Dedicated Cluster Service Type.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
