// *** 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.Routeros.Iface
{
    public static class GetInterfaces
    {
        public static Task<GetInterfacesResult> InvokeAsync(GetInterfacesArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetInterfacesResult>("routeros:Iface/getInterfaces:getInterfaces", args ?? new GetInterfacesArgs(), options.WithDefaults());

        public static Output<GetInterfacesResult> Invoke(GetInterfacesInvokeArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<GetInterfacesResult>("routeros:Iface/getInterfaces:getInterfaces", args ?? new GetInterfacesInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetInterfacesArgs : global::Pulumi.InvokeArgs
    {
        [Input("___id_")]
        public int? ___id_ { get; set; }

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

        [Input("filter")]
        private Dictionary<string, object>? _filter;

        /// <summary>
        /// Additional request filtering options.
        /// </summary>
        public Dictionary<string, object> Filter
        {
            get => _filter ?? (_filter = new Dictionary<string, object>());
            set => _filter = value;
        }

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

    public sealed class GetInterfacesInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("___id_")]
        public Input<int>? ___id_ { get; set; }

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

        [Input("filter")]
        private InputMap<object>? _filter;

        /// <summary>
        /// Additional request filtering options.
        /// </summary>
        public InputMap<object> Filter
        {
            get => _filter ?? (_filter = new InputMap<object>());
            set => _filter = value;
        }

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


    [OutputType]
    public sealed class GetInterfacesResult
    {
        public readonly int? ___id_;
        public readonly string? ___path_;
        /// <summary>
        /// Additional request filtering options.
        /// </summary>
        public readonly ImmutableDictionary<string, object>? Filter;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.GetInterfacesInterfaceResult> Interfaces;

        [OutputConstructor]
        private GetInterfacesResult(
            int? ___id_,

            string? ___path_,

            ImmutableDictionary<string, object>? filter,

            string id,

            ImmutableArray<Outputs.GetInterfacesInterfaceResult> interfaces)
        {
            this.___id_ = ___id_;
            this.___path_ = ___path_;
            Filter = filter;
            Id = id;
            Interfaces = interfaces;
        }
    }
}
