// *** 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 GetUserSamllist
    {
        /// <summary>
        /// Provides a list of `fortios.UserSaml`.
        /// </summary>
        public static Task<GetUserSamllistResult> InvokeAsync(GetUserSamllistArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetUserSamllistResult>("fortios:index/getUserSamllist:getUserSamllist", args ?? new GetUserSamllistArgs(), options.WithDefaults());

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


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

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


    [OutputType]
    public sealed class GetUserSamllistResult
    {
        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.UserSaml`.
        /// </summary>
        public readonly ImmutableArray<string> Namelists;
        public readonly string? Vdomparam;

        [OutputConstructor]
        private GetUserSamllistResult(
            string? filter,

            string id,

            ImmutableArray<string> namelists,

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