// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Mongodb
{
    public static class GetInstanceParams
    {
        /// <summary>
        /// Use this data source to query detailed information of mongodb instance_params
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var instanceParams = Output.Create(Tencentcloud.Mongodb.GetInstanceParams.InvokeAsync(new Tencentcloud.Mongodb.GetInstanceParamsArgs
        ///         {
        ///             InstanceId = "cmgo-gwqk8669",
        ///         }));
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetInstanceParamsResult> InvokeAsync(GetInstanceParamsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetInstanceParamsResult>("tencentcloud:Mongodb/getInstanceParams:getInstanceParams", args ?? new GetInstanceParamsArgs(), options.WithDefaults());

        /// <summary>
        /// Use this data source to query detailed information of mongodb instance_params
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var instanceParams = Output.Create(Tencentcloud.Mongodb.GetInstanceParams.InvokeAsync(new Tencentcloud.Mongodb.GetInstanceParamsArgs
        ///         {
        ///             InstanceId = "cmgo-gwqk8669",
        ///         }));
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetInstanceParamsResult> Invoke(GetInstanceParamsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetInstanceParamsResult>("tencentcloud:Mongodb/getInstanceParams:getInstanceParams", args ?? new GetInstanceParamsInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetInstanceParamsArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// InstanceId.
        /// </summary>
        [Input("instanceId", required: true)]
        public string InstanceId { get; set; } = null!;

        /// <summary>
        /// Used to save results.
        /// </summary>
        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        public GetInstanceParamsArgs()
        {
        }
    }

    public sealed class GetInstanceParamsInvokeArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// InstanceId.
        /// </summary>
        [Input("instanceId", required: true)]
        public Input<string> InstanceId { get; set; } = null!;

        /// <summary>
        /// Used to save results.
        /// </summary>
        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        public GetInstanceParamsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetInstanceParamsResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// Enum parameter.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetInstanceParamsInstanceEnumParamResult> InstanceEnumParams;
        public readonly string InstanceId;
        /// <summary>
        /// Integer parameter.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetInstanceParamsInstanceIntegerParamResult> InstanceIntegerParams;
        /// <summary>
        /// multi parameter.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetInstanceParamsInstanceMultiParamResult> InstanceMultiParams;
        /// <summary>
        /// text parameter.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetInstanceParamsInstanceTextParamResult> InstanceTextParams;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private GetInstanceParamsResult(
            string id,

            ImmutableArray<Outputs.GetInstanceParamsInstanceEnumParamResult> instanceEnumParams,

            string instanceId,

            ImmutableArray<Outputs.GetInstanceParamsInstanceIntegerParamResult> instanceIntegerParams,

            ImmutableArray<Outputs.GetInstanceParamsInstanceMultiParamResult> instanceMultiParams,

            ImmutableArray<Outputs.GetInstanceParamsInstanceTextParamResult> instanceTextParams,

            string? resultOutputFile)
        {
            Id = id;
            InstanceEnumParams = instanceEnumParams;
            InstanceId = instanceId;
            InstanceIntegerParams = instanceIntegerParams;
            InstanceMultiParams = instanceMultiParams;
            InstanceTextParams = instanceTextParams;
            ResultOutputFile = resultOutputFile;
        }
    }
}
