// *** 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.Tat
{
    public static class GetInvoker
    {
        /// <summary>
        /// Use this data source to query detailed information of tat invoker
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var invoker = Output.Create(Tencentcloud.Tat.GetInvoker.InvokeAsync());
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetInvokerResult> InvokeAsync(GetInvokerArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetInvokerResult>("tencentcloud:Tat/getInvoker:getInvoker", args ?? new GetInvokerArgs(), options.WithDefaults());

        /// <summary>
        /// Use this data source to query detailed information of tat invoker
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var invoker = Output.Create(Tencentcloud.Tat.GetInvoker.InvokeAsync());
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetInvokerResult> Invoke(GetInvokerInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetInvokerResult>("tencentcloud:Tat/getInvoker:getInvoker", args ?? new GetInvokerInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetInvokerArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// Command ID.
        /// </summary>
        [Input("commandId")]
        public string? CommandId { get; set; }

        /// <summary>
        /// Invoker ID.
        /// </summary>
        [Input("invokerId")]
        public string? InvokerId { get; set; }

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

        /// <summary>
        /// Invoker type.
        /// </summary>
        [Input("type")]
        public string? Type { get; set; }

        public GetInvokerArgs()
        {
        }
    }

    public sealed class GetInvokerInvokeArgs : Pulumi.InvokeArgs
    {
        /// <summary>
        /// Command ID.
        /// </summary>
        [Input("commandId")]
        public Input<string>? CommandId { get; set; }

        /// <summary>
        /// Invoker ID.
        /// </summary>
        [Input("invokerId")]
        public Input<string>? InvokerId { get; set; }

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

        /// <summary>
        /// Invoker type.
        /// </summary>
        [Input("type")]
        public Input<string>? Type { get; set; }

        public GetInvokerInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetInvokerResult
    {
        /// <summary>
        /// Command ID.
        /// </summary>
        public readonly string? CommandId;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// Invoker ID.
        /// </summary>
        public readonly string? InvokerId;
        /// <summary>
        /// Invoker information.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetInvokerInvokerSetResult> InvokerSets;
        public readonly string? ResultOutputFile;
        /// <summary>
        /// Invoker type.
        /// </summary>
        public readonly string? Type;

        [OutputConstructor]
        private GetInvokerResult(
            string? commandId,

            string id,

            string? invokerId,

            ImmutableArray<Outputs.GetInvokerInvokerSetResult> invokerSets,

            string? resultOutputFile,

            string? type)
        {
            CommandId = commandId;
            Id = id;
            InvokerId = invokerId;
            InvokerSets = invokerSets;
            ResultOutputFile = resultOutputFile;
            Type = type;
        }
    }
}
