// *** 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;

namespace Pulumi.Tctest.Gaap
{
    public static class DomainErrorPageInfoList
    {
        public static Task<DomainErrorPageInfoListResult> InvokeAsync(DomainErrorPageInfoListArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<DomainErrorPageInfoListResult>("tctest:Gaap/domainErrorPageInfoList:DomainErrorPageInfoList", args ?? new DomainErrorPageInfoListArgs(), options.WithDefaults());

        public static Output<DomainErrorPageInfoListResult> Invoke(DomainErrorPageInfoListInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<DomainErrorPageInfoListResult>("tctest:Gaap/domainErrorPageInfoList:DomainErrorPageInfoList", args ?? new DomainErrorPageInfoListInvokeArgs(), options.WithDefaults());
    }


    public sealed class DomainErrorPageInfoListArgs : Pulumi.InvokeArgs
    {
        [Input("domain", required: true)]
        public string Domain { get; set; } = null!;

        [Input("ids")]
        private List<string>? _ids;
        public List<string> Ids
        {
            get => _ids ?? (_ids = new List<string>());
            set => _ids = value;
        }

        [Input("listenerId", required: true)]
        public string ListenerId { get; set; } = null!;

        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        public DomainErrorPageInfoListArgs()
        {
        }
    }

    public sealed class DomainErrorPageInfoListInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("domain", required: true)]
        public Input<string> Domain { get; set; } = null!;

        [Input("ids")]
        private InputList<string>? _ids;
        public InputList<string> Ids
        {
            get => _ids ?? (_ids = new InputList<string>());
            set => _ids = value;
        }

        [Input("listenerId", required: true)]
        public Input<string> ListenerId { get; set; } = null!;

        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        public DomainErrorPageInfoListInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class DomainErrorPageInfoListResult
    {
        public readonly string Domain;
        public readonly ImmutableArray<Outputs.DomainErrorPageInfoListErrorPageInfoListResult> ErrorPageInfoLists;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<string> Ids;
        public readonly string ListenerId;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private DomainErrorPageInfoListResult(
            string domain,

            ImmutableArray<Outputs.DomainErrorPageInfoListErrorPageInfoListResult> errorPageInfoLists,

            string id,

            ImmutableArray<string> ids,

            string listenerId,

            string? resultOutputFile)
        {
            Domain = domain;
            ErrorPageInfoLists = errorPageInfoLists;
            Id = id;
            Ids = ids;
            ListenerId = listenerId;
            ResultOutputFile = resultOutputFile;
        }
    }
}
