tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getMongodbInstanceParams
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 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:
- Instance
Id string - InstanceId.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - InstanceId.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - InstanceId.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - InstanceId.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - InstanceId.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - InstanceId.
- id String
- result
Output StringFile - Used to save results.
getMongodbInstanceParams Result
The following output properties are available:
- Id string
- Instance
Enum List<GetParams Mongodb Instance Params Instance Enum Param> - Enum parameter.
- Instance
Id string - Instance
Integer List<GetParams Mongodb Instance Params Instance Integer Param> - Integer parameter.
- Instance
Multi List<GetParams Mongodb Instance Params Instance Multi Param> - multi parameter.
- Instance
Text List<GetParams Mongodb Instance Params Instance Text Param> - text parameter.
- Result
Output stringFile
- Id string
- Instance
Enum []GetParams Mongodb Instance Params Instance Enum Param - Enum parameter.
- Instance
Id string - Instance
Integer []GetParams Mongodb Instance Params Instance Integer Param - Integer parameter.
- Instance
Multi []GetParams Mongodb Instance Params Instance Multi Param - multi parameter.
- Instance
Text []GetParams Mongodb Instance Params Instance Text Param - text parameter.
- Result
Output stringFile
- id String
- instance
Enum List<GetParams Mongodb Instance Params Instance Enum Param> - Enum parameter.
- instance
Id String - instance
Integer List<GetParams Mongodb Instance Params Instance Integer Param> - Integer parameter.
- instance
Multi List<GetParams Mongodb Instance Params Instance Multi Param> - multi parameter.
- instance
Text List<GetParams Mongodb Instance Params Instance Text Param> - text parameter.
- result
Output StringFile
- id string
- instance
Enum GetParams Mongodb Instance Params Instance Enum Param[] - Enum parameter.
- instance
Id string - instance
Integer GetParams Mongodb Instance Params Instance Integer Param[] - Integer parameter.
- instance
Multi GetParams Mongodb Instance Params Instance Multi Param[] - multi parameter.
- instance
Text GetParams Mongodb Instance Params Instance Text Param[] - text parameter.
- result
Output stringFile
- id str
- instance_
enum_ Sequence[Getparams Mongodb Instance Params Instance Enum Param] - Enum parameter.
- instance_
id str - instance_
integer_ Sequence[Getparams Mongodb Instance Params Instance Integer Param] - Integer parameter.
- instance_
multi_ Sequence[Getparams Mongodb Instance Params Instance Multi Param] - multi parameter.
- instance_
text_ Sequence[Getparams Mongodb Instance Params Instance Text Param] - text parameter.
- result_
output_ strfile
- id String
- instance
Enum List<Property Map>Params - Enum parameter.
- instance
Id String - instance
Integer List<Property Map>Params - Integer parameter.
- instance
Multi List<Property Map>Params - multi parameter.
- instance
Text List<Property Map>Params - text parameter.
- result
Output StringFile
Supporting Types
GetMongodbInstanceParamsInstanceEnumParam
- Current
Value string - current value.
- Default
Value string - default value.
- Enum
Values List<string> - enum value.
- Need
Restart string - if need restart.
- Param
Name string - name of parameter.
- Status double
- if is running.
- Tips List<string>
- descripition of parameter.
- Value
Type string - value type.
- Current
Value string - current value.
- Default
Value string - default value.
- Enum
Values []string - enum value.
- Need
Restart string - if need restart.
- Param
Name string - name of parameter.
- Status float64
- if is running.
- Tips []string
- descripition of parameter.
- Value
Type string - value type.
- current
Value String - current value.
- default
Value String - default value.
- enum
Values List<String> - enum value.
- need
Restart String - if need restart.
- param
Name String - name of parameter.
- status Double
- if is running.
- tips List<String>
- descripition of parameter.
- value
Type String - value type.
- current
Value string - current value.
- default
Value string - default value.
- enum
Values string[] - enum value.
- need
Restart string - if need restart.
- param
Name string - name of parameter.
- status number
- if is running.
- tips string[]
- descripition of parameter.
- value
Type 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.
- current
Value String - current value.
- default
Value String - default value.
- enum
Values List<String> - enum value.
- need
Restart String - if need restart.
- param
Name String - name of parameter.
- status Number
- if is running.
- tips List<String>
- descripition of parameter.
- value
Type String - value type.
GetMongodbInstanceParamsInstanceIntegerParam
- Current
Value string - current value.
- Default
Value string - default value.
- Max string
- max value.
- Min string
- min value.
- Need
Restart string - if need restart.
- Param
Name string - name of parameter.
- Status double
- if is running.
- Tips List<string>
- descripition of parameter.
- Value
Type string - value type.
- Current
Value string - current value.
- Default
Value string - default value.
- Max string
- max value.
- Min string
- min value.
- Need
Restart string - if need restart.
- Param
Name string - name of parameter.
- Status float64
- if is running.
- Tips []string
- descripition of parameter.
- Value
Type string - value type.
- current
Value String - current value.
- default
Value String - default value.
- max String
- max value.
- min String
- min value.
- need
Restart String - if need restart.
- param
Name String - name of parameter.
- status Double
- if is running.
- tips List<String>
- descripition of parameter.
- value
Type String - value type.
- current
Value string - current value.
- default
Value string - default value.
- max string
- max value.
- min string
- min value.
- need
Restart string - if need restart.
- param
Name string - name of parameter.
- status number
- if is running.
- tips string[]
- descripition of parameter.
- value
Type 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.
- current
Value String - current value.
- default
Value String - default value.
- max String
- max value.
- min String
- min value.
- need
Restart String - if need restart.
- param
Name String - name of parameter.
- status Number
- if is running.
- tips List<String>
- descripition of parameter.
- value
Type String - value type.
GetMongodbInstanceParamsInstanceMultiParam
- Current
Value string - current value.
- Default
Value string - default value.
- Enum
Values List<string> - enum value.
- Need
Restart string - if need restart.
- Param
Name string - name of parameter.
- Status double
- if is running.
- Tips List<string>
- descripition of parameter.
- Value
Type string - value type.
- Current
Value string - current value.
- Default
Value string - default value.
- Enum
Values []string - enum value.
- Need
Restart string - if need restart.
- Param
Name string - name of parameter.
- Status float64
- if is running.
- Tips []string
- descripition of parameter.
- Value
Type string - value type.
- current
Value String - current value.
- default
Value String - default value.
- enum
Values List<String> - enum value.
- need
Restart String - if need restart.
- param
Name String - name of parameter.
- status Double
- if is running.
- tips List<String>
- descripition of parameter.
- value
Type String - value type.
- current
Value string - current value.
- default
Value string - default value.
- enum
Values string[] - enum value.
- need
Restart string - if need restart.
- param
Name string - name of parameter.
- status number
- if is running.
- tips string[]
- descripition of parameter.
- value
Type 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.
- current
Value String - current value.
- default
Value String - default value.
- enum
Values List<String> - enum value.
- need
Restart String - if need restart.
- param
Name String - name of parameter.
- status Number
- if is running.
- tips List<String>
- descripition of parameter.
- value
Type String - value type.
GetMongodbInstanceParamsInstanceTextParam
- Current
Value string - current value.
- Default
Value string - default value.
- Need
Restart string - if need restart.
- Param
Name string - name of parameter.
- Status string
- if is running.
- Text
Value string - text value.
- Tips List<string>
- descripition of parameter.
- Value
Type string - value type.
- Current
Value string - current value.
- Default
Value string - default value.
- Need
Restart string - if need restart.
- Param
Name string - name of parameter.
- Status string
- if is running.
- Text
Value string - text value.
- Tips []string
- descripition of parameter.
- Value
Type string - value type.
- current
Value String - current value.
- default
Value String - default value.
- need
Restart String - if need restart.
- param
Name String - name of parameter.
- status String
- if is running.
- text
Value String - text value.
- tips List<String>
- descripition of parameter.
- value
Type String - value type.
- current
Value string - current value.
- default
Value string - default value.
- need
Restart string - if need restart.
- param
Name string - name of parameter.
- status string
- if is running.
- text
Value string - text value.
- tips string[]
- descripition of parameter.
- value
Type 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.
- current
Value String - current value.
- default
Value String - default value.
- need
Restart String - if need restart.
- param
Name String - name of parameter.
- status String
- if is running.
- text
Value String - text value.
- tips List<String>
- descripition of parameter.
- value
Type String - value 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