tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getMysqlParameterList
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to get information about a parameter group of a database instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const mysql = tencentcloud.getMysqlParameterList({
engineVersion: "5.5",
mysqlId: "terraform-test-local-database",
resultOutputFile: "mytestpath",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
mysql = tencentcloud.get_mysql_parameter_list(engine_version="5.5",
mysql_id="terraform-test-local-database",
result_output_file="mytestpath")
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.GetMysqlParameterList(ctx, &tencentcloud.GetMysqlParameterListArgs{
EngineVersion: pulumi.StringRef("5.5"),
MysqlId: pulumi.StringRef("terraform-test-local-database"),
ResultOutputFile: pulumi.StringRef("mytestpath"),
}, 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 mysql = Tencentcloud.GetMysqlParameterList.Invoke(new()
{
EngineVersion = "5.5",
MysqlId = "terraform-test-local-database",
ResultOutputFile = "mytestpath",
});
});
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.GetMysqlParameterListArgs;
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 mysql = TencentcloudFunctions.getMysqlParameterList(GetMysqlParameterListArgs.builder()
.engineVersion("5.5")
.mysqlId("terraform-test-local-database")
.resultOutputFile("mytestpath")
.build());
}
}
variables:
mysql:
fn::invoke:
function: tencentcloud:getMysqlParameterList
arguments:
engineVersion: '5.5'
mysqlId: terraform-test-local-database
resultOutputFile: mytestpath
Using getMysqlParameterList
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 getMysqlParameterList(args: GetMysqlParameterListArgs, opts?: InvokeOptions): Promise<GetMysqlParameterListResult>
function getMysqlParameterListOutput(args: GetMysqlParameterListOutputArgs, opts?: InvokeOptions): Output<GetMysqlParameterListResult>
def get_mysql_parameter_list(engine_version: Optional[str] = None,
id: Optional[str] = None,
mysql_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMysqlParameterListResult
def get_mysql_parameter_list_output(engine_version: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
mysql_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMysqlParameterListResult]
func GetMysqlParameterList(ctx *Context, args *GetMysqlParameterListArgs, opts ...InvokeOption) (*GetMysqlParameterListResult, error)
func GetMysqlParameterListOutput(ctx *Context, args *GetMysqlParameterListOutputArgs, opts ...InvokeOption) GetMysqlParameterListResultOutput
> Note: This function is named GetMysqlParameterList
in the Go SDK.
public static class GetMysqlParameterList
{
public static Task<GetMysqlParameterListResult> InvokeAsync(GetMysqlParameterListArgs args, InvokeOptions? opts = null)
public static Output<GetMysqlParameterListResult> Invoke(GetMysqlParameterListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMysqlParameterListResult> getMysqlParameterList(GetMysqlParameterListArgs args, InvokeOptions options)
public static Output<GetMysqlParameterListResult> getMysqlParameterList(GetMysqlParameterListArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMysqlParameterList:getMysqlParameterList
arguments:
# arguments dictionary
The following arguments are supported:
- Engine
Version string - The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0.
- Id string
- Mysql
Id string - Instance ID.
- Result
Output stringFile - Used to store results.
- Engine
Version string - The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0.
- Id string
- Mysql
Id string - Instance ID.
- Result
Output stringFile - Used to store results.
- engine
Version String - The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0.
- id String
- mysql
Id String - Instance ID.
- result
Output StringFile - Used to store results.
- engine
Version string - The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0.
- id string
- mysql
Id string - Instance ID.
- result
Output stringFile - Used to store results.
- engine_
version str - The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0.
- id str
- mysql_
id str - Instance ID.
- result_
output_ strfile - Used to store results.
- engine
Version String - The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0.
- id String
- mysql
Id String - Instance ID.
- result
Output StringFile - Used to store results.
getMysqlParameterList Result
The following output properties are available:
- Id string
- Parameter
Lists List<GetMysql Parameter List Parameter List> - A list of parameters. Each element contains the following attributes:
- Engine
Version string - Mysql
Id string - Result
Output stringFile
- Id string
- Parameter
Lists []GetMysql Parameter List Parameter List - A list of parameters. Each element contains the following attributes:
- Engine
Version string - Mysql
Id string - Result
Output stringFile
- id String
- parameter
Lists List<GetMysql Parameter List Parameter List> - A list of parameters. Each element contains the following attributes:
- engine
Version String - mysql
Id String - result
Output StringFile
- id string
- parameter
Lists GetMysql Parameter List Parameter List[] - A list of parameters. Each element contains the following attributes:
- engine
Version string - mysql
Id string - result
Output stringFile
- id str
- parameter_
lists Sequence[GetMysql Parameter List Parameter List] - A list of parameters. Each element contains the following attributes:
- engine_
version str - mysql_
id str - result_
output_ strfile
- id String
- parameter
Lists List<Property Map> - A list of parameters. Each element contains the following attributes:
- engine
Version String - mysql
Id String - result
Output StringFile
Supporting Types
GetMysqlParameterListParameterList
- Current
Value string - Current value.
- Default
Value string - Default value.
- Description string
- Parameter specification description.
- Enum
Values List<string> - Enumerated value.
- Max double
- Maximum value for the parameter.
- Min double
- Minimum value for the parameter.
- Need
Reboot double - Indicates whether reboot is needed to enable the new parameters.
- Parameter
Name string - Parameter name.
- Parameter
Type string - Parameter type.
- Current
Value string - Current value.
- Default
Value string - Default value.
- Description string
- Parameter specification description.
- Enum
Values []string - Enumerated value.
- Max float64
- Maximum value for the parameter.
- Min float64
- Minimum value for the parameter.
- Need
Reboot float64 - Indicates whether reboot is needed to enable the new parameters.
- Parameter
Name string - Parameter name.
- Parameter
Type string - Parameter type.
- current
Value String - Current value.
- default
Value String - Default value.
- description String
- Parameter specification description.
- enum
Values List<String> - Enumerated value.
- max Double
- Maximum value for the parameter.
- min Double
- Minimum value for the parameter.
- need
Reboot Double - Indicates whether reboot is needed to enable the new parameters.
- parameter
Name String - Parameter name.
- parameter
Type String - Parameter type.
- current
Value string - Current value.
- default
Value string - Default value.
- description string
- Parameter specification description.
- enum
Values string[] - Enumerated value.
- max number
- Maximum value for the parameter.
- min number
- Minimum value for the parameter.
- need
Reboot number - Indicates whether reboot is needed to enable the new parameters.
- parameter
Name string - Parameter name.
- parameter
Type string - Parameter type.
- current_
value str - Current value.
- default_
value str - Default value.
- description str
- Parameter specification description.
- enum_
values Sequence[str] - Enumerated value.
- max float
- Maximum value for the parameter.
- min float
- Minimum value for the parameter.
- need_
reboot float - Indicates whether reboot is needed to enable the new parameters.
- parameter_
name str - Parameter name.
- parameter_
type str - Parameter type.
- current
Value String - Current value.
- default
Value String - Default value.
- description String
- Parameter specification description.
- enum
Values List<String> - Enumerated value.
- max Number
- Maximum value for the parameter.
- min Number
- Minimum value for the parameter.
- need
Reboot Number - Indicates whether reboot is needed to enable the new parameters.
- parameter
Name String - Parameter name.
- parameter
Type String - Parameter type.
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