<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;
using Pulumi;

namespace luxifer.Scaleway
{
    public static class GetLbIps
    {
        /// <summary>
        /// Gets information about multiple Load Balancer IPs.
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using System.Collections.Generic;
        /// using Pulumi;
        /// using Scaleway = Pulumi.Scaleway;
        /// 
        /// return await Deployment.RunAsync(() =&gt; 
        /// {
        ///     var myKey = Scaleway.GetLbIps.Invoke(new()
        ///     {
        ///         IpCidrRange = "0.0.0.0/0",
        ///         Zone = "fr-par-2",
        ///     });
        /// 
        /// });
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Task<GetLbIpsResult> InvokeAsync(GetLbIpsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetLbIpsResult>("scaleway:index/getLbIps:getLbIps", args ?? new GetLbIpsArgs(), options.WithDefaults());

        /// <summary>
        /// Gets information about multiple Load Balancer IPs.
        /// 
        /// {{% examples %}}
        /// ## Example Usage
        /// {{% example %}}
        /// 
        /// ```csharp
        /// using System.Collections.Generic;
        /// using Pulumi;
        /// using Scaleway = Pulumi.Scaleway;
        /// 
        /// return await Deployment.RunAsync(() =&gt; 
        /// {
        ///     var myKey = Scaleway.GetLbIps.Invoke(new()
        ///     {
        ///         IpCidrRange = "0.0.0.0/0",
        ///         Zone = "fr-par-2",
        ///     });
        /// 
        /// });
        /// ```
        /// {{% /example %}}
        /// {{% /examples %}}
        /// </summary>
        public static Output<GetLbIpsResult> Invoke(GetLbIpsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetLbIpsResult>("scaleway:index/getLbIps:getLbIps", args ?? new GetLbIpsInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetLbIpsArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The IP CIDR range used as a filter. IPs within a CIDR block like it are listed.
        /// </summary>
        [Input("ipCidrRange")]
        public string? IpCidrRange { get; set; }

        /// <summary>
        /// The ID of the project the load-balancer is associated with.
        /// </summary>
        [Input("projectId")]
        public string? ProjectId { get; set; }

        /// <summary>
        /// `zone`) The zone in which IPs exist.
        /// </summary>
        [Input("zone")]
        public string? Zone { get; set; }

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

    public sealed class GetLbIpsInvokeArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The IP CIDR range used as a filter. IPs within a CIDR block like it are listed.
        /// </summary>
        [Input("ipCidrRange")]
        public Input<string>? IpCidrRange { get; set; }

        /// <summary>
        /// The ID of the project the load-balancer is associated with.
        /// </summary>
        [Input("projectId")]
        public Input<string>? ProjectId { get; set; }

        /// <summary>
        /// `zone`) The zone in which IPs exist.
        /// </summary>
        [Input("zone")]
        public Input<string>? Zone { get; set; }

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


    [OutputType]
    public sealed class GetLbIpsResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? IpCidrRange;
        /// <summary>
        /// List of found IPs
        /// </summary>
        public readonly ImmutableArray<Outputs.GetLbIpsIpResult> Ips;
        /// <summary>
        /// The organization ID the load-balancer is associated with.
        /// </summary>
        public readonly string OrganizationId;
        /// <summary>
        /// The ID of the project the load-balancer is associated with.
        /// </summary>
        public readonly string ProjectId;
        /// <summary>
        /// The zone in which the load-balancer is.
        /// </summary>
        public readonly string Zone;

        [OutputConstructor]
        private GetLbIpsResult(
            string id,

            string? ipCidrRange,

            ImmutableArray<Outputs.GetLbIpsIpResult> ips,

            string organizationId,

            string projectId,

            string zone)
        {
            Id = id;
            IpCidrRange = ipCidrRange;
            Ips = ips;
            OrganizationId = organizationId;
            ProjectId = projectId;
            Zone = zone;
        }
    }
}
