1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. getDbdcDbCustomClusterResources
Viewing docs for tencentcloud 1.83.23
published on Friday, Aug 14, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.23
published on Friday, Aug 14, 2026 by tencentcloudstack

    Use this data source to query DB Custom cluster resource summary info from TencentCloud DBDC product.

    Example Usage

    Query dbdc db custom cluster resources by cluster_id

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getDbdcDbCustomClusterResources({
        clusterId: "dbcc-b2arjlee",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_dbdc_db_custom_cluster_resources(cluster_id="dbcc-b2arjlee")
    
    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.GetDbdcDbCustomClusterResources(ctx, &tencentcloud.GetDbdcDbCustomClusterResourcesArgs{
    			ClusterId: "dbcc-b2arjlee",
    		}, 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 example = Tencentcloud.GetDbdcDbCustomClusterResources.Invoke(new()
        {
            ClusterId = "dbcc-b2arjlee",
        });
    
    });
    
    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.GetDbdcDbCustomClusterResourcesArgs;
    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 example = TencentcloudFunctions.getDbdcDbCustomClusterResources(GetDbdcDbCustomClusterResourcesArgs.builder()
                .clusterId("dbcc-b2arjlee")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getDbdcDbCustomClusterResources
          arguments:
            clusterId: dbcc-b2arjlee
    
    Example coming soon!
    

    Using getDbdcDbCustomClusterResources

    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 getDbdcDbCustomClusterResources(args: GetDbdcDbCustomClusterResourcesArgs, opts?: InvokeOptions): Promise<GetDbdcDbCustomClusterResourcesResult>
    function getDbdcDbCustomClusterResourcesOutput(args: GetDbdcDbCustomClusterResourcesOutputArgs, opts?: InvokeOptions): Output<GetDbdcDbCustomClusterResourcesResult>
    def get_dbdc_db_custom_cluster_resources(cluster_id: Optional[str] = None,
                                             id: Optional[str] = None,
                                             result_output_file: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetDbdcDbCustomClusterResourcesResult
    def get_dbdc_db_custom_cluster_resources_output(cluster_id: pulumi.Input[Optional[str]] = None,
                                             id: pulumi.Input[Optional[str]] = None,
                                             result_output_file: pulumi.Input[Optional[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetDbdcDbCustomClusterResourcesResult]
    func GetDbdcDbCustomClusterResources(ctx *Context, args *GetDbdcDbCustomClusterResourcesArgs, opts ...InvokeOption) (*GetDbdcDbCustomClusterResourcesResult, error)
    func GetDbdcDbCustomClusterResourcesOutput(ctx *Context, args *GetDbdcDbCustomClusterResourcesOutputArgs, opts ...InvokeOption) GetDbdcDbCustomClusterResourcesResultOutput

    > Note: This function is named GetDbdcDbCustomClusterResources in the Go SDK.

    public static class GetDbdcDbCustomClusterResources 
    {
        public static Task<GetDbdcDbCustomClusterResourcesResult> InvokeAsync(GetDbdcDbCustomClusterResourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetDbdcDbCustomClusterResourcesResult> Invoke(GetDbdcDbCustomClusterResourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDbdcDbCustomClusterResourcesResult> getDbdcDbCustomClusterResources(GetDbdcDbCustomClusterResourcesArgs args, InvokeOptions options)
    public static Output<GetDbdcDbCustomClusterResourcesResult> getDbdcDbCustomClusterResources(GetDbdcDbCustomClusterResourcesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDbdcDbCustomClusterResources:getDbdcDbCustomClusterResources
      arguments:
        # arguments dictionary
    data "tencentcloud_get_dbdc_db_custom_cluster_resources" "name" {
        # arguments
    }

    The following arguments are supported:

    ClusterId string
    Cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    ClusterId string
    Cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    cluster_id string
    Cluster ID.
    id string
    result_output_file string
    Used to save results.
    clusterId String
    Cluster ID.
    id String
    resultOutputFile String
    Used to save results.
    clusterId string
    Cluster ID.
    id string
    resultOutputFile string
    Used to save results.
    cluster_id str
    Cluster ID.
    id str
    result_output_file str
    Used to save results.
    clusterId String
    Cluster ID.
    id String
    resultOutputFile String
    Used to save results.

    getDbdcDbCustomClusterResources Result

    The following output properties are available:

    Allocatables List<GetDbdcDbCustomClusterResourcesAllocatable>
    The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
    Availables List<GetDbdcDbCustomClusterResourcesAvailable>
    Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
    Capacities List<GetDbdcDbCustomClusterResourcesCapacity>
    The sum of the physical total resource capacity of all nodes in the cluster.
    ClusterId string
    Id string
    Limits List<GetDbdcDbCustomClusterResourcesLimit>
    The sum of the limits of all non-terminal pods in the cluster (including system pods, the Pods field has no semantics and is fixed to 0).
    NodeCount double
    Total number of worker nodes participating in the aggregation (excluding control plane nodes).
    Requests List<GetDbdcDbCustomClusterResourcesRequest>
    The sum of the requests of all non-terminal pods in the cluster (including system pods).
    ResultOutputFile string
    Allocatables []GetDbdcDbCustomClusterResourcesAllocatable
    The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
    Availables []GetDbdcDbCustomClusterResourcesAvailable
    Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
    Capacities []GetDbdcDbCustomClusterResourcesCapacity
    The sum of the physical total resource capacity of all nodes in the cluster.
    ClusterId string
    Id string
    Limits []GetDbdcDbCustomClusterResourcesLimit
    The sum of the limits of all non-terminal pods in the cluster (including system pods, the Pods field has no semantics and is fixed to 0).
    NodeCount float64
    Total number of worker nodes participating in the aggregation (excluding control plane nodes).
    Requests []GetDbdcDbCustomClusterResourcesRequest
    The sum of the requests of all non-terminal pods in the cluster (including system pods).
    ResultOutputFile string
    allocatables list(object)
    The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
    availables list(object)
    Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
    capacities list(object)
    The sum of the physical total resource capacity of all nodes in the cluster.
    cluster_id string
    id string
    limits list(object)
    The sum of the limits of all non-terminal pods in the cluster (including system pods, the Pods field has no semantics and is fixed to 0).
    node_count number
    Total number of worker nodes participating in the aggregation (excluding control plane nodes).
    requests list(object)
    The sum of the requests of all non-terminal pods in the cluster (including system pods).
    result_output_file string
    allocatables List<GetDbdcDbCustomClusterResourcesAllocatable>
    The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
    availables List<GetDbdcDbCustomClusterResourcesAvailable>
    Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
    capacities List<GetDbdcDbCustomClusterResourcesCapacity>
    The sum of the physical total resource capacity of all nodes in the cluster.
    clusterId String
    id String
    limits List<GetDbdcDbCustomClusterResourcesLimit>
    The sum of the limits of all non-terminal pods in the cluster (including system pods, the Pods field has no semantics and is fixed to 0).
    nodeCount Double
    Total number of worker nodes participating in the aggregation (excluding control plane nodes).
    requests List<GetDbdcDbCustomClusterResourcesRequest>
    The sum of the requests of all non-terminal pods in the cluster (including system pods).
    resultOutputFile String
    allocatables GetDbdcDbCustomClusterResourcesAllocatable[]
    The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
    availables GetDbdcDbCustomClusterResourcesAvailable[]
    Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
    capacities GetDbdcDbCustomClusterResourcesCapacity[]
    The sum of the physical total resource capacity of all nodes in the cluster.
    clusterId string
    id string
    limits GetDbdcDbCustomClusterResourcesLimit[]
    The sum of the limits of all non-terminal pods in the cluster (including system pods, the Pods field has no semantics and is fixed to 0).
    nodeCount number
    Total number of worker nodes participating in the aggregation (excluding control plane nodes).
    requests GetDbdcDbCustomClusterResourcesRequest[]
    The sum of the requests of all non-terminal pods in the cluster (including system pods).
    resultOutputFile string
    allocatables Sequence[GetDbdcDbCustomClusterResourcesAllocatable]
    The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
    availables Sequence[GetDbdcDbCustomClusterResourcesAvailable]
    Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
    capacities Sequence[GetDbdcDbCustomClusterResourcesCapacity]
    The sum of the physical total resource capacity of all nodes in the cluster.
    cluster_id str
    id str
    limits Sequence[GetDbdcDbCustomClusterResourcesLimit]
    The sum of the limits of all non-terminal pods in the cluster (including system pods, the Pods field has no semantics and is fixed to 0).
    node_count float
    Total number of worker nodes participating in the aggregation (excluding control plane nodes).
    requests Sequence[GetDbdcDbCustomClusterResourcesRequest]
    The sum of the requests of all non-terminal pods in the cluster (including system pods).
    result_output_file str
    allocatables List<Property Map>
    The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
    availables List<Property Map>
    Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
    capacities List<Property Map>
    The sum of the physical total resource capacity of all nodes in the cluster.
    clusterId String
    id String
    limits List<Property Map>
    The sum of the limits of all non-terminal pods in the cluster (including system pods, the Pods field has no semantics and is fixed to 0).
    nodeCount Number
    Total number of worker nodes participating in the aggregation (excluding control plane nodes).
    requests List<Property Map>
    The sum of the requests of all non-terminal pods in the cluster (including system pods).
    resultOutputFile String

    Supporting Types

    GetDbdcDbCustomClusterResourcesAllocatable

    Cpu double
    Number of CPU cores.
    Memory double
    Memory size in GiB.
    Pods double
    Number of pods.
    Cpu float64
    Number of CPU cores.
    Memory float64
    Memory size in GiB.
    Pods float64
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu Double
    Number of CPU cores.
    memory Double
    Memory size in GiB.
    pods Double
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu float
    Number of CPU cores.
    memory float
    Memory size in GiB.
    pods float
    Number of pods.
    cpu Number
    Number of CPU cores.
    memory Number
    Memory size in GiB.
    pods Number
    Number of pods.

    GetDbdcDbCustomClusterResourcesAvailable

    Cpu double
    Number of CPU cores.
    Memory double
    Memory size in GiB.
    Pods double
    Number of pods.
    Cpu float64
    Number of CPU cores.
    Memory float64
    Memory size in GiB.
    Pods float64
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu Double
    Number of CPU cores.
    memory Double
    Memory size in GiB.
    pods Double
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu float
    Number of CPU cores.
    memory float
    Memory size in GiB.
    pods float
    Number of pods.
    cpu Number
    Number of CPU cores.
    memory Number
    Memory size in GiB.
    pods Number
    Number of pods.

    GetDbdcDbCustomClusterResourcesCapacity

    Cpu double
    Number of CPU cores.
    Memory double
    Memory size in GiB.
    Pods double
    Number of pods.
    Cpu float64
    Number of CPU cores.
    Memory float64
    Memory size in GiB.
    Pods float64
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu Double
    Number of CPU cores.
    memory Double
    Memory size in GiB.
    pods Double
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu float
    Number of CPU cores.
    memory float
    Memory size in GiB.
    pods float
    Number of pods.
    cpu Number
    Number of CPU cores.
    memory Number
    Memory size in GiB.
    pods Number
    Number of pods.

    GetDbdcDbCustomClusterResourcesLimit

    Cpu double
    Number of CPU cores.
    Memory double
    Memory size in GiB.
    Pods double
    Number of pods.
    Cpu float64
    Number of CPU cores.
    Memory float64
    Memory size in GiB.
    Pods float64
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu Double
    Number of CPU cores.
    memory Double
    Memory size in GiB.
    pods Double
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu float
    Number of CPU cores.
    memory float
    Memory size in GiB.
    pods float
    Number of pods.
    cpu Number
    Number of CPU cores.
    memory Number
    Memory size in GiB.
    pods Number
    Number of pods.

    GetDbdcDbCustomClusterResourcesRequest

    Cpu double
    Number of CPU cores.
    Memory double
    Memory size in GiB.
    Pods double
    Number of pods.
    Cpu float64
    Number of CPU cores.
    Memory float64
    Memory size in GiB.
    Pods float64
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu Double
    Number of CPU cores.
    memory Double
    Memory size in GiB.
    pods Double
    Number of pods.
    cpu number
    Number of CPU cores.
    memory number
    Memory size in GiB.
    pods number
    Number of pods.
    cpu float
    Number of CPU cores.
    memory float
    Memory size in GiB.
    pods float
    Number of pods.
    cpu Number
    Number of CPU cores.
    memory Number
    Memory size in GiB.
    pods Number
    Number of pods.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.23
    published on Friday, Aug 14, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial