<reponame>Kagashino/pulumi-tctest<gh_stars>0// *** 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 HttpDomains
    {
        public static Task<HttpDomainsResult> InvokeAsync(HttpDomainsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<HttpDomainsResult>("tctest:Gaap/httpDomains:HttpDomains", args ?? new HttpDomainsArgs(), options.WithDefaults());

        public static Output<HttpDomainsResult> Invoke(HttpDomainsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<HttpDomainsResult>("tctest:Gaap/httpDomains:HttpDomains", args ?? new HttpDomainsInvokeArgs(), options.WithDefaults());
    }


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

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

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

        public HttpDomainsArgs()
        {
        }
    }

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

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

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

        public HttpDomainsInvokeArgs()
        {
        }
    }


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

        [OutputConstructor]
        private HttpDomainsResult(
            string domain,

            ImmutableArray<Outputs.HttpDomainsDomainResult> domains,

            string id,

            string listenerId,

            string? resultOutputFile)
        {
            Domain = domain;
            Domains = domains;
            Id = id;
            ListenerId = listenerId;
            ResultOutputFile = resultOutputFile;
        }
    }
}
