// *** 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.Vcd
{
    public static class GetLbServerPool
    {
        public static Task<GetLbServerPoolResult> InvokeAsync(GetLbServerPoolArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetLbServerPoolResult>("vcd:index/getLbServerPool:getLbServerPool", args ?? new GetLbServerPoolArgs(), options.WithDefaults());

        public static Output<GetLbServerPoolResult> Invoke(GetLbServerPoolInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetLbServerPoolResult>("vcd:index/getLbServerPool:getLbServerPool", args ?? new GetLbServerPoolInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetLbServerPoolArgs : global::Pulumi.InvokeArgs
    {
        [Input("edgeGateway", required: true)]
        public string EdgeGateway { get; set; } = null!;

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

        [Input("org")]
        public string? Org { get; set; }

        [Input("vdc")]
        public string? Vdc { get; set; }

        public GetLbServerPoolArgs()
        {
        }
        public static new GetLbServerPoolArgs Empty => new GetLbServerPoolArgs();
    }

    public sealed class GetLbServerPoolInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("edgeGateway", required: true)]
        public Input<string> EdgeGateway { get; set; } = null!;

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

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

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

        public GetLbServerPoolInvokeArgs()
        {
        }
        public static new GetLbServerPoolInvokeArgs Empty => new GetLbServerPoolInvokeArgs();
    }


    [OutputType]
    public sealed class GetLbServerPoolResult
    {
        public readonly string Algorithm;
        public readonly string AlgorithmParameters;
        public readonly string Description;
        public readonly string EdgeGateway;
        public readonly bool EnableTransparency;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.GetLbServerPoolMemberResult> Members;
        public readonly string MonitorId;
        public readonly string Name;
        public readonly string? Org;
        public readonly string? Vdc;

        [OutputConstructor]
        private GetLbServerPoolResult(
            string algorithm,

            string algorithmParameters,

            string description,

            string edgeGateway,

            bool enableTransparency,

            string id,

            ImmutableArray<Outputs.GetLbServerPoolMemberResult> members,

            string monitorId,

            string name,

            string? org,

            string? vdc)
        {
            Algorithm = algorithm;
            AlgorithmParameters = algorithmParameters;
            Description = description;
            EdgeGateway = edgeGateway;
            EnableTransparency = enableTransparency;
            Id = id;
            Members = members;
            MonitorId = monitorId;
            Name = name;
            Org = org;
            Vdc = vdc;
        }
    }
}
