// *** 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.Availability
{
    public static class ZonesByProduct
    {
        public static Task<ZonesByProductResult> InvokeAsync(ZonesByProductArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<ZonesByProductResult>("tctest:Availability/zonesByProduct:ZonesByProduct", args ?? new ZonesByProductArgs(), options.WithDefaults());

        public static Output<ZonesByProductResult> Invoke(ZonesByProductInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<ZonesByProductResult>("tctest:Availability/zonesByProduct:ZonesByProduct", args ?? new ZonesByProductInvokeArgs(), options.WithDefaults());
    }


    public sealed class ZonesByProductArgs : Pulumi.InvokeArgs
    {
        [Input("includeUnavailable")]
        public bool? IncludeUnavailable { get; set; }

        [Input("name")]
        public string? Name { get; set; }

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

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

        public ZonesByProductArgs()
        {
        }
    }

    public sealed class ZonesByProductInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("includeUnavailable")]
        public Input<bool>? IncludeUnavailable { get; set; }

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

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

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

        public ZonesByProductInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class ZonesByProductResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly bool? IncludeUnavailable;
        public readonly string? Name;
        public readonly string Product;
        public readonly string? ResultOutputFile;
        public readonly ImmutableArray<Outputs.ZonesByProductZoneResult> Zones;

        [OutputConstructor]
        private ZonesByProductResult(
            string id,

            bool? includeUnavailable,

            string? name,

            string product,

            string? resultOutputFile,

            ImmutableArray<Outputs.ZonesByProductZoneResult> zones)
        {
            Id = id;
            IncludeUnavailable = includeUnavailable;
            Name = name;
            Product = product;
            ResultOutputFile = resultOutputFile;
            Zones = zones;
        }
    }
}
