1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getMongodbInstanceParams
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getMongodbInstanceParams

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of mongodb instance_params

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const instanceParams = tencentcloud.getMongodbInstanceParams({
        instanceId: "cmgo-gwqk8669",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    instance_params = tencentcloud.get_mongodb_instance_params(instance_id="cmgo-gwqk8669")
    
    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.LookupMongodbInstanceParams(ctx, &tencentcloud.LookupMongodbInstanceParamsArgs{
    			InstanceId: "cmgo-gwqk8669",
    		}, 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 instanceParams = Tencentcloud.GetMongodbInstanceParams.Invoke(new()
        {
            InstanceId = "cmgo-gwqk8669",
        });
    
    });
    
    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.GetMongodbInstanceParamsArgs;
    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 instanceParams = TencentcloudFunctions.getMongodbInstanceParams(GetMongodbInstanceParamsArgs.builder()
                .instanceId("cmgo-gwqk8669")
                .build());
    
        }
    }
    
    variables:
      instanceParams:
        fn::invoke:
          function: tencentcloud:getMongodbInstanceParams
          arguments:
            instanceId: cmgo-gwqk8669
    

    Using getMongodbInstanceParams

    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 getMongodbInstanceParams(args: GetMongodbInstanceParamsArgs, opts?: InvokeOptions): Promise<GetMongodbInstanceParamsResult>
    function getMongodbInstanceParamsOutput(args: GetMongodbInstanceParamsOutputArgs, opts?: InvokeOptions): Output<GetMongodbInstanceParamsResult>
    def get_mongodb_instance_params(id: Optional[str] = None,
                                    instance_id: Optional[str] = None,
                                    result_output_file: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetMongodbInstanceParamsResult
    def get_mongodb_instance_params_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[GetMongodbInstanceParamsResult]
    func LookupMongodbInstanceParams(ctx *Context, args *LookupMongodbInstanceParamsArgs, opts ...InvokeOption) (*LookupMongodbInstanceParamsResult, error)
    func LookupMongodbInstanceParamsOutput(ctx *Context, args *LookupMongodbInstanceParamsOutputArgs, opts ...InvokeOption) LookupMongodbInstanceParamsResultOutput

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

    public static class GetMongodbInstanceParams 
    {
        public static Task<GetMongodbInstanceParamsResult> InvokeAsync(GetMongodbInstanceParamsArgs args, InvokeOptions? opts = null)
        public static Output<GetMongodbInstanceParamsResult> Invoke(GetMongodbInstanceParamsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMongodbInstanceParamsResult> getMongodbInstanceParams(GetMongodbInstanceParamsArgs args, InvokeOptions options)
    public static Output<GetMongodbInstanceParamsResult> getMongodbInstanceParams(GetMongodbInstanceParamsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getMongodbInstanceParams:getMongodbInstanceParams
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    InstanceId.
    Id string
    ResultOutputFile string
    Used to save results.
    InstanceId string
    InstanceId.
    Id string
    ResultOutputFile string
    Used to save results.
    instanceId String
    InstanceId.
    id String
    resultOutputFile String
    Used to save results.
    instanceId string
    InstanceId.
    id string
    resultOutputFile string
    Used to save results.
    instance_id str
    InstanceId.
    id str
    result_output_file str
    Used to save results.
    instanceId String
    InstanceId.
    id String
    resultOutputFile String
    Used to save results.

    getMongodbInstanceParams Result

    The following output properties are available:

    Supporting Types

    GetMongodbInstanceParamsInstanceEnumParam

    CurrentValue string
    current value.
    DefaultValue string
    default value.
    EnumValues List<string>
    enum value.
    NeedRestart string
    if need restart.
    ParamName string
    name of parameter.
    Status double
    if is running.
    Tips List<string>
    descripition of parameter.
    ValueType string
    value type.
    CurrentValue string
    current value.
    DefaultValue string
    default value.
    EnumValues []string
    enum value.
    NeedRestart string
    if need restart.
    ParamName string
    name of parameter.
    Status float64
    if is running.
    Tips []string
    descripition of parameter.
    ValueType string
    value type.
    currentValue String
    current value.
    defaultValue String
    default value.
    enumValues List<String>
    enum value.
    needRestart String
    if need restart.
    paramName String
    name of parameter.
    status Double
    if is running.
    tips List<String>
    descripition of parameter.
    valueType String
    value type.
    currentValue string
    current value.
    defaultValue string
    default value.
    enumValues string[]
    enum value.
    needRestart string
    if need restart.
    paramName string
    name of parameter.
    status number
    if is running.
    tips string[]
    descripition of parameter.
    valueType string
    value type.
    current_value str
    current value.
    default_value str
    default value.
    enum_values Sequence[str]
    enum value.
    need_restart str
    if need restart.
    param_name str
    name of parameter.
    status float
    if is running.
    tips Sequence[str]
    descripition of parameter.
    value_type str
    value type.
    currentValue String
    current value.
    defaultValue String
    default value.
    enumValues List<String>
    enum value.
    needRestart String
    if need restart.
    paramName String
    name of parameter.
    status Number
    if is running.
    tips List<String>
    descripition of parameter.
    valueType String
    value type.

    GetMongodbInstanceParamsInstanceIntegerParam

    CurrentValue string
    current value.
    DefaultValue string
    default value.
    Max string
    max value.
    Min string
    min value.
    NeedRestart string
    if need restart.
    ParamName string
    name of parameter.
    Status double
    if is running.
    Tips List<string>
    descripition of parameter.
    ValueType string
    value type.
    CurrentValue string
    current value.
    DefaultValue string
    default value.
    Max string
    max value.
    Min string
    min value.
    NeedRestart string
    if need restart.
    ParamName string
    name of parameter.
    Status float64
    if is running.
    Tips []string
    descripition of parameter.
    ValueType string
    value type.
    currentValue String
    current value.
    defaultValue String
    default value.
    max String
    max value.
    min String
    min value.
    needRestart String
    if need restart.
    paramName String
    name of parameter.
    status Double
    if is running.
    tips List<String>
    descripition of parameter.
    valueType String
    value type.
    currentValue string
    current value.
    defaultValue string
    default value.
    max string
    max value.
    min string
    min value.
    needRestart string
    if need restart.
    paramName string
    name of parameter.
    status number
    if is running.
    tips string[]
    descripition of parameter.
    valueType string
    value type.
    current_value str
    current value.
    default_value str
    default value.
    max str
    max value.
    min str
    min value.
    need_restart str
    if need restart.
    param_name str
    name of parameter.
    status float
    if is running.
    tips Sequence[str]
    descripition of parameter.
    value_type str
    value type.
    currentValue String
    current value.
    defaultValue String
    default value.
    max String
    max value.
    min String
    min value.
    needRestart String
    if need restart.
    paramName String
    name of parameter.
    status Number
    if is running.
    tips List<String>
    descripition of parameter.
    valueType String
    value type.

    GetMongodbInstanceParamsInstanceMultiParam

    CurrentValue string
    current value.
    DefaultValue string
    default value.
    EnumValues List<string>
    enum value.
    NeedRestart string
    if need restart.
    ParamName string
    name of parameter.
    Status double
    if is running.
    Tips List<string>
    descripition of parameter.
    ValueType string
    value type.
    CurrentValue string
    current value.
    DefaultValue string
    default value.
    EnumValues []string
    enum value.
    NeedRestart string
    if need restart.
    ParamName string
    name of parameter.
    Status float64
    if is running.
    Tips []string
    descripition of parameter.
    ValueType string
    value type.
    currentValue String
    current value.
    defaultValue String
    default value.
    enumValues List<String>
    enum value.
    needRestart String
    if need restart.
    paramName String
    name of parameter.
    status Double
    if is running.
    tips List<String>
    descripition of parameter.
    valueType String
    value type.
    currentValue string
    current value.
    defaultValue string
    default value.
    enumValues string[]
    enum value.
    needRestart string
    if need restart.
    paramName string
    name of parameter.
    status number
    if is running.
    tips string[]
    descripition of parameter.
    valueType string
    value type.
    current_value str
    current value.
    default_value str
    default value.
    enum_values Sequence[str]
    enum value.
    need_restart str
    if need restart.
    param_name str
    name of parameter.
    status float
    if is running.
    tips Sequence[str]
    descripition of parameter.
    value_type str
    value type.
    currentValue String
    current value.
    defaultValue String
    default value.
    enumValues List<String>
    enum value.
    needRestart String
    if need restart.
    paramName String
    name of parameter.
    status Number
    if is running.
    tips List<String>
    descripition of parameter.
    valueType String
    value type.

    GetMongodbInstanceParamsInstanceTextParam

    CurrentValue string
    current value.
    DefaultValue string
    default value.
    NeedRestart string
    if need restart.
    ParamName string
    name of parameter.
    Status string
    if is running.
    TextValue string
    text value.
    Tips List<string>
    descripition of parameter.
    ValueType string
    value type.
    CurrentValue string
    current value.
    DefaultValue string
    default value.
    NeedRestart string
    if need restart.
    ParamName string
    name of parameter.
    Status string
    if is running.
    TextValue string
    text value.
    Tips []string
    descripition of parameter.
    ValueType string
    value type.
    currentValue String
    current value.
    defaultValue String
    default value.
    needRestart String
    if need restart.
    paramName String
    name of parameter.
    status String
    if is running.
    textValue String
    text value.
    tips List<String>
    descripition of parameter.
    valueType String
    value type.
    currentValue string
    current value.
    defaultValue string
    default value.
    needRestart string
    if need restart.
    paramName string
    name of parameter.
    status string
    if is running.
    textValue string
    text value.
    tips string[]
    descripition of parameter.
    valueType string
    value type.
    current_value str
    current value.
    default_value str
    default value.
    need_restart str
    if need restart.
    param_name str
    name of parameter.
    status str
    if is running.
    text_value str
    text value.
    tips Sequence[str]
    descripition of parameter.
    value_type str
    value type.
    currentValue String
    current value.
    defaultValue String
    default value.
    needRestart String
    if need restart.
    paramName String
    name of parameter.
    status String
    if is running.
    textValue String
    text value.
    tips List<String>
    descripition of parameter.
    valueType String
    value type.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack