tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getDcdbShardSpec
Start a Neo task
Explain and create a tencentcloud.getDcdbShardSpec resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of dcdb shard_spec
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const shardSpec = tencentcloud.getDcdbShardSpec({});
import pulumi
import pulumi_tencentcloud as tencentcloud
shard_spec = tencentcloud.get_dcdb_shard_spec()
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.GetDcdbShardSpec(ctx, &tencentcloud.GetDcdbShardSpecArgs{}, 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 shardSpec = Tencentcloud.GetDcdbShardSpec.Invoke();
});
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.GetDcdbShardSpecArgs;
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 shardSpec = TencentcloudFunctions.getDcdbShardSpec(GetDcdbShardSpecArgs.builder()
.build());
}
}
variables:
shardSpec:
fn::invoke:
function: tencentcloud:getDcdbShardSpec
arguments: {}
Using getDcdbShardSpec
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 getDcdbShardSpec(args: GetDcdbShardSpecArgs, opts?: InvokeOptions): Promise<GetDcdbShardSpecResult>
function getDcdbShardSpecOutput(args: GetDcdbShardSpecOutputArgs, opts?: InvokeOptions): Output<GetDcdbShardSpecResult>def get_dcdb_shard_spec(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDcdbShardSpecResult
def get_dcdb_shard_spec_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDcdbShardSpecResult]func GetDcdbShardSpec(ctx *Context, args *GetDcdbShardSpecArgs, opts ...InvokeOption) (*GetDcdbShardSpecResult, error)
func GetDcdbShardSpecOutput(ctx *Context, args *GetDcdbShardSpecOutputArgs, opts ...InvokeOption) GetDcdbShardSpecResultOutput> Note: This function is named GetDcdbShardSpec in the Go SDK.
public static class GetDcdbShardSpec
{
public static Task<GetDcdbShardSpecResult> InvokeAsync(GetDcdbShardSpecArgs args, InvokeOptions? opts = null)
public static Output<GetDcdbShardSpecResult> Invoke(GetDcdbShardSpecInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDcdbShardSpecResult> getDcdbShardSpec(GetDcdbShardSpecArgs args, InvokeOptions options)
public static Output<GetDcdbShardSpecResult> getDcdbShardSpec(GetDcdbShardSpecArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDcdbShardSpec:getDcdbShardSpec
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getDcdbShardSpec Result
The following output properties are available:
- Id string
- Spec
Configs List<GetDcdb Shard Spec Spec Config> - list of instance specifications.
- Result
Output stringFile
- Id string
- Spec
Configs []GetDcdb Shard Spec Spec Config - list of instance specifications.
- Result
Output stringFile
- id String
- spec
Configs List<GetDcdb Shard Spec Spec Config> - list of instance specifications.
- result
Output StringFile
- id string
- spec
Configs GetDcdb Shard Spec Spec Config[] - list of instance specifications.
- result
Output stringFile
- id str
- spec_
configs Sequence[GetDcdb Shard Spec Spec Config] - list of instance specifications.
- result_
output_ strfile
- id String
- spec
Configs List<Property Map> - list of instance specifications.
- result
Output StringFile
Supporting Types
GetDcdbShardSpecSpecConfig
- Machine string
- machine type.
- Spec
Config List<GetInfos Dcdb Shard Spec Spec Config Spec Config Info> - list of machine specifications.
- Machine string
- machine type.
- Spec
Config []GetInfos Dcdb Shard Spec Spec Config Spec Config Info - list of machine specifications.
- machine String
- machine type.
- spec
Config List<GetInfos Dcdb Shard Spec Spec Config Spec Config Info> - list of machine specifications.
- machine string
- machine type.
- spec
Config GetInfos Dcdb Shard Spec Spec Config Spec Config Info[] - list of machine specifications.
- machine str
- machine type.
- spec_
config_ Sequence[Getinfos Dcdb Shard Spec Spec Config Spec Config Info] - list of machine specifications.
- machine String
- machine type.
- spec
Config List<Property Map>Infos - list of machine specifications.
GetDcdbShardSpecSpecConfigSpecConfigInfo
- Cpu double
- CPU cores.
- Max
Storage double - maximum storage size, inGB.
- Memory double
- memory, in GB.
- Min
Storage double - minimum storage size, in GB.
- Node
Count double - node count.
- Pid double
- product price id.
- Qps double
- maximum QPS.
- Suit
Info string - recommended usage scenarios.
- Cpu float64
- CPU cores.
- Max
Storage float64 - maximum storage size, inGB.
- Memory float64
- memory, in GB.
- Min
Storage float64 - minimum storage size, in GB.
- Node
Count float64 - node count.
- Pid float64
- product price id.
- Qps float64
- maximum QPS.
- Suit
Info string - recommended usage scenarios.
- cpu Double
- CPU cores.
- max
Storage Double - maximum storage size, inGB.
- memory Double
- memory, in GB.
- min
Storage Double - minimum storage size, in GB.
- node
Count Double - node count.
- pid Double
- product price id.
- qps Double
- maximum QPS.
- suit
Info String - recommended usage scenarios.
- cpu number
- CPU cores.
- max
Storage number - maximum storage size, inGB.
- memory number
- memory, in GB.
- min
Storage number - minimum storage size, in GB.
- node
Count number - node count.
- pid number
- product price id.
- qps number
- maximum QPS.
- suit
Info string - recommended usage scenarios.
- cpu float
- CPU cores.
- max_
storage float - maximum storage size, inGB.
- memory float
- memory, in GB.
- min_
storage float - minimum storage size, in GB.
- node_
count float - node count.
- pid float
- product price id.
- qps float
- maximum QPS.
- suit_
info str - recommended usage scenarios.
- cpu Number
- CPU cores.
- max
Storage Number - maximum storage size, inGB.
- memory Number
- memory, in GB.
- min
Storage Number - minimum storage size, in GB.
- node
Count Number - node count.
- pid Number
- product price id.
- qps Number
- maximum QPS.
- suit
Info String - recommended usage scenarios.
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
