<reponame>pulumiverse/pulumi-fortios<filename>sdk/dotnet/GetRouterPrefixlistlist.cs<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 Pulumiverse.Fortios
{
    public static class GetRouterPrefixlistlist
    {
        /// <summary>
        /// Provides a list of `fortios.RouterPrefixlist`.
        /// </summary>
        public static Task<GetRouterPrefixlistlistResult> InvokeAsync(GetRouterPrefixlistlistArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetRouterPrefixlistlistResult>("fortios:index/getRouterPrefixlistlist:getRouterPrefixlistlist", args ?? new GetRouterPrefixlistlistArgs(), options.WithDefaults());

        /// <summary>
        /// Provides a list of `fortios.RouterPrefixlist`.
        /// </summary>
        public static Output<GetRouterPrefixlistlistResult> Invoke(GetRouterPrefixlistlistInvokeArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.Invoke<GetRouterPrefixlistlistResult>("fortios:index/getRouterPrefixlistlist:getRouterPrefixlistlist", args ?? new GetRouterPrefixlistlistInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetRouterPrefixlistlistArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// A filter used to scope the list. See Filter results of datasource.
        /// </summary>
        [Input("filter")]
        public string? Filter { get; set; }

        /// <summary>
        /// Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
        /// </summary>
        [Input("vdomparam")]
        public string? Vdomparam { get; set; }

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

    public sealed class GetRouterPrefixlistlistInvokeArgs : global::Pulumi.InvokeArgs
    {
        /// <summary>
        /// A filter used to scope the list. See Filter results of datasource.
        /// </summary>
        [Input("filter")]
        public Input<string>? Filter { get; set; }

        /// <summary>
        /// Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
        /// </summary>
        [Input("vdomparam")]
        public Input<string>? Vdomparam { get; set; }

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


    [OutputType]
    public sealed class GetRouterPrefixlistlistResult
    {
        public readonly string? Filter;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// A list of the `fortios.RouterPrefixlist`.
        /// </summary>
        public readonly ImmutableArray<string> Namelists;
        public readonly string? Vdomparam;

        [OutputConstructor]
        private GetRouterPrefixlistlistResult(
            string? filter,

            string id,

            ImmutableArray<string> namelists,

            string? vdomparam)
        {
            Filter = filter;
            Id = id;
            Namelists = namelists;
            Vdomparam = vdomparam;
        }
    }
}
