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

        /// <summary>
        /// Use this data source to query detailed information of tat invoker_records
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using Pulumi;
        /// using Tencentcloud = Pulumi.Tencentcloud;
        /// 
        /// class MyStack : Stack
        /// {
        ///     public MyStack()
        ///     {
        ///         var invokerRecords = Output.Create(Tencentcloud.Tat.GetInvokerRecords.InvokeAsync(new Tencentcloud.Tat.GetInvokerRecordsArgs
        ///         {
        ///             InvokerIds = 
        ///             {
        ///                 "ivk-cas4upyf",
        ///             },
        ///         }));
        ///     }
        /// 
        /// }
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetInvokerRecordsResult> Invoke(GetInvokerRecordsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetInvokerRecordsResult>("tencentcloud:Tat/getInvokerRecords:getInvokerRecords", args ?? new GetInvokerRecordsInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetInvokerRecordsArgs : Pulumi.InvokeArgs
    {
        [Input("invokerIds")]
        private List<string>? _invokerIds;

        /// <summary>
        /// List of invoker IDs. Up to 100 IDs are allowed.
        /// </summary>
        public List<string> InvokerIds
        {
            get => _invokerIds ?? (_invokerIds = new List<string>());
            set => _invokerIds = value;
        }

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

        public GetInvokerRecordsArgs()
        {
        }
    }

    public sealed class GetInvokerRecordsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("invokerIds")]
        private InputList<string>? _invokerIds;

        /// <summary>
        /// List of invoker IDs. Up to 100 IDs are allowed.
        /// </summary>
        public InputList<string> InvokerIds
        {
            get => _invokerIds ?? (_invokerIds = new InputList<string>());
            set => _invokerIds = value;
        }

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

        public GetInvokerRecordsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetInvokerRecordsResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<string> InvokerIds;
        /// <summary>
        /// Execution history of an invoker.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetInvokerRecordsInvokerRecordSetResult> InvokerRecordSets;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private GetInvokerRecordsResult(
            string id,

            ImmutableArray<string> invokerIds,

            ImmutableArray<Outputs.GetInvokerRecordsInvokerRecordSetResult> invokerRecordSets,

            string? resultOutputFile)
        {
            Id = id;
            InvokerIds = invokerIds;
            InvokerRecordSets = invokerRecordSets;
            ResultOutputFile = resultOutputFile;
        }
    }
}
