tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getContainerClusterInstances
Start a Neo task
Explain and create a tencentcloud.getContainerClusterInstances resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Get all instances of the specific cluster.
Use this data source to get all instances in a specific cluster.
NOTE: It has been deprecated and replaced by tencentcloud_kubernetes_clusters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const fooInstance = tencentcloud.getContainerClusterInstances({
clusterId: "cls-abcdefg",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo_instance = tencentcloud.get_container_cluster_instances(cluster_id="cls-abcdefg")
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.GetContainerClusterInstances(ctx, &tencentcloud.GetContainerClusterInstancesArgs{
ClusterId: "cls-abcdefg",
}, 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 fooInstance = Tencentcloud.GetContainerClusterInstances.Invoke(new()
{
ClusterId = "cls-abcdefg",
});
});
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.GetContainerClusterInstancesArgs;
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 fooInstance = TencentcloudFunctions.getContainerClusterInstances(GetContainerClusterInstancesArgs.builder()
.clusterId("cls-abcdefg")
.build());
}
}
variables:
fooInstance:
fn::invoke:
function: tencentcloud:getContainerClusterInstances
arguments:
clusterId: cls-abcdefg
Using getContainerClusterInstances
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 getContainerClusterInstances(args: GetContainerClusterInstancesArgs, opts?: InvokeOptions): Promise<GetContainerClusterInstancesResult>
function getContainerClusterInstancesOutput(args: GetContainerClusterInstancesOutputArgs, opts?: InvokeOptions): Output<GetContainerClusterInstancesResult>def get_container_cluster_instances(cluster_id: Optional[str] = None,
id: Optional[str] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetContainerClusterInstancesResult
def get_container_cluster_instances_output(cluster_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetContainerClusterInstancesResult]func GetContainerClusterInstances(ctx *Context, args *GetContainerClusterInstancesArgs, opts ...InvokeOption) (*GetContainerClusterInstancesResult, error)
func GetContainerClusterInstancesOutput(ctx *Context, args *GetContainerClusterInstancesOutputArgs, opts ...InvokeOption) GetContainerClusterInstancesResultOutput> Note: This function is named GetContainerClusterInstances in the Go SDK.
public static class GetContainerClusterInstances
{
public static Task<GetContainerClusterInstancesResult> InvokeAsync(GetContainerClusterInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetContainerClusterInstancesResult> Invoke(GetContainerClusterInstancesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetContainerClusterInstancesResult> getContainerClusterInstances(GetContainerClusterInstancesArgs args, InvokeOptions options)
public static Output<GetContainerClusterInstancesResult> getContainerClusterInstances(GetContainerClusterInstancesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getContainerClusterInstances:getContainerClusterInstances
arguments:
# arguments dictionaryThe following arguments are supported:
- cluster_
id str - An ID identify the cluster, like cls-xxxxxx.
- id str
- limit float
- An int variable describe how many instances in return at most.
getContainerClusterInstances Result
The following output properties are available:
- Cluster
Id string - Id string
- Nodes
List<Get
Container Cluster Instances Node> - An information list of kubernetes instances.
- Total
Count double - Number of instances.
- Limit double
- Cluster
Id string - Id string
- Nodes
[]Get
Container Cluster Instances Node - An information list of kubernetes instances.
- Total
Count float64 - Number of instances.
- Limit float64
- cluster
Id String - id String
- nodes
List<Get
Container Cluster Instances Node> - An information list of kubernetes instances.
- total
Count Double - Number of instances.
- limit Double
- cluster
Id string - id string
- nodes
Get
Container Cluster Instances Node[] - An information list of kubernetes instances.
- total
Count number - Number of instances.
- limit number
- cluster_
id str - id str
- nodes
Sequence[Get
Container Cluster Instances Node] - An information list of kubernetes instances.
- total_
count float - Number of instances.
- limit float
- cluster
Id String - id String
- nodes List<Property Map>
- An information list of kubernetes instances.
- total
Count Number - Number of instances.
- limit Number
Supporting Types
GetContainerClusterInstancesNode
- Abnormal
Reason string - Describe the reason when node is in abnormal state(if it was).
- Cpu double
- Describe the cpu of the node.
- Instance
Id string - An id identify the node, provided by cvm.
- Is
Normal double - Describe whether the node is normal.
- Lan
Ip string - Describe the LAN IP of the node.
- Mem double
- Describe the memory of the node.
- Wan
Ip string - Describe the WAN IP of the node.
- Abnormal
Reason string - Describe the reason when node is in abnormal state(if it was).
- Cpu float64
- Describe the cpu of the node.
- Instance
Id string - An id identify the node, provided by cvm.
- Is
Normal float64 - Describe whether the node is normal.
- Lan
Ip string - Describe the LAN IP of the node.
- Mem float64
- Describe the memory of the node.
- Wan
Ip string - Describe the WAN IP of the node.
- abnormal
Reason String - Describe the reason when node is in abnormal state(if it was).
- cpu Double
- Describe the cpu of the node.
- instance
Id String - An id identify the node, provided by cvm.
- is
Normal Double - Describe whether the node is normal.
- lan
Ip String - Describe the LAN IP of the node.
- mem Double
- Describe the memory of the node.
- wan
Ip String - Describe the WAN IP of the node.
- abnormal
Reason string - Describe the reason when node is in abnormal state(if it was).
- cpu number
- Describe the cpu of the node.
- instance
Id string - An id identify the node, provided by cvm.
- is
Normal number - Describe whether the node is normal.
- lan
Ip string - Describe the LAN IP of the node.
- mem number
- Describe the memory of the node.
- wan
Ip string - Describe the WAN IP of the node.
- abnormal_
reason str - Describe the reason when node is in abnormal state(if it was).
- cpu float
- Describe the cpu of the node.
- instance_
id str - An id identify the node, provided by cvm.
- is_
normal float - Describe whether the node is normal.
- lan_
ip str - Describe the LAN IP of the node.
- mem float
- Describe the memory of the node.
- wan_
ip str - Describe the WAN IP of the node.
- abnormal
Reason String - Describe the reason when node is in abnormal state(if it was).
- cpu Number
- Describe the cpu of the node.
- instance
Id String - An id identify the node, provided by cvm.
- is
Normal Number - Describe whether the node is normal.
- lan
Ip String - Describe the LAN IP of the node.
- mem Number
- Describe the memory of the node.
- wan
Ip String - Describe the WAN IP of the node.
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
