1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCdcDedicatedClusterInstanceTypes
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getCdcDedicatedClusterInstanceTypes

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of CDC dedicated cluster instance types

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const types = tencentcloud.getCdcDedicatedClusterInstanceTypes({
        dedicatedClusterId: "cluster-262n63e8",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    types = tencentcloud.get_cdc_dedicated_cluster_instance_types(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.GetCdcDedicatedClusterInstanceTypes(ctx, &tencentcloud.GetCdcDedicatedClusterInstanceTypesArgs{
    			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 types = Tencentcloud.GetCdcDedicatedClusterInstanceTypes.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.GetCdcDedicatedClusterInstanceTypesArgs;
    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 types = TencentcloudFunctions.getCdcDedicatedClusterInstanceTypes(GetCdcDedicatedClusterInstanceTypesArgs.builder()
                .dedicatedClusterId("cluster-262n63e8")
                .build());
    
        }
    }
    
    variables:
      types:
        fn::invoke:
          function: tencentcloud:getCdcDedicatedClusterInstanceTypes
          arguments:
            dedicatedClusterId: cluster-262n63e8
    

    Using getCdcDedicatedClusterInstanceTypes

    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 getCdcDedicatedClusterInstanceTypes(args: GetCdcDedicatedClusterInstanceTypesArgs, opts?: InvokeOptions): Promise<GetCdcDedicatedClusterInstanceTypesResult>
    function getCdcDedicatedClusterInstanceTypesOutput(args: GetCdcDedicatedClusterInstanceTypesOutputArgs, opts?: InvokeOptions): Output<GetCdcDedicatedClusterInstanceTypesResult>
    def get_cdc_dedicated_cluster_instance_types(dedicated_cluster_id: Optional[str] = None,
                                                 id: Optional[str] = None,
                                                 result_output_file: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetCdcDedicatedClusterInstanceTypesResult
    def get_cdc_dedicated_cluster_instance_types_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[GetCdcDedicatedClusterInstanceTypesResult]
    func GetCdcDedicatedClusterInstanceTypes(ctx *Context, args *GetCdcDedicatedClusterInstanceTypesArgs, opts ...InvokeOption) (*GetCdcDedicatedClusterInstanceTypesResult, error)
    func GetCdcDedicatedClusterInstanceTypesOutput(ctx *Context, args *GetCdcDedicatedClusterInstanceTypesOutputArgs, opts ...InvokeOption) GetCdcDedicatedClusterInstanceTypesResultOutput

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

    public static class GetCdcDedicatedClusterInstanceTypes 
    {
        public static Task<GetCdcDedicatedClusterInstanceTypesResult> InvokeAsync(GetCdcDedicatedClusterInstanceTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetCdcDedicatedClusterInstanceTypesResult> Invoke(GetCdcDedicatedClusterInstanceTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCdcDedicatedClusterInstanceTypesResult> getCdcDedicatedClusterInstanceTypes(GetCdcDedicatedClusterInstanceTypesArgs args, InvokeOptions options)
    public static Output<GetCdcDedicatedClusterInstanceTypesResult> getCdcDedicatedClusterInstanceTypes(GetCdcDedicatedClusterInstanceTypesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCdcDedicatedClusterInstanceTypes:getCdcDedicatedClusterInstanceTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DedicatedClusterId string
    Dedicated Cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    DedicatedClusterId string
    Dedicated Cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    dedicatedClusterId String
    Dedicated Cluster ID.
    id String
    resultOutputFile String
    Used to save results.
    dedicatedClusterId string
    Dedicated Cluster ID.
    id string
    resultOutputFile string
    Used to save results.
    dedicated_cluster_id str
    Dedicated Cluster ID.
    id str
    result_output_file str
    Used to save results.
    dedicatedClusterId String
    Dedicated Cluster ID.
    id String
    resultOutputFile String
    Used to save results.

    getCdcDedicatedClusterInstanceTypes Result

    The following output properties are available:

    dedicatedClusterId String
    dedicatedClusterInstanceTypeSets List<Property Map>
    Dedicated Cluster Supported InstanceType.
    id String
    resultOutputFile String

    Supporting Types

    GetCdcDedicatedClusterInstanceTypesDedicatedClusterInstanceTypeSet

    Cpu double
    Instance CPU.
    CpuType string
    Instance CPU Type.
    Fpga double
    Instance Fpga.
    Gpu double
    Instance GPU.
    InstanceBandwidth double
    Instance Bandwidth.
    InstanceFamily string
    Instance Family.
    InstancePps double
    Instance Pps.
    InstanceType string
    Instance Type.
    Memory double
    Instance Memory.
    NetworkCard double
    Instance Type.
    Remark string
    Instance Remark.
    Status string
    Instance Status.
    StorageBlockAmount double
    Instance Storage Block Amount.
    TypeName string
    Instance Type Name.
    Zone string
    Zone Name.
    Cpu float64
    Instance CPU.
    CpuType string
    Instance CPU Type.
    Fpga float64
    Instance Fpga.
    Gpu float64
    Instance GPU.
    InstanceBandwidth float64
    Instance Bandwidth.
    InstanceFamily string
    Instance Family.
    InstancePps float64
    Instance Pps.
    InstanceType string
    Instance Type.
    Memory float64
    Instance Memory.
    NetworkCard float64
    Instance Type.
    Remark string
    Instance Remark.
    Status string
    Instance Status.
    StorageBlockAmount float64
    Instance Storage Block Amount.
    TypeName string
    Instance Type Name.
    Zone string
    Zone Name.
    cpu Double
    Instance CPU.
    cpuType String
    Instance CPU Type.
    fpga Double
    Instance Fpga.
    gpu Double
    Instance GPU.
    instanceBandwidth Double
    Instance Bandwidth.
    instanceFamily String
    Instance Family.
    instancePps Double
    Instance Pps.
    instanceType String
    Instance Type.
    memory Double
    Instance Memory.
    networkCard Double
    Instance Type.
    remark String
    Instance Remark.
    status String
    Instance Status.
    storageBlockAmount Double
    Instance Storage Block Amount.
    typeName String
    Instance Type Name.
    zone String
    Zone Name.
    cpu number
    Instance CPU.
    cpuType string
    Instance CPU Type.
    fpga number
    Instance Fpga.
    gpu number
    Instance GPU.
    instanceBandwidth number
    Instance Bandwidth.
    instanceFamily string
    Instance Family.
    instancePps number
    Instance Pps.
    instanceType string
    Instance Type.
    memory number
    Instance Memory.
    networkCard number
    Instance Type.
    remark string
    Instance Remark.
    status string
    Instance Status.
    storageBlockAmount number
    Instance Storage Block Amount.
    typeName string
    Instance Type Name.
    zone string
    Zone Name.
    cpu float
    Instance CPU.
    cpu_type str
    Instance CPU Type.
    fpga float
    Instance Fpga.
    gpu float
    Instance GPU.
    instance_bandwidth float
    Instance Bandwidth.
    instance_family str
    Instance Family.
    instance_pps float
    Instance Pps.
    instance_type str
    Instance Type.
    memory float
    Instance Memory.
    network_card float
    Instance Type.
    remark str
    Instance Remark.
    status str
    Instance Status.
    storage_block_amount float
    Instance Storage Block Amount.
    type_name str
    Instance Type Name.
    zone str
    Zone Name.
    cpu Number
    Instance CPU.
    cpuType String
    Instance CPU Type.
    fpga Number
    Instance Fpga.
    gpu Number
    Instance GPU.
    instanceBandwidth Number
    Instance Bandwidth.
    instanceFamily String
    Instance Family.
    instancePps Number
    Instance Pps.
    instanceType String
    Instance Type.
    memory Number
    Instance Memory.
    networkCard Number
    Instance Type.
    remark String
    Instance Remark.
    status String
    Instance Status.
    storageBlockAmount Number
    Instance Storage Block Amount.
    typeName String
    Instance Type Name.
    zone String
    Zone Name.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack