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

tencentcloud.getCynosdbClusterParams

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 cynosdb cluster_params

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const clusterParams = tencentcloud.getCynosdbClusterParams({
        clusterId: "cynosdbmysql-bws8h88b",
        paramName: "innodb_checksum_algorithm",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    cluster_params = tencentcloud.get_cynosdb_cluster_params(cluster_id="cynosdbmysql-bws8h88b",
        param_name="innodb_checksum_algorithm")
    
    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.GetCynosdbClusterParams(ctx, &tencentcloud.GetCynosdbClusterParamsArgs{
    			ClusterId: "cynosdbmysql-bws8h88b",
    			ParamName: pulumi.StringRef("innodb_checksum_algorithm"),
    		}, 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 clusterParams = Tencentcloud.GetCynosdbClusterParams.Invoke(new()
        {
            ClusterId = "cynosdbmysql-bws8h88b",
            ParamName = "innodb_checksum_algorithm",
        });
    
    });
    
    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.GetCynosdbClusterParamsArgs;
    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 clusterParams = TencentcloudFunctions.getCynosdbClusterParams(GetCynosdbClusterParamsArgs.builder()
                .clusterId("cynosdbmysql-bws8h88b")
                .paramName("innodb_checksum_algorithm")
                .build());
    
        }
    }
    
    variables:
      clusterParams:
        fn::invoke:
          function: tencentcloud:getCynosdbClusterParams
          arguments:
            clusterId: cynosdbmysql-bws8h88b
            paramName: innodb_checksum_algorithm
    

    Using getCynosdbClusterParams

    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 getCynosdbClusterParams(args: GetCynosdbClusterParamsArgs, opts?: InvokeOptions): Promise<GetCynosdbClusterParamsResult>
    function getCynosdbClusterParamsOutput(args: GetCynosdbClusterParamsOutputArgs, opts?: InvokeOptions): Output<GetCynosdbClusterParamsResult>
    def get_cynosdb_cluster_params(cluster_id: Optional[str] = None,
                                   id: Optional[str] = None,
                                   param_name: Optional[str] = None,
                                   result_output_file: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetCynosdbClusterParamsResult
    def get_cynosdb_cluster_params_output(cluster_id: Optional[pulumi.Input[str]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   param_name: Optional[pulumi.Input[str]] = None,
                                   result_output_file: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetCynosdbClusterParamsResult]
    func GetCynosdbClusterParams(ctx *Context, args *GetCynosdbClusterParamsArgs, opts ...InvokeOption) (*GetCynosdbClusterParamsResult, error)
    func GetCynosdbClusterParamsOutput(ctx *Context, args *GetCynosdbClusterParamsOutputArgs, opts ...InvokeOption) GetCynosdbClusterParamsResultOutput

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

    public static class GetCynosdbClusterParams 
    {
        public static Task<GetCynosdbClusterParamsResult> InvokeAsync(GetCynosdbClusterParamsArgs args, InvokeOptions? opts = null)
        public static Output<GetCynosdbClusterParamsResult> Invoke(GetCynosdbClusterParamsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCynosdbClusterParamsResult> getCynosdbClusterParams(GetCynosdbClusterParamsArgs args, InvokeOptions options)
    public static Output<GetCynosdbClusterParamsResult> getCynosdbClusterParams(GetCynosdbClusterParamsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCynosdbClusterParams:getCynosdbClusterParams
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterId string
    The ID of cluster.
    Id string
    ParamName string
    Parameter name.
    ResultOutputFile string
    Used to save results.
    ClusterId string
    The ID of cluster.
    Id string
    ParamName string
    Parameter name.
    ResultOutputFile string
    Used to save results.
    clusterId String
    The ID of cluster.
    id String
    paramName String
    Parameter name.
    resultOutputFile String
    Used to save results.
    clusterId string
    The ID of cluster.
    id string
    paramName string
    Parameter name.
    resultOutputFile string
    Used to save results.
    cluster_id str
    The ID of cluster.
    id str
    param_name str
    Parameter name.
    result_output_file str
    Used to save results.
    clusterId String
    The ID of cluster.
    id String
    paramName String
    Parameter name.
    resultOutputFile String
    Used to save results.

    getCynosdbClusterParams Result

    The following output properties are available:

    ClusterId string
    Id string
    Items List<GetCynosdbClusterParamsItem>
    Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
    ParamName string
    The name of parameter.
    ResultOutputFile string
    ClusterId string
    Id string
    Items []GetCynosdbClusterParamsItem
    Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
    ParamName string
    The name of parameter.
    ResultOutputFile string
    clusterId String
    id String
    items List<GetCynosdbClusterParamsItem>
    Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
    paramName String
    The name of parameter.
    resultOutputFile String
    clusterId string
    id string
    items GetCynosdbClusterParamsItem[]
    Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
    paramName string
    The name of parameter.
    resultOutputFile string
    cluster_id str
    id str
    items Sequence[GetCynosdbClusterParamsItem]
    Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
    param_name str
    The name of parameter.
    result_output_file str
    clusterId String
    id String
    items List<Property Map>
    Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
    paramName String
    The name of parameter.
    resultOutputFile String

    Supporting Types

    GetCynosdbClusterParamsItem

    CurrentValue string
    Current value.
    Default string
    Default value.
    Description string
    The description of parameter.
    EnumValues List<string>
    When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
    Func string
    Function.Note: This field may return null, indicating that no valid value can be obtained.
    IsFunc bool
    Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
    IsGlobal double
    Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
    MatchType string
    Matching type, multiVal, regex is used when the parameter type is string.
    MatchValue string
    Match the target value, when multiVal, each key is divided by ;.
    Max string
    The maximum value when the parameter type is float/integer.
    Min string
    The minimum value when the parameter type is float/integer.
    NeedReboot double
    Whether to reboot.
    ParamName string
    Parameter name.
    ParamType string
    Parameter type: integer/float/string/enum/bool.
    CurrentValue string
    Current value.
    Default string
    Default value.
    Description string
    The description of parameter.
    EnumValues []string
    When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
    Func string
    Function.Note: This field may return null, indicating that no valid value can be obtained.
    IsFunc bool
    Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
    IsGlobal float64
    Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
    MatchType string
    Matching type, multiVal, regex is used when the parameter type is string.
    MatchValue string
    Match the target value, when multiVal, each key is divided by ;.
    Max string
    The maximum value when the parameter type is float/integer.
    Min string
    The minimum value when the parameter type is float/integer.
    NeedReboot float64
    Whether to reboot.
    ParamName string
    Parameter name.
    ParamType string
    Parameter type: integer/float/string/enum/bool.
    currentValue String
    Current value.
    default_ String
    Default value.
    description String
    The description of parameter.
    enumValues List<String>
    When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
    func String
    Function.Note: This field may return null, indicating that no valid value can be obtained.
    isFunc Boolean
    Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
    isGlobal Double
    Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
    matchType String
    Matching type, multiVal, regex is used when the parameter type is string.
    matchValue String
    Match the target value, when multiVal, each key is divided by ;.
    max String
    The maximum value when the parameter type is float/integer.
    min String
    The minimum value when the parameter type is float/integer.
    needReboot Double
    Whether to reboot.
    paramName String
    Parameter name.
    paramType String
    Parameter type: integer/float/string/enum/bool.
    currentValue string
    Current value.
    default string
    Default value.
    description string
    The description of parameter.
    enumValues string[]
    When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
    func string
    Function.Note: This field may return null, indicating that no valid value can be obtained.
    isFunc boolean
    Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
    isGlobal number
    Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
    matchType string
    Matching type, multiVal, regex is used when the parameter type is string.
    matchValue string
    Match the target value, when multiVal, each key is divided by ;.
    max string
    The maximum value when the parameter type is float/integer.
    min string
    The minimum value when the parameter type is float/integer.
    needReboot number
    Whether to reboot.
    paramName string
    Parameter name.
    paramType string
    Parameter type: integer/float/string/enum/bool.
    current_value str
    Current value.
    default str
    Default value.
    description str
    The description of parameter.
    enum_values Sequence[str]
    When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
    func str
    Function.Note: This field may return null, indicating that no valid value can be obtained.
    is_func bool
    Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
    is_global float
    Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
    match_type str
    Matching type, multiVal, regex is used when the parameter type is string.
    match_value str
    Match the target value, when multiVal, each key is divided by ;.
    max str
    The maximum value when the parameter type is float/integer.
    min str
    The minimum value when the parameter type is float/integer.
    need_reboot float
    Whether to reboot.
    param_name str
    Parameter name.
    param_type str
    Parameter type: integer/float/string/enum/bool.
    currentValue String
    Current value.
    default String
    Default value.
    description String
    The description of parameter.
    enumValues List<String>
    When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
    func String
    Function.Note: This field may return null, indicating that no valid value can be obtained.
    isFunc Boolean
    Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
    isGlobal Number
    Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
    matchType String
    Matching type, multiVal, regex is used when the parameter type is string.
    matchValue String
    Match the target value, when multiVal, each key is divided by ;.
    max String
    The maximum value when the parameter type is float/integer.
    min String
    The minimum value when the parameter type is float/integer.
    needReboot Number
    Whether to reboot.
    paramName String
    Parameter name.
    paramType String
    Parameter type: integer/float/string/enum/bool.

    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