// *** 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.Inputs
{

    public sealed class WirelesscontrollerMpskprofileMpskGroupMpskKeyArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Comment.
        /// </summary>
        [Input("comment")]
        public Input<string>? Comment { get; set; }

        /// <summary>
        /// MPSK client limit type options. Valid values: `default`, `unlimited`, `specified`.
        /// </summary>
        [Input("concurrentClientLimitType")]
        public Input<string>? ConcurrentClientLimitType { get; set; }

        /// <summary>
        /// Number of clients that can connect using this pre-shared key (1 - 65535, default is 256).
        /// </summary>
        [Input("concurrentClients")]
        public Input<int>? ConcurrentClients { get; set; }

        /// <summary>
        /// MAC address.
        /// </summary>
        [Input("mac")]
        public Input<string>? Mac { get; set; }

        [Input("mpskSchedules")]
        private InputList<Inputs.WirelesscontrollerMpskprofileMpskGroupMpskKeyMpskScheduleArgs>? _mpskSchedules;

        /// <summary>
        /// Firewall schedule for MPSK passphrase. The passphrase will be effective only when at least one schedule is valid. The structure of `mpsk_schedules` block is documented below.
        /// </summary>
        public InputList<Inputs.WirelesscontrollerMpskprofileMpskGroupMpskKeyMpskScheduleArgs> MpskSchedules
        {
            get => _mpskSchedules ?? (_mpskSchedules = new InputList<Inputs.WirelesscontrollerMpskprofileMpskGroupMpskKeyMpskScheduleArgs>());
            set => _mpskSchedules = value;
        }

        /// <summary>
        /// Pre-shared key name.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        [Input("passphrase")]
        private Input<string>? _passphrase;

        /// <summary>
        /// WPA Pre-shared key.
        /// </summary>
        public Input<string>? Passphrase
        {
            get => _passphrase;
            set
            {
                var emptySecret = Output.CreateSecret(0);
                _passphrase = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
            }
        }

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