<filename>sdk/dotnet/GetSystemDscpbasedprioritylist.cs// *** 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 GetSystemDscpbasedprioritylist
    {
        /// <summary>
        /// Provides a list of `fortios.SystemDscpbasedpriority`.
        /// </summary>
        public static Task<GetSystemDscpbasedprioritylistResult> InvokeAsync(GetSystemDscpbasedprioritylistArgs? args = null, InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetSystemDscpbasedprioritylistResult>("fortios:index/getSystemDscpbasedprioritylist:getSystemDscpbasedprioritylist", args ?? new GetSystemDscpbasedprioritylistArgs(), options.WithDefaults());

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


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

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


    [OutputType]
    public sealed class GetSystemDscpbasedprioritylistResult
    {
        public readonly string? Filter;
        /// <summary>
        /// A list of the `fortios.SystemDscpbasedpriority`.
        /// </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 GetSystemDscpbasedprioritylistResult(
            string? filter,

            ImmutableArray<int> fosidlists,

            string id,

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