// *** WARNING: this file was generated by pulumigen. ***
// *** 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.ScalewayInstances.Ips
{
    public static class ListIps
    {
        public static Task<ListIpsResult> InvokeAsync(ListIpsArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<ListIpsResult>("scaleway-instances:ips:listIps", args ?? new ListIpsArgs(), options.WithDefaults());

        public static Output<ListIpsResult> Invoke(ListIpsInvokeArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<ListIpsResult>("scaleway-instances:ips:listIps", args ?? new ListIpsInvokeArgs(), options.WithDefaults());
    }


    public sealed class ListIpsArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The zone you want to target
        /// </summary>
        [Input("zone", required: true)]
        public string Zone { get; set; } = null!;

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

    public sealed class ListIpsInvokeArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// The zone you want to target
        /// </summary>
        [Input("zone", required: true)]
        public Input<string> Zone { get; set; } = null!;

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


    [OutputType]
    public sealed class ListIpsResult
    {
        public readonly Outputs.ScalewayInstanceV1ListIpsResponse Items;

        [OutputConstructor]
        private ListIpsResult(Outputs.ScalewayInstanceV1ListIpsResponse items)
        {
            Items = items;
        }
    }
}
