tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCynosdbParamTemplates
Explore with Pulumi AI
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:
- Db
Modes List<string> - Database mode, optional values: NORMAL, SERVERLESS.
- Engine
Types List<string> - Engine types.
- Engine
Versions List<string> - Database engine version number.
- Id string
- The ID of template.
- Limit double
- Query limit.
- Offset double
- Page offset.
- Order
By string - The sort field for the returned results.
- Order
Direction string - Sort by (asc, desc).
- Products List<string>
- The product type corresponding to the query template.
- Result
Output stringFile - Used to save results.
- Template
Ids List<double> - The id list of templates.
- Template
Names List<string> - The name list of templates.
- Template
Types List<string> - Template types.
- Db
Modes []string - Database mode, optional values: NORMAL, SERVERLESS.
- Engine
Types []string - Engine types.
- Engine
Versions []string - Database engine version number.
- Id string
- The ID of template.
- Limit float64
- Query limit.
- Offset float64
- Page offset.
- Order
By string - The sort field for the returned results.
- Order
Direction string - Sort by (asc, desc).
- Products []string
- The product type corresponding to the query template.
- Result
Output stringFile - Used to save results.
- Template
Ids []float64 - The id list of templates.
- Template
Names []string - The name list of templates.
- Template
Types []string - Template types.
- db
Modes List<String> - Database mode, optional values: NORMAL, SERVERLESS.
- engine
Types List<String> - Engine types.
- engine
Versions List<String> - Database engine version number.
- id String
- The ID of template.
- limit Double
- Query limit.
- offset Double
- Page offset.
- order
By String - The sort field for the returned results.
- order
Direction String - Sort by (asc, desc).
- products List<String>
- The product type corresponding to the query template.
- result
Output StringFile - Used to save results.
- template
Ids List<Double> - The id list of templates.
- template
Names List<String> - The name list of templates.
- template
Types List<String> - Template types.
- db
Modes string[] - Database mode, optional values: NORMAL, SERVERLESS.
- engine
Types string[] - Engine types.
- engine
Versions string[] - Database engine version number.
- id string
- The ID of template.
- limit number
- Query limit.
- offset number
- Page offset.
- order
By string - The sort field for the returned results.
- order
Direction string - Sort by (asc, desc).
- products string[]
- The product type corresponding to the query template.
- result
Output stringFile - Used to save results.
- template
Ids number[] - The id list of templates.
- template
Names string[] - The name list of templates.
- template
Types 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_ strfile - 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.
- db
Modes List<String> - Database mode, optional values: NORMAL, SERVERLESS.
- engine
Types List<String> - Engine types.
- engine
Versions List<String> - Database engine version number.
- id String
- The ID of template.
- limit Number
- Query limit.
- offset Number
- Page offset.
- order
By String - The sort field for the returned results.
- order
Direction String - Sort by (asc, desc).
- products List<String>
- The product type corresponding to the query template.
- result
Output StringFile - Used to save results.
- template
Ids List<Number> - The id list of templates.
- template
Names List<String> - The name list of templates.
- template
Types List<String> - Template types.
getCynosdbParamTemplates Result
The following output properties are available:
- Id string
- The ID of template.
- Items
List<Get
Cynosdb Param Templates Item> - Parameter Template Information.
- Db
Modes List<string> - Engine
Types List<string> - Engine
Versions List<string> - Limit double
- Offset double
- Order
By string - Order
Direction string - Products List<string>
- Result
Output stringFile - Template
Ids List<double> - Template
Names List<string> - Template
Types List<string>
- Id string
- The ID of template.
- Items
[]Get
Cynosdb Param Templates Item - Parameter Template Information.
- Db
Modes []string - Engine
Types []string - Engine
Versions []string - Limit float64
- Offset float64
- Order
By string - Order
Direction string - Products []string
- Result
Output stringFile - Template
Ids []float64 - Template
Names []string - Template
Types []string
- id String
- The ID of template.
- items
List<Get
Cynosdb Param Templates Item> - Parameter Template Information.
- db
Modes List<String> - engine
Types List<String> - engine
Versions List<String> - limit Double
- offset Double
- order
By String - order
Direction String - products List<String>
- result
Output StringFile - template
Ids List<Double> - template
Names List<String> - template
Types List<String>
- id string
- The ID of template.
- items
Get
Cynosdb Param Templates Item[] - Parameter Template Information.
- db
Modes string[] - engine
Types string[] - engine
Versions string[] - limit number
- offset number
- order
By string - order
Direction string - products string[]
- result
Output stringFile - template
Ids number[] - template
Names string[] - template
Types string[]
- id str
- The ID of template.
- items
Sequence[Get
Cynosdb Param Templates Item] - 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_ strfile - 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.
- db
Modes List<String> - engine
Types List<String> - engine
Versions List<String> - limit Number
- offset Number
- order
By String - order
Direction String - products List<String>
- result
Output StringFile - template
Ids List<Number> - template
Names List<String> - template
Types List<String>
Supporting Types
GetCynosdbParamTemplatesItem
- Db
Mode string - Database mode, optional values: NORMAL, SERVERLESS.
- Engine
Version string - Engine version.
- Id double
- The ID of template.
- Param
Info List<GetSets Cynosdb Param Templates Item Param Info Set> - Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
- Template
Description string - The description of template.
- Template
Name string - The name of template.
- Db
Mode string - Database mode, optional values: NORMAL, SERVERLESS.
- Engine
Version string - Engine version.
- Id float64
- The ID of template.
- Param
Info []GetSets Cynosdb Param Templates Item Param Info Set - Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
- Template
Description string - The description of template.
- Template
Name string - The name of template.
- db
Mode String - Database mode, optional values: NORMAL, SERVERLESS.
- engine
Version String - Engine version.
- id Double
- The ID of template.
- param
Info List<GetSets Cynosdb Param Templates Item Param Info Set> - Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
- template
Description String - The description of template.
- template
Name String - The name of template.
- db
Mode string - Database mode, optional values: NORMAL, SERVERLESS.
- engine
Version string - Engine version.
- id number
- The ID of template.
- param
Info GetSets Cynosdb Param Templates Item Param Info Set[] - Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
- template
Description string - The description of template.
- template
Name 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_ Sequence[Getsets Cynosdb Param Templates Item Param Info Set] - 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.
- db
Mode String - Database mode, optional values: NORMAL, SERVERLESS.
- engine
Version String - Engine version.
- id Number
- The ID of template.
- param
Info List<Property Map>Sets - Parameter template details.Note: This field may return null, indicating that no valid value can be obtained.
- template
Description String - The description of template.
- template
Name String - The name of template.
GetCynosdbParamTemplatesItemParamInfoSet
- Current
Value string - Current value.
- Default string
- Default value.
- Description string
- The description of parameter.
- Enum
Values 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.
- Need
Reboot double - Whether to reboot.
- Param
Name string - The name of parameter.
- Param
Type string - Parameter type: integer/float/string/enum.
- Current
Value string - Current value.
- Default string
- Default value.
- Description string
- The description of parameter.
- Enum
Values []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.
- Need
Reboot float64 - Whether to reboot.
- Param
Name string - The name of parameter.
- Param
Type string - Parameter type: integer/float/string/enum.
- current
Value String - Current value.
- default_ String
- Default value.
- description String
- The description of parameter.
- enum
Values 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.
- need
Reboot Double - Whether to reboot.
- param
Name String - The name of parameter.
- param
Type String - Parameter type: integer/float/string/enum.
- current
Value string - Current value.
- default string
- Default value.
- description string
- The description of parameter.
- enum
Values 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.
- need
Reboot number - Whether to reboot.
- param
Name string - The name of parameter.
- param
Type 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.
- current
Value String - Current value.
- default String
- Default value.
- description String
- The description of parameter.
- enum
Values 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.
- need
Reboot Number - Whether to reboot.
- param
Name String - The name of parameter.
- param
Type 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack