<reponame>Dwonczykj/gember_deploy<filename>sdk/dotnet/Tencentcloud/Tsf/GetApplicationPublicConfig.cs// *** 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.Tsf
{
    public static class GetApplicationPublicConfig
    {
        /// <summary>
        /// Use this data source to query detailed information of tsf application_public_config
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var applicationPublicConfig = Output.Create(Tencentcloud.Tsf.GetApplicationPublicConfig.InvokeAsync(new Tencentcloud.Tsf.GetApplicationPublicConfigArgs
        ///         {
        ///             ConfigId = "dcfg-p-evjrbgly",
        ///             ConfigName = "dsadsa",
        ///             ConfigVersion = "123",
        ///         }));
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetApplicationPublicConfigResult> InvokeAsync(GetApplicationPublicConfigArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetApplicationPublicConfigResult>("tencentcloud:Tsf/getApplicationPublicConfig:getApplicationPublicConfig", args ?? new GetApplicationPublicConfigArgs(), options.WithDefaults());

        /// <summary>
        /// Use this data source to query detailed information of tsf application_public_config
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var applicationPublicConfig = Output.Create(Tencentcloud.Tsf.GetApplicationPublicConfig.InvokeAsync(new Tencentcloud.Tsf.GetApplicationPublicConfigArgs
        ///         {
        ///             ConfigId = "dcfg-p-evjrbgly",
        ///             ConfigName = "dsadsa",
        ///             ConfigVersion = "123",
        ///         }));
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetApplicationPublicConfigResult> Invoke(GetApplicationPublicConfigInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetApplicationPublicConfigResult>("tencentcloud:Tsf/getApplicationPublicConfig:getApplicationPublicConfig", args ?? new GetApplicationPublicConfigInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetApplicationPublicConfigArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// Config ID. Query all items if not passed, high priority.
        /// </summary>
        [Input("configId")]
        public string? ConfigId { get; set; }

        [Input("configIdLists")]
        private List<string>? _configIdLists;

        /// <summary>
        /// Config ID list. Query all items if not passed, low priority.
        /// </summary>
        public List<string> ConfigIdLists
        {
            get => _configIdLists ?? (_configIdLists = new List<string>());
            set => _configIdLists = value;
        }

        /// <summary>
        /// Config name. Exact query. Query all items if not passed.
        /// </summary>
        [Input("configName")]
        public string? ConfigName { get; set; }

        /// <summary>
        /// Config version. Exact query. Query all items if not passed.
        /// </summary>
        [Input("configVersion")]
        public string? ConfigVersion { get; set; }

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

        public GetApplicationPublicConfigArgs()
        {
        }
    }

    public sealed class GetApplicationPublicConfigInvokeArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// Config ID. Query all items if not passed, high priority.
        /// </summary>
        [Input("configId")]
        public Input<string>? ConfigId { get; set; }

        [Input("configIdLists")]
        private InputList<string>? _configIdLists;

        /// <summary>
        /// Config ID list. Query all items if not passed, low priority.
        /// </summary>
        public InputList<string> ConfigIdLists
        {
            get => _configIdLists ?? (_configIdLists = new InputList<string>());
            set => _configIdLists = value;
        }

        /// <summary>
        /// Config name. Exact query. Query all items if not passed.
        /// </summary>
        [Input("configName")]
        public Input<string>? ConfigName { get; set; }

        /// <summary>
        /// Config version. Exact query. Query all items if not passed.
        /// </summary>
        [Input("configVersion")]
        public Input<string>? ConfigVersion { get; set; }

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

        public GetApplicationPublicConfigInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetApplicationPublicConfigResult
    {
        /// <summary>
        /// Config ID. Note: This field may return null, indicating that no valid value can be obtained.
        /// </summary>
        public readonly string? ConfigId;
        public readonly ImmutableArray<string> ConfigIdLists;
        /// <summary>
        /// Config name. Note: This field may return null, indicating that no valid value can be obtained.
        /// </summary>
        public readonly string? ConfigName;
        /// <summary>
        /// Config version. Note: This field may return null, indicating that no valid value can be obtained.
        /// </summary>
        public readonly string? ConfigVersion;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? ResultOutputFile;
        /// <summary>
        /// Paginated global configuration  list. Note: This field may return null, indicating that no valid value can be obtained.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetApplicationPublicConfigResultResult> Results;

        [OutputConstructor]
        private GetApplicationPublicConfigResult(
            string? configId,

            ImmutableArray<string> configIdLists,

            string? configName,

            string? configVersion,

            string id,

            string? resultOutputFile,

            ImmutableArray<Outputs.GetApplicationPublicConfigResultResult> results)
        {
            ConfigId = configId;
            ConfigIdLists = configIdLists;
            ConfigName = configName;
            ConfigVersion = configVersion;
            Id = id;
            ResultOutputFile = resultOutputFile;
            Results = results;
        }
    }
}
