// *** 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.Cloud
{
    public static class APIGatewayCustomerDomains
    {
        public static Task<APIGatewayCustomerDomainsResult> InvokeAsync(APIGatewayCustomerDomainsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<APIGatewayCustomerDomainsResult>("tctest:Cloud/aPIGatewayCustomerDomains:APIGatewayCustomerDomains", args ?? new APIGatewayCustomerDomainsArgs(), options.WithDefaults());

        public static Output<APIGatewayCustomerDomainsResult> Invoke(APIGatewayCustomerDomainsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<APIGatewayCustomerDomainsResult>("tctest:Cloud/aPIGatewayCustomerDomains:APIGatewayCustomerDomains", args ?? new APIGatewayCustomerDomainsInvokeArgs(), options.WithDefaults());
    }


    public sealed class APIGatewayCustomerDomainsArgs : Pulumi.InvokeArgs
    {
        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

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

        public APIGatewayCustomerDomainsArgs()
        {
        }
    }

    public sealed class APIGatewayCustomerDomainsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

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

        public APIGatewayCustomerDomainsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class APIGatewayCustomerDomainsResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.APIGatewayCustomerDomainsListResult> Lists;
        public readonly string? ResultOutputFile;
        public readonly string ServiceId;

        [OutputConstructor]
        private APIGatewayCustomerDomainsResult(
            string id,

            ImmutableArray<Outputs.APIGatewayCustomerDomainsListResult> lists,

            string? resultOutputFile,

            string serviceId)
        {
            Id = id;
            Lists = lists;
            ResultOutputFile = resultOutputFile;
            ServiceId = serviceId;
        }
    }
}
