Viewing docs for tencentcloud 1.83.23
published on Friday, Aug 14, 2026 by tencentcloudstack
published on Friday, Aug 14, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.23
published on Friday, Aug 14, 2026 by tencentcloudstack
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 dictionarydata "tencentcloud_get_dbdc_db_custom_cluster_resources" "name" {
# arguments
}The following arguments are supported:
- Cluster
Id string - Cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- Cluster
Id string - Cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- cluster_
id string - Cluster ID.
- id string
- result_
output_ stringfile - Used to save results.
- cluster
Id String - Cluster ID.
- id String
- result
Output StringFile - Used to save results.
- cluster
Id string - Cluster ID.
- id string
- result
Output stringFile - Used to save results.
- cluster_
id str - Cluster ID.
- id str
- result_
output_ strfile - Used to save results.
- cluster
Id String - Cluster ID.
- id String
- result
Output StringFile - Used to save results.
getDbdcDbCustomClusterResources Result
The following output properties are available:
- Allocatables
List<Get
Dbdc Db Custom Cluster Resources Allocatable> - The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
- Availables
List<Get
Dbdc Db Custom Cluster Resources Available> - Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
- Capacities
List<Get
Dbdc Db Custom Cluster Resources Capacity> - The sum of the physical total resource capacity of all nodes in the cluster.
- Cluster
Id string - Id string
- Limits
List<Get
Dbdc Db Custom Cluster Resources Limit> - 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 double - Total number of worker nodes participating in the aggregation (excluding control plane nodes).
- Requests
List<Get
Dbdc Db Custom Cluster Resources Request> - The sum of the requests of all non-terminal pods in the cluster (including system pods).
- Result
Output stringFile
- Allocatables
[]Get
Dbdc Db Custom Cluster Resources Allocatable - The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
- Availables
[]Get
Dbdc Db Custom Cluster Resources Available - Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
- Capacities
[]Get
Dbdc Db Custom Cluster Resources Capacity - The sum of the physical total resource capacity of all nodes in the cluster.
- Cluster
Id string - Id string
- Limits
[]Get
Dbdc Db Custom Cluster Resources Limit - 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 float64 - Total number of worker nodes participating in the aggregation (excluding control plane nodes).
- Requests
[]Get
Dbdc Db Custom Cluster Resources Request - The sum of the requests of all non-terminal pods in the cluster (including system pods).
- Result
Output stringFile
- 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_ stringfile
- allocatables
List<Get
Dbdc Db Custom Cluster Resources Allocatable> - The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
- availables
List<Get
Dbdc Db Custom Cluster Resources Available> - Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
- capacities
List<Get
Dbdc Db Custom Cluster Resources Capacity> - The sum of the physical total resource capacity of all nodes in the cluster.
- cluster
Id String - id String
- limits
List<Get
Dbdc Db Custom Cluster Resources Limit> - 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 Double - Total number of worker nodes participating in the aggregation (excluding control plane nodes).
- requests
List<Get
Dbdc Db Custom Cluster Resources Request> - The sum of the requests of all non-terminal pods in the cluster (including system pods).
- result
Output StringFile
- allocatables
Get
Dbdc Db Custom Cluster Resources Allocatable[] - The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
- availables
Get
Dbdc Db Custom Cluster Resources Available[] - Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
- capacities
Get
Dbdc Db Custom Cluster Resources Capacity[] - The sum of the physical total resource capacity of all nodes in the cluster.
- cluster
Id string - id string
- limits
Get
Dbdc Db Custom Cluster Resources Limit[] - 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
Get
Dbdc Db Custom Cluster Resources Request[] - The sum of the requests of all non-terminal pods in the cluster (including system pods).
- result
Output stringFile
- allocatables
Sequence[Get
Dbdc Db Custom Cluster Resources Allocatable] - The sum of the allocatable capacity of all nodes in the cluster (= Capacity - system reservation).
- availables
Sequence[Get
Dbdc Db Custom Cluster Resources Available] - Cluster schedulable remaining capacity (the sum of max(0, Allocatable - Requests) for all nodes).
- capacities
Sequence[Get
Dbdc Db Custom Cluster Resources Capacity] - The sum of the physical total resource capacity of all nodes in the cluster.
- cluster_
id str - id str
- limits
Sequence[Get
Dbdc Db Custom Cluster Resources Limit] - 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[Get
Dbdc Db Custom Cluster Resources Request] - The sum of the requests of all non-terminal pods in the cluster (including system pods).
- result_
output_ strfile
- 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.
- cluster
Id 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).
- node
Count 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).
- result
Output StringFile
Supporting Types
GetDbdcDbCustomClusterResourcesAllocatable
GetDbdcDbCustomClusterResourcesAvailable
GetDbdcDbCustomClusterResourcesCapacity
GetDbdcDbCustomClusterResourcesLimit
GetDbdcDbCustomClusterResourcesRequest
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.83.23
published on Friday, Aug 14, 2026 by tencentcloudstack
published on Friday, Aug 14, 2026 by tencentcloudstack