<filename>sdk/dotnet/PrivateNics/ListPrivateNICs.cs// *** 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.PrivateNics
{
    public static class ListPrivateNICs
    {
        public static Task<ListPrivateNICsResult> InvokeAsync(ListPrivateNICsArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<ListPrivateNICsResult>("scaleway-instances:private_nics:listPrivateNICs", args ?? new ListPrivateNICsArgs(), options.WithDefaults());

        public static Output<ListPrivateNICsResult> Invoke(ListPrivateNICsInvokeArgs args, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<ListPrivateNICsResult>("scaleway-instances:private_nics:listPrivateNICs", args ?? new ListPrivateNICsInvokeArgs(), options.WithDefaults());
    }


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

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

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

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

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

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


    [OutputType]
    public sealed class ListPrivateNICsResult
    {
        public readonly Outputs.ScalewayInstanceV1ListPrivateNICsResponse Items;

        [OutputConstructor]
        private ListPrivateNICsResult(Outputs.ScalewayInstanceV1ListPrivateNICsResponse items)
        {
            Items = items;
        }
    }
}
