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

tencentcloud.getCynosdbParamTemplates

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 param_templates

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const paramTemplates = tencentcloud.getCynosdbParamTemplates({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    param_templates = tencentcloud.get_cynosdb_param_templates()
    
    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.GetCynosdbParamTemplates(ctx, &tencentcloud.GetCynosdbParamTemplatesArgs{}, 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 paramTemplates = Tencentcloud.GetCynosdbParamTemplates.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.GetCynosdbParamTemplatesArgs;
    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 paramTemplates = TencentcloudFunctions.getCynosdbParamTemplates();
    
        }
    }
    
    variables:
      paramTemplates:
        fn::invoke:
          function: tencentcloud:getCynosdbParamTemplates
          arguments: {}
    

    Using getCynosdbParamTemplates

    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 getCynosdbParamTemplates(args: GetCynosdbParamTemplatesArgs, opts?: InvokeOptions): Promise<GetCynosdbParamTemplatesResult>
    function getCynosdbParamTemplatesOutput(args: GetCynosdbParamTemplatesOutputArgs, opts?: InvokeOptions): Output<GetCynosdbParamTemplatesResult>
    def get_cynosdb_param_templates(db_modes: Optional[Sequence[str]] = None,
                                    engine_types: Optional[Sequence[str]] = None,
                                    engine_versions: Optional[Sequence[str]] = None,
                                    id: Optional[str] = None,
                                    limit: Optional[float] = None,
                                    offset: Optional[float] = None,
                                    order_by: Optional[str] = None,
                                    order_direction: Optional[str] = None,
                                    products: Optional[Sequence[str]] = None,
                                    result_output_file: Optional[str] = None,
                                    template_ids: Optional[Sequence[float]] = None,
                                    template_names: Optional[Sequence[str]] = None,
                                    template_types: Optional[Sequence[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetCynosdbParamTemplatesResult
    def get_cynosdb_param_templates_output(db_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    engine_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    engine_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    id: Optional[pulumi.Input[str]] = None,
                                    limit: Optional[pulumi.Input[float]] = None,
                                    offset: Optional[pulumi.Input[float]] = None,
                                    order_by: Optional[pulumi.Input[str]] = None,
                                    order_direction: Optional[pulumi.Input[str]] = None,
                                    products: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    result_output_file: Optional[pulumi.Input[str]] = None,
                                    template_ids: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
                                    template_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    template_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetCynosdbParamTemplatesResult]
    func GetCynosdbParamTemplates(ctx *Context, args *GetCynosdbParamTemplatesArgs, opts ...InvokeOption) (*GetCynosdbParamTemplatesResult, error)
    func GetCynosdbParamTemplatesOutput(ctx *Context, args *GetCynosdbParamTemplatesOutputArgs, opts ...InvokeOption) GetCynosdbParamTemplatesResultOutput

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

    public static class GetCynosdbParamTemplates 
    {
        public static Task<GetCynosdbParamTemplatesResult> InvokeAsync(GetCynosdbParamTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<GetCynosdbParamTemplatesResult> Invoke(GetCynosdbParamTemplatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCynosdbParamTemplatesResult> getCynosdbParamTemplates(GetCynosdbParamTemplatesArgs args, InvokeOptions options)
    public static Output<GetCynosdbParamTemplatesResult> getCynosdbParamTemplates(GetCynosdbParamTemplatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCynosdbParamTemplates:getCynosdbParamTemplates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DbModes List<string>
    Database mode, optional values: NORMAL, SERVERLESS.
    EngineTypes List<string>
    Engine types.
    EngineVersions List<string>
    Database engine version number.
    Id string
    The ID of template.
    Limit double
    Query limit.
    Offset double
    Page offset.
    OrderBy string
    The sort field for the returned results.
    OrderDirection string
    Sort by (asc, desc).
    Products List<string>
    The product type corresponding to the query template.
    ResultOutputFile string
    Used to save results.
    TemplateIds List<double>
    The id list of templates.
    TemplateNames List<string>
    The name list of templates.
    TemplateTypes List<string>
    Template types.
    DbModes []string
    Database mode, optional values: NORMAL, SERVERLESS.
    EngineTypes []string
    Engine types.
    EngineVersions []string
    Database engine version number.
    Id string
    The ID of template.
    Limit float64
    Query limit.
    Offset float64
    Page offset.
    OrderBy string
    The sort field for the returned results.
    OrderDirection string
    Sort by (asc, desc).
    Products []string
    The product type corresponding to the query template.
    ResultOutputFile string
    Used to save results.
    TemplateIds []float64
    The id list of templates.
    TemplateNames []string
    The name list of templates.
    TemplateTypes []string
    Template types.
    dbModes List<String>
    Database mode, optional values: NORMAL, SERVERLESS.
    engineTypes List<String>
    Engine types.
    engineVersions List<String>
    Database engine version number.
    id String
    The ID of template.
    limit Double
    Query limit.
    offset Double
    Page offset.
    orderBy String
    The sort field for the returned results.
    orderDirection String
    Sort by (asc, desc).
    products List<String>
    The product type corresponding to the query template.
    resultOutputFile String
    Used to save results.
    templateIds List<Double>
    The id list of templates.
    templateNames List<String>
    The name list of templates.
    templateTypes List<String>
    Template types.
    dbModes string[]
    Database mode, optional values: NORMAL, SERVERLESS.
    engineTypes string[]
    Engine types.
    engineVersions string[]
    Database engine version number.
    id string
    The ID of template.
    limit number
    Query limit.
    offset number
    Page offset.
    orderBy string
    The sort field for the returned results.
    orderDirection string
    Sort by (asc, desc).
    products string[]
    The product type corresponding to the query template.
    resultOutputFile string
    Used to save results.
    templateIds number[]
    The id list of templates.
    templateNames string[]
    The name list of templates.
    templateTypes string[]
    Template types.
    db_modes Sequence[str]
    Database mode, optional values: NORMAL, SERVERLESS.
    engine_types Sequence[str]
    Engine types.
    engine_versions Sequence[str]
    Database engine version number.
    id str
    The ID of template.
    limit float
    Query limit.
    offset float
    Page offset.
    order_by str
    The sort field for the returned results.
    order_direction str
    Sort by (asc, desc).
    products Sequence[str]
    The product type corresponding to the query template.
    result_output_file str
    Used to save results.
    template_ids Sequence[float]
    The id list of templates.
    template_names Sequence[str]
    The name list of templates.
    template_types Sequence[str]
    Template types.
    dbModes List<String>
    Database mode, optional values: NORMAL, SERVERLESS.
    engineTypes List<String>
    Engine types.
    engineVersions List<String>
    Database engine version number.
    id String
    The ID of template.
    limit Number
    Query limit.
    offset Number
    Page offset.
    orderBy String
    The sort field for the returned results.
    orderDirection String
    Sort by (asc, desc).
    products List<String>
    The product type corresponding to the query template.
    resultOutputFile String
    Used to save results.
    templateIds List<Number>
    The id list of templates.
    templateNames List<String>
    The name list of templates.
    templateTypes List<String>
    Template types.

    getCynosdbParamTemplates Result

    The following output properties are available:

    Id string
    The ID of template.
    Items List<GetCynosdbParamTemplatesItem>
    Parameter Template Information.
    DbModes List<string>
    EngineTypes List<string>
    EngineVersions List<string>
    Limit double
    Offset double
    OrderBy string
    OrderDirection string
    Products List<string>
    ResultOutputFile string
    TemplateIds List<double>
    TemplateNames List<string>
    TemplateTypes List<string>
    Id string
    The ID of template.
    Items []GetCynosdbParamTemplatesItem
    Parameter Template Information.
    DbModes []string
    EngineTypes []string
    EngineVersions []string
    Limit float64
    Offset float64
    OrderBy string
    OrderDirection string
    Products []string
    ResultOutputFile string
    TemplateIds []float64
    TemplateNames []string
    TemplateTypes []string
    id String
    The ID of template.
    items List<GetCynosdbParamTemplatesItem>
    Parameter Template Information.
    dbModes List<String>
    engineTypes List<String>
    engineVersions List<String>
    limit Double
    offset Double
    orderBy String
    orderDirection String
    products List<String>
    resultOutputFile String
    templateIds List<Double>
    templateNames List<String>
    templateTypes List<String>
    id string
    The ID of template.
    items GetCynosdbParamTemplatesItem[]
    Parameter Template Information.
    dbModes string[]
    engineTypes string[]
    engineVersions string[]
    limit number
    offset number
    orderBy string
    orderDirection string
    products string[]
    resultOutputFile string
    templateIds number[]
    templateNames string[]
    templateTypes string[]
    id str
    The ID of template.
    items Sequence[GetCynosdbParamTemplatesItem]
    Parameter Template Information.
    db_modes Sequence[str]
    engine_types Sequence[str]
    engine_versions Sequence[str]
    limit float
    offset float
    order_by str
    order_direction str
    products Sequence[str]
    result_output_file str
    template_ids Sequence[float]
    template_names Sequence[str]
    template_types Sequence[str]
    id String
    The ID of template.
    items List<Property Map>
    Parameter Template Information.
    dbModes List<String>
    engineTypes List<String>
    engineVersions List<String>
    limit Number
    offset Number
    orderBy String
    orderDirection String
    products List<String>
    resultOutputFile String
    templateIds List<Number>
    templateNames List<String>
    templateTypes List<String>

    Supporting Types

    GetCynosdbParamTemplatesItem

    DbMode string
    Database mode, optional values: NORMAL, SERVERLESS.
    EngineVersion string
    Engine version.
    Id double
    The ID of template.
    ParamInfoSets List<GetCynosdbParamTemplatesItemParamInfoSet>
    Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
    TemplateDescription string
    The description of template.
    TemplateName string
    The name of template.
    DbMode string
    Database mode, optional values: NORMAL, SERVERLESS.
    EngineVersion string
    Engine version.
    Id float64
    The ID of template.
    ParamInfoSets []GetCynosdbParamTemplatesItemParamInfoSet
    Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
    TemplateDescription string
    The description of template.
    TemplateName string
    The name of template.
    dbMode String
    Database mode, optional values: NORMAL, SERVERLESS.
    engineVersion String
    Engine version.
    id Double
    The ID of template.
    paramInfoSets List<GetCynosdbParamTemplatesItemParamInfoSet>
    Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
    templateDescription String
    The description of template.
    templateName String
    The name of template.
    dbMode string
    Database mode, optional values: NORMAL, SERVERLESS.
    engineVersion string
    Engine version.
    id number
    The ID of template.
    paramInfoSets GetCynosdbParamTemplatesItemParamInfoSet[]
    Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
    templateDescription string
    The description of template.
    templateName string
    The name of template.
    db_mode str
    Database mode, optional values: NORMAL, SERVERLESS.
    engine_version str
    Engine version.
    id float
    The ID of template.
    param_info_sets Sequence[GetCynosdbParamTemplatesItemParamInfoSet]
    Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
    template_description str
    The description of template.
    template_name str
    The name of template.
    dbMode String
    Database mode, optional values: NORMAL, SERVERLESS.
    engineVersion String
    Engine version.
    id Number
    The ID of template.
    paramInfoSets List<Property Map>
    Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
    templateDescription String
    The description of template.
    templateName String
    The name of template.

    GetCynosdbParamTemplatesItemParamInfoSet

    CurrentValue string
    Current value.
    Default string
    Default value.
    Description string
    The description of parameter.
    EnumValues List<string>
    An optional set of value types when the parameter type is enum.Note: This field may return null, indicating that no valid value can be obtained.
    Max string
    The maximum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    Min string
    The minimum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    NeedReboot double
    Whether to reboot.
    ParamName string
    The name of parameter.
    ParamType string
    Parameter type: integer/float/string/enum.
    CurrentValue string
    Current value.
    Default string
    Default value.
    Description string
    The description of parameter.
    EnumValues []string
    An optional set of value types when the parameter type is enum.Note: This field may return null, indicating that no valid value can be obtained.
    Max string
    The maximum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    Min string
    The minimum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    NeedReboot float64
    Whether to reboot.
    ParamName string
    The name of parameter.
    ParamType string
    Parameter type: integer/float/string/enum.
    currentValue String
    Current value.
    default_ String
    Default value.
    description String
    The description of parameter.
    enumValues List<String>
    An optional set of value types when the parameter type is enum.Note: This field may return null, indicating that no valid value can be obtained.
    max String
    The maximum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    min String
    The minimum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    needReboot Double
    Whether to reboot.
    paramName String
    The name of parameter.
    paramType String
    Parameter type: integer/float/string/enum.
    currentValue string
    Current value.
    default string
    Default value.
    description string
    The description of parameter.
    enumValues string[]
    An optional set of value types when the parameter type is enum.Note: This field may return null, indicating that no valid value can be obtained.
    max string
    The maximum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    min string
    The minimum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    needReboot number
    Whether to reboot.
    paramName string
    The name of parameter.
    paramType string
    Parameter type: integer/float/string/enum.
    current_value str
    Current value.
    default str
    Default value.
    description str
    The description of parameter.
    enum_values Sequence[str]
    An optional set of value types when the parameter type is enum.Note: This field may return null, indicating that no valid value can be obtained.
    max str
    The maximum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    min str
    The minimum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    need_reboot float
    Whether to reboot.
    param_name str
    The name of parameter.
    param_type str
    Parameter type: integer/float/string/enum.
    currentValue String
    Current value.
    default String
    Default value.
    description String
    The description of parameter.
    enumValues List<String>
    An optional set of value types when the parameter type is enum.Note: This field may return null, indicating that no valid value can be obtained.
    max String
    The maximum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    min String
    The minimum value when the parameter type is float/integer.Note: This field may return null, indicating that no valid value can be obtained.
    needReboot Number
    Whether to reboot.
    paramName String
    The name of parameter.
    paramType String
    Parameter type: integer/float/string/enum.

    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