<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 GetSystemdhcpServerlist
    {
        /// <summary>
        /// Provides a list of `fortios.SystemdhcpServer`.
        /// </summary>
        public static Task<GetSystemdhcpServerlistResult> InvokeAsync(GetSystemdhcpServerlistArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetSystemdhcpServerlistResult>("fortios:index/getSystemdhcpServerlist:getSystemdhcpServerlist", args ?? new GetSystemdhcpServerlistArgs(), options.WithDefaults());

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


    public sealed class GetSystemdhcpServerlistArgs : 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 GetSystemdhcpServerlistArgs()
        {
        }
        public static new GetSystemdhcpServerlistArgs Empty => new GetSystemdhcpServerlistArgs();
    }

    public sealed class GetSystemdhcpServerlistInvokeArgs : 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 GetSystemdhcpServerlistInvokeArgs()
        {
        }
        public static new GetSystemdhcpServerlistInvokeArgs Empty => new GetSystemdhcpServerlistInvokeArgs();
    }


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

        [OutputConstructor]
        private GetSystemdhcpServerlistResult(
            string? filter,

            ImmutableArray<int> fosidlists,

            string id,

            string? vdomparam)
        {
            Filter = filter;
            Fosidlists = fosidlists;
            Id = id;
            Vdomparam = vdomparam;
        }
    }
}
