tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDcdbParameters
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 dcdb parameters
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const parameters = tencentcloud.getDcdbParameters({
instanceId: "your_instance_id",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
parameters = tencentcloud.get_dcdb_parameters(instance_id="your_instance_id")
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.GetDcdbParameters(ctx, &tencentcloud.GetDcdbParametersArgs{
InstanceId: "your_instance_id",
}, 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 parameters = Tencentcloud.GetDcdbParameters.Invoke(new()
{
InstanceId = "your_instance_id",
});
});
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.GetDcdbParametersArgs;
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 parameters = TencentcloudFunctions.getDcdbParameters(GetDcdbParametersArgs.builder()
.instanceId("your_instance_id")
.build());
}
}
variables:
parameters:
fn::invoke:
function: tencentcloud:getDcdbParameters
arguments:
instanceId: your_instance_id
Using getDcdbParameters
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 getDcdbParameters(args: GetDcdbParametersArgs, opts?: InvokeOptions): Promise<GetDcdbParametersResult>
function getDcdbParametersOutput(args: GetDcdbParametersOutputArgs, opts?: InvokeOptions): Output<GetDcdbParametersResult>
def get_dcdb_parameters(id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDcdbParametersResult
def get_dcdb_parameters_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[GetDcdbParametersResult]
func GetDcdbParameters(ctx *Context, args *GetDcdbParametersArgs, opts ...InvokeOption) (*GetDcdbParametersResult, error)
func GetDcdbParametersOutput(ctx *Context, args *GetDcdbParametersOutputArgs, opts ...InvokeOption) GetDcdbParametersResultOutput
> Note: This function is named GetDcdbParameters
in the Go SDK.
public static class GetDcdbParameters
{
public static Task<GetDcdbParametersResult> InvokeAsync(GetDcdbParametersArgs args, InvokeOptions? opts = null)
public static Output<GetDcdbParametersResult> Invoke(GetDcdbParametersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDcdbParametersResult> getDcdbParameters(GetDcdbParametersArgs args, InvokeOptions options)
public static Output<GetDcdbParametersResult> getDcdbParameters(GetDcdbParametersArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDcdbParameters:getDcdbParameters
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - instance id.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - instance id.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - instance id.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - instance id.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - instance id.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - instance id.
- id String
- result
Output StringFile - Used to save results.
getDcdbParameters Result
The following output properties are available:
- Id string
- Instance
Id string - Lists
List<Get
Dcdb Parameters List> - parameter list.
- Result
Output stringFile
- Id string
- Instance
Id string - Lists
[]Get
Dcdb Parameters List - parameter list.
- Result
Output stringFile
- id String
- instance
Id String - lists
List<Get
Dcdb Parameters List> - parameter list.
- result
Output StringFile
- id string
- instance
Id string - lists
Get
Dcdb Parameters List[] - parameter list.
- result
Output stringFile
- id str
- instance_
id str - lists
Sequence[Get
Dcdb Parameters List] - parameter list.
- result_
output_ strfile
- id String
- instance
Id String - lists List<Property Map>
- parameter list.
- result
Output StringFile
Supporting Types
GetDcdbParametersList
- Constraints
List<Get
Dcdb Parameters List Constraint> - params constraint.
- Default string
- default value.
- Have
Set boolValue - have set value.
- Need
Restart bool - need restart.
- Param string
- parameter name.
- Value string
- parameter value.
- Constraints
[]Get
Dcdb Parameters List Constraint - params constraint.
- Default string
- default value.
- Have
Set boolValue - have set value.
- Need
Restart bool - need restart.
- Param string
- parameter name.
- Value string
- parameter value.
- constraints
List<Get
Dcdb Parameters List Constraint> - params constraint.
- default_ String
- default value.
- have
Set BooleanValue - have set value.
- need
Restart Boolean - need restart.
- param String
- parameter name.
- value String
- parameter value.
- constraints
Get
Dcdb Parameters List Constraint[] - params constraint.
- default string
- default value.
- have
Set booleanValue - have set value.
- need
Restart boolean - need restart.
- param string
- parameter name.
- value string
- parameter value.
- constraints
Sequence[Get
Dcdb Parameters List Constraint] - params constraint.
- default str
- default value.
- have_
set_ boolvalue - have set value.
- need_
restart bool - need restart.
- param str
- parameter name.
- value str
- parameter value.
- constraints List<Property Map>
- params constraint.
- default String
- default value.
- have
Set BooleanValue - have set value.
- need
Restart Boolean - need restart.
- param String
- parameter name.
- value String
- parameter value.
GetDcdbParametersListConstraint
- Enum string
- a list of optional values of type num.
- Ranges
List<Get
Dcdb Parameters List Constraint Range> - range constraint.
- String string
- constraint type is string.
- Type string
- type.
- Enum string
- a list of optional values of type num.
- Ranges
[]Get
Dcdb Parameters List Constraint Range - range constraint.
- String string
- constraint type is string.
- Type string
- type.
- enum_ String
- a list of optional values of type num.
- ranges
List<Get
Dcdb Parameters List Constraint Range> - range constraint.
- string String
- constraint type is string.
- type String
- type.
- enum string
- a list of optional values of type num.
- ranges
Get
Dcdb Parameters List Constraint Range[] - range constraint.
- string string
- constraint type is string.
- type string
- type.
- enum str
- a list of optional values of type num.
- ranges
Sequence[Get
Dcdb Parameters List Constraint Range] - range constraint.
- string str
- constraint type is string.
- type str
- type.
- enum String
- a list of optional values of type num.
- ranges List<Property Map>
- range constraint.
- string String
- constraint type is string.
- type String
- type.
GetDcdbParametersListConstraintRange
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