Viewing docs for tencentcloud 1.82.73
published on Friday, Mar 6, 2026 by tencentcloudstack
published on Friday, Mar 6, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.73
published on Friday, Mar 6, 2026 by tencentcloudstack
published on Friday, Mar 6, 2026 by tencentcloudstack
Provide a datasource to query default mysql parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const mysql57 = new tencentcloud.index.MysqlDefaultParams("mysql_57", {dbVersion: "5.7"});
import pulumi
import pulumi_tencentcloud as tencentcloud
mysql57 = tencentcloud.index.MysqlDefaultParams("mysql_57", db_version=5.7)
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.NewMysqlDefaultParams(ctx, "mysql_57", &tencentcloud.MysqlDefaultParamsArgs{
DbVersion: "5.7",
})
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 mysql57 = new Tencentcloud.Index.MysqlDefaultParams("mysql_57", new()
{
DbVersion = "5.7",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MysqlDefaultParams;
import com.pulumi.tencentcloud.MysqlDefaultParamsArgs;
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) {
var mysql57 = new MysqlDefaultParams("mysql57", MysqlDefaultParamsArgs.builder()
.dbVersion("5.7")
.build());
}
}
resources:
mysql57:
type: tencentcloud:MysqlDefaultParams
name: mysql_57
properties:
dbVersion: '5.7'
Using getMysqlDefaultParams
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 getMysqlDefaultParams(args: GetMysqlDefaultParamsArgs, opts?: InvokeOptions): Promise<GetMysqlDefaultParamsResult>
function getMysqlDefaultParamsOutput(args: GetMysqlDefaultParamsOutputArgs, opts?: InvokeOptions): Output<GetMysqlDefaultParamsResult>def get_mysql_default_params(db_version: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMysqlDefaultParamsResult
def get_mysql_default_params_output(db_version: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMysqlDefaultParamsResult]func GetMysqlDefaultParams(ctx *Context, args *GetMysqlDefaultParamsArgs, opts ...InvokeOption) (*GetMysqlDefaultParamsResult, error)
func GetMysqlDefaultParamsOutput(ctx *Context, args *GetMysqlDefaultParamsOutputArgs, opts ...InvokeOption) GetMysqlDefaultParamsResultOutput> Note: This function is named GetMysqlDefaultParams in the Go SDK.
public static class GetMysqlDefaultParams
{
public static Task<GetMysqlDefaultParamsResult> InvokeAsync(GetMysqlDefaultParamsArgs args, InvokeOptions? opts = null)
public static Output<GetMysqlDefaultParamsResult> Invoke(GetMysqlDefaultParamsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMysqlDefaultParamsResult> getMysqlDefaultParams(GetMysqlDefaultParamsArgs args, InvokeOptions options)
public static Output<GetMysqlDefaultParamsResult> getMysqlDefaultParams(GetMysqlDefaultParamsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMysqlDefaultParams:getMysqlDefaultParams
arguments:
# arguments dictionaryThe following arguments are supported:
- Db
Version string - MySQL database version.
- Id string
- Result
Output stringFile - Used for save results.
- Db
Version string - MySQL database version.
- Id string
- Result
Output stringFile - Used for save results.
- db
Version String - MySQL database version.
- id String
- result
Output StringFile - Used for save results.
- db
Version string - MySQL database version.
- id string
- result
Output stringFile - Used for save results.
- db_
version str - MySQL database version.
- id str
- result_
output_ strfile - Used for save results.
- db
Version String - MySQL database version.
- id String
- result
Output StringFile - Used for save results.
getMysqlDefaultParams Result
The following output properties are available:
- Id string
- Param
Lists List<GetMysql Default Params Param List> - List of param detail.
- Db
Version string - Result
Output stringFile
- Id string
- Param
Lists []GetMysql Default Params Param List - List of param detail.
- Db
Version string - Result
Output stringFile
- id String
- param
Lists List<GetMysql Default Params Param List> - List of param detail.
- db
Version String - result
Output StringFile
- id string
- param
Lists GetMysql Default Params Param List[] - List of param detail.
- db
Version string - result
Output stringFile
- id str
- param_
lists Sequence[GetMysql Default Params Param List] - List of param detail.
- db_
version str - result_
output_ strfile
- id String
- param
Lists List<Property Map> - List of param detail.
- db
Version String - result
Output StringFile
Supporting Types
GetMysqlDefaultParamsParamList
- Current
Value string - Param current value.
- Default string
- Param default value.
- Description string
- Param description.
- Enum
Values List<string> - Params available values if type of param is enum.
- Max double
- Param maximum value if type of param is integer.
- Min double
- Param minimum value if type of param is integer.
- Name string
- Param key name.
- Need
Reboot double - Indicates weather the database instance reboot if param modified.
- Param
Type string - Type of param.
- Current
Value string - Param current value.
- Default string
- Param default value.
- Description string
- Param description.
- Enum
Values []string - Params available values if type of param is enum.
- Max float64
- Param maximum value if type of param is integer.
- Min float64
- Param minimum value if type of param is integer.
- Name string
- Param key name.
- Need
Reboot float64 - Indicates weather the database instance reboot if param modified.
- Param
Type string - Type of param.
- current
Value String - Param current value.
- default_ String
- Param default value.
- description String
- Param description.
- enum
Values List<String> - Params available values if type of param is enum.
- max Double
- Param maximum value if type of param is integer.
- min Double
- Param minimum value if type of param is integer.
- name String
- Param key name.
- need
Reboot Double - Indicates weather the database instance reboot if param modified.
- param
Type String - Type of param.
- current
Value string - Param current value.
- default string
- Param default value.
- description string
- Param description.
- enum
Values string[] - Params available values if type of param is enum.
- max number
- Param maximum value if type of param is integer.
- min number
- Param minimum value if type of param is integer.
- name string
- Param key name.
- need
Reboot number - Indicates weather the database instance reboot if param modified.
- param
Type string - Type of param.
- current_
value str - Param current value.
- default str
- Param default value.
- description str
- Param description.
- enum_
values Sequence[str] - Params available values if type of param is enum.
- max float
- Param maximum value if type of param is integer.
- min float
- Param minimum value if type of param is integer.
- name str
- Param key name.
- need_
reboot float - Indicates weather the database instance reboot if param modified.
- param_
type str - Type of param.
- current
Value String - Param current value.
- default String
- Param default value.
- description String
- Param description.
- enum
Values List<String> - Params available values if type of param is enum.
- max Number
- Param maximum value if type of param is integer.
- min Number
- Param minimum value if type of param is integer.
- name String
- Param key name.
- need
Reboot Number - Indicates weather the database instance reboot if param modified.
- param
Type String - Type of param.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.82.73
published on Friday, Mar 6, 2026 by tencentcloudstack
published on Friday, Mar 6, 2026 by tencentcloudstack
