1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getMysqlInstanceParamRecord
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.getMysqlInstanceParamRecord

Explore with Pulumi AI

Use this data source to query detailed information of mysql instance_param_record

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const instanceParamRecord = tencentcloud.getMysqlInstanceParamRecord({
    instanceId: "",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

instance_param_record = tencentcloud.get_mysql_instance_param_record(instance_id="")
Copy
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.GetMysqlInstanceParamRecord(ctx, &tencentcloud.GetMysqlInstanceParamRecordArgs{
			InstanceId: "",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var instanceParamRecord = Tencentcloud.GetMysqlInstanceParamRecord.Invoke(new()
    {
        InstanceId = "",
    });

});
Copy
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.GetMysqlInstanceParamRecordArgs;
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 instanceParamRecord = TencentcloudFunctions.getMysqlInstanceParamRecord(GetMysqlInstanceParamRecordArgs.builder()
            .instanceId("")
            .build());

    }
}
Copy
variables:
  instanceParamRecord:
    fn::invoke:
      function: tencentcloud:getMysqlInstanceParamRecord
      arguments:
        instanceId: ""
Copy

Using getMysqlInstanceParamRecord

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 getMysqlInstanceParamRecord(args: GetMysqlInstanceParamRecordArgs, opts?: InvokeOptions): Promise<GetMysqlInstanceParamRecordResult>
function getMysqlInstanceParamRecordOutput(args: GetMysqlInstanceParamRecordOutputArgs, opts?: InvokeOptions): Output<GetMysqlInstanceParamRecordResult>
Copy
def get_mysql_instance_param_record(id: Optional[str] = None,
                                    instance_id: Optional[str] = None,
                                    result_output_file: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetMysqlInstanceParamRecordResult
def get_mysql_instance_param_record_output(id: Optional[pulumi.Input[str]] = None,
                                    instance_id: Optional[pulumi.Input[str]] = None,
                                    result_output_file: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetMysqlInstanceParamRecordResult]
Copy
func GetMysqlInstanceParamRecord(ctx *Context, args *GetMysqlInstanceParamRecordArgs, opts ...InvokeOption) (*GetMysqlInstanceParamRecordResult, error)
func GetMysqlInstanceParamRecordOutput(ctx *Context, args *GetMysqlInstanceParamRecordOutputArgs, opts ...InvokeOption) GetMysqlInstanceParamRecordResultOutput
Copy

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

public static class GetMysqlInstanceParamRecord 
{
    public static Task<GetMysqlInstanceParamRecordResult> InvokeAsync(GetMysqlInstanceParamRecordArgs args, InvokeOptions? opts = null)
    public static Output<GetMysqlInstanceParamRecordResult> Invoke(GetMysqlInstanceParamRecordInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMysqlInstanceParamRecordResult> getMysqlInstanceParamRecord(GetMysqlInstanceParamRecordArgs args, InvokeOptions options)
public static Output<GetMysqlInstanceParamRecordResult> getMysqlInstanceParamRecord(GetMysqlInstanceParamRecordArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getMysqlInstanceParamRecord:getMysqlInstanceParamRecord
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceId This property is required. string
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
Id string
ResultOutputFile string
Used to save results.
InstanceId This property is required. string
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
Id string
ResultOutputFile string
Used to save results.
instanceId This property is required. String
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
id String
resultOutputFile String
Used to save results.
instanceId This property is required. string
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
id string
resultOutputFile string
Used to save results.
instance_id This property is required. str
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
id str
result_output_file str
Used to save results.
instanceId This property is required. String
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
id String
resultOutputFile String
Used to save results.

getMysqlInstanceParamRecord Result

The following output properties are available:

Id string
InstanceId string
instance id.
Items List<GetMysqlInstanceParamRecordItem>
Parameter modification record.
ResultOutputFile string
Id string
InstanceId string
instance id.
Items []GetMysqlInstanceParamRecordItem
Parameter modification record.
ResultOutputFile string
id String
instanceId String
instance id.
items List<GetMysqlInstanceParamRecordItem>
Parameter modification record.
resultOutputFile String
id string
instanceId string
instance id.
items GetMysqlInstanceParamRecordItem[]
Parameter modification record.
resultOutputFile string
id str
instance_id str
instance id.
items Sequence[GetMysqlInstanceParamRecordItem]
Parameter modification record.
result_output_file str
id String
instanceId String
instance id.
items List<Property Map>
Parameter modification record.
resultOutputFile String

Supporting Types

GetMysqlInstanceParamRecordItem

InstanceId This property is required. string
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
IsSuccess This property is required. bool
Whether the parameter is modified successfully.
ModifyTime This property is required. string
Change the time.
NewValue This property is required. string
The modified value of the parameter.
OldValue This property is required. string
The value of the parameter before modification.
ParamName This property is required. string
parameter name.
InstanceId This property is required. string
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
IsSuccess This property is required. bool
Whether the parameter is modified successfully.
ModifyTime This property is required. string
Change the time.
NewValue This property is required. string
The modified value of the parameter.
OldValue This property is required. string
The value of the parameter before modification.
ParamName This property is required. string
parameter name.
instanceId This property is required. String
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
isSuccess This property is required. Boolean
Whether the parameter is modified successfully.
modifyTime This property is required. String
Change the time.
newValue This property is required. String
The modified value of the parameter.
oldValue This property is required. String
The value of the parameter before modification.
paramName This property is required. String
parameter name.
instanceId This property is required. string
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
isSuccess This property is required. boolean
Whether the parameter is modified successfully.
modifyTime This property is required. string
Change the time.
newValue This property is required. string
The modified value of the parameter.
oldValue This property is required. string
The value of the parameter before modification.
paramName This property is required. string
parameter name.
instance_id This property is required. str
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
is_success This property is required. bool
Whether the parameter is modified successfully.
modify_time This property is required. str
Change the time.
new_value This property is required. str
The modified value of the parameter.
old_value This property is required. str
The value of the parameter before modification.
param_name This property is required. str
parameter name.
instanceId This property is required. String
Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
isSuccess This property is required. Boolean
Whether the parameter is modified successfully.
modifyTime This property is required. String
Change the time.
newValue This property is required. String
The modified value of the parameter.
oldValue This property is required. String
The value of the parameter before modification.
paramName This property is required. String
parameter name.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.