tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCynosdbClusterParams
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 cluster_params
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const clusterParams = tencentcloud.getCynosdbClusterParams({
clusterId: "cynosdbmysql-bws8h88b",
paramName: "innodb_checksum_algorithm",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
cluster_params = tencentcloud.get_cynosdb_cluster_params(cluster_id="cynosdbmysql-bws8h88b",
param_name="innodb_checksum_algorithm")
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.GetCynosdbClusterParams(ctx, &tencentcloud.GetCynosdbClusterParamsArgs{
ClusterId: "cynosdbmysql-bws8h88b",
ParamName: pulumi.StringRef("innodb_checksum_algorithm"),
}, 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 clusterParams = Tencentcloud.GetCynosdbClusterParams.Invoke(new()
{
ClusterId = "cynosdbmysql-bws8h88b",
ParamName = "innodb_checksum_algorithm",
});
});
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.GetCynosdbClusterParamsArgs;
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 clusterParams = TencentcloudFunctions.getCynosdbClusterParams(GetCynosdbClusterParamsArgs.builder()
.clusterId("cynosdbmysql-bws8h88b")
.paramName("innodb_checksum_algorithm")
.build());
}
}
variables:
clusterParams:
fn::invoke:
function: tencentcloud:getCynosdbClusterParams
arguments:
clusterId: cynosdbmysql-bws8h88b
paramName: innodb_checksum_algorithm
Using getCynosdbClusterParams
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 getCynosdbClusterParams(args: GetCynosdbClusterParamsArgs, opts?: InvokeOptions): Promise<GetCynosdbClusterParamsResult>
function getCynosdbClusterParamsOutput(args: GetCynosdbClusterParamsOutputArgs, opts?: InvokeOptions): Output<GetCynosdbClusterParamsResult>
def get_cynosdb_cluster_params(cluster_id: Optional[str] = None,
id: Optional[str] = None,
param_name: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCynosdbClusterParamsResult
def get_cynosdb_cluster_params_output(cluster_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
param_name: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCynosdbClusterParamsResult]
func GetCynosdbClusterParams(ctx *Context, args *GetCynosdbClusterParamsArgs, opts ...InvokeOption) (*GetCynosdbClusterParamsResult, error)
func GetCynosdbClusterParamsOutput(ctx *Context, args *GetCynosdbClusterParamsOutputArgs, opts ...InvokeOption) GetCynosdbClusterParamsResultOutput
> Note: This function is named GetCynosdbClusterParams
in the Go SDK.
public static class GetCynosdbClusterParams
{
public static Task<GetCynosdbClusterParamsResult> InvokeAsync(GetCynosdbClusterParamsArgs args, InvokeOptions? opts = null)
public static Output<GetCynosdbClusterParamsResult> Invoke(GetCynosdbClusterParamsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCynosdbClusterParamsResult> getCynosdbClusterParams(GetCynosdbClusterParamsArgs args, InvokeOptions options)
public static Output<GetCynosdbClusterParamsResult> getCynosdbClusterParams(GetCynosdbClusterParamsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCynosdbClusterParams:getCynosdbClusterParams
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id string - The ID of cluster.
- Id string
- Param
Name string - Parameter name.
- Result
Output stringFile - Used to save results.
- Cluster
Id string - The ID of cluster.
- Id string
- Param
Name string - Parameter name.
- Result
Output stringFile - Used to save results.
- cluster
Id String - The ID of cluster.
- id String
- param
Name String - Parameter name.
- result
Output StringFile - Used to save results.
- cluster
Id string - The ID of cluster.
- id string
- param
Name string - Parameter name.
- result
Output stringFile - Used to save results.
- cluster_
id str - The ID of cluster.
- id str
- param_
name str - Parameter name.
- result_
output_ strfile - Used to save results.
- cluster
Id String - The ID of cluster.
- id String
- param
Name String - Parameter name.
- result
Output StringFile - Used to save results.
getCynosdbClusterParams Result
The following output properties are available:
- Cluster
Id string - Id string
- Items
List<Get
Cynosdb Cluster Params Item> - Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
- Param
Name string - The name of parameter.
- Result
Output stringFile
- Cluster
Id string - Id string
- Items
[]Get
Cynosdb Cluster Params Item - Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
- Param
Name string - The name of parameter.
- Result
Output stringFile
- cluster
Id String - id String
- items
List<Get
Cynosdb Cluster Params Item> - Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
- param
Name String - The name of parameter.
- result
Output StringFile
- cluster
Id string - id string
- items
Get
Cynosdb Cluster Params Item[] - Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
- param
Name string - The name of parameter.
- result
Output stringFile
- cluster_
id str - id str
- items
Sequence[Get
Cynosdb Cluster Params Item] - Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
- param_
name str - The name of parameter.
- result_
output_ strfile
- cluster
Id String - id String
- items List<Property Map>
- Instance parameter list. Note: This field may return null, indicating that no valid value can be obtained.
- param
Name String - The name of parameter.
- result
Output StringFile
Supporting Types
GetCynosdbClusterParamsItem
- Current
Value string - Current value.
- Default string
- Default value.
- Description string
- The description of parameter.
- Enum
Values List<string> - When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
- Func string
- Function.Note: This field may return null, indicating that no valid value can be obtained.
- Is
Func bool - Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
- Is
Global double - Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
- Match
Type string - Matching type, multiVal, regex is used when the parameter type is string.
- Match
Value string - Match the target value, when multiVal, each key is divided by
;
. - Max string
- The maximum value when the parameter type is float/integer.
- Min string
- The minimum value when the parameter type is float/integer.
- Need
Reboot double - Whether to reboot.
- Param
Name string - Parameter name.
- Param
Type string - Parameter type: integer/float/string/enum/bool.
- Current
Value string - Current value.
- Default string
- Default value.
- Description string
- The description of parameter.
- Enum
Values []string - When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
- Func string
- Function.Note: This field may return null, indicating that no valid value can be obtained.
- Is
Func bool - Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
- Is
Global float64 - Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
- Match
Type string - Matching type, multiVal, regex is used when the parameter type is string.
- Match
Value string - Match the target value, when multiVal, each key is divided by
;
. - Max string
- The maximum value when the parameter type is float/integer.
- Min string
- The minimum value when the parameter type is float/integer.
- Need
Reboot float64 - Whether to reboot.
- Param
Name string - Parameter name.
- Param
Type string - Parameter type: integer/float/string/enum/bool.
- current
Value String - Current value.
- default_ String
- Default value.
- description String
- The description of parameter.
- enum
Values List<String> - When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
- func String
- Function.Note: This field may return null, indicating that no valid value can be obtained.
- is
Func Boolean - Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
- is
Global Double - Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
- match
Type String - Matching type, multiVal, regex is used when the parameter type is string.
- match
Value String - Match the target value, when multiVal, each key is divided by
;
. - max String
- The maximum value when the parameter type is float/integer.
- min String
- The minimum value when the parameter type is float/integer.
- need
Reboot Double - Whether to reboot.
- param
Name String - Parameter name.
- param
Type String - Parameter type: integer/float/string/enum/bool.
- current
Value string - Current value.
- default string
- Default value.
- description string
- The description of parameter.
- enum
Values string[] - When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
- func string
- Function.Note: This field may return null, indicating that no valid value can be obtained.
- is
Func boolean - Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
- is
Global number - Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
- match
Type string - Matching type, multiVal, regex is used when the parameter type is string.
- match
Value string - Match the target value, when multiVal, each key is divided by
;
. - max string
- The maximum value when the parameter type is float/integer.
- min string
- The minimum value when the parameter type is float/integer.
- need
Reboot number - Whether to reboot.
- param
Name string - Parameter name.
- param
Type string - Parameter type: integer/float/string/enum/bool.
- current_
value str - Current value.
- default str
- Default value.
- description str
- The description of parameter.
- enum_
values Sequence[str] - When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
- func str
- Function.Note: This field may return null, indicating that no valid value can be obtained.
- is_
func bool - Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
- is_
global float - Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
- match_
type str - Matching type, multiVal, regex is used when the parameter type is string.
- match_
value str - Match the target value, when multiVal, each key is divided by
;
. - max str
- The maximum value when the parameter type is float/integer.
- min str
- The minimum value when the parameter type is float/integer.
- need_
reboot float - Whether to reboot.
- param_
name str - Parameter name.
- param_
type str - Parameter type: integer/float/string/enum/bool.
- current
Value String - Current value.
- default String
- Default value.
- description String
- The description of parameter.
- enum
Values List<String> - When the parameter is enum/string/bool, the optional value list.Note: This field may return null, indicating that no valid value can be obtained.
- func String
- Function.Note: This field may return null, indicating that no valid value can be obtained.
- is
Func Boolean - Is it a function.Note: This field may return null, indicating that no valid value can be obtained.
- is
Global Number - Is it a global parameter.Note: This field may return null, indicating that no valid value can be obtained.
- match
Type String - Matching type, multiVal, regex is used when the parameter type is string.
- match
Value String - Match the target value, when multiVal, each key is divided by
;
. - max String
- The maximum value when the parameter type is float/integer.
- min String
- The minimum value when the parameter type is float/integer.
- need
Reboot Number - Whether to reboot.
- param
Name String - Parameter name.
- param
Type String - Parameter type: integer/float/string/enum/bool.
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