// *** 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
{
    /// <summary>
    /// Configure FortiManager. Applies to FortiOS Version `&lt;= 7.0.1`.
    /// 
    /// By design considerations, the feature is using the fortios.SystemCentralmanagement resource as documented below.
    /// 
    /// ## Example
    /// 
    /// ```csharp
    /// using System.Collections.Generic;
    /// using System.Linq;
    /// using Pulumi;
    /// using Fortios = Pulumiverse.Fortios;
    /// 
    /// return await Deployment.RunAsync(() =&gt; 
    /// {
    ///     var trname = new Fortios.SystemCentralmanagement("trname", new()
    ///     {
    ///         AllowMonitor = "enable",
    ///         AllowPushConfiguration = "enable",
    ///         AllowPushFirmware = "enable",
    ///         AllowRemoteFirmwareUpgrade = "enable",
    ///         EncAlgorithm = "high",
    ///         Fmg = "\"192.168.52.177\"",
    ///         IncludeDefaultServers = "enable",
    ///         Mode = "normal",
    ///         Type = "fortimanager",
    ///         Vdom = "root",
    ///     });
    /// 
    /// });
    /// ```
    /// </summary>
    [FortiosResourceType("fortios:index/systemFortimanager:SystemFortimanager")]
    public partial class SystemFortimanager : global::Pulumi.CustomResource
    {
        [Output("centralManagement")]
        public Output<string> CentralManagement { get; private set; } = null!;

        [Output("centralMgmtAutoBackup")]
        public Output<string> CentralMgmtAutoBackup { get; private set; } = null!;

        [Output("centralMgmtScheduleConfigRestore")]
        public Output<string> CentralMgmtScheduleConfigRestore { get; private set; } = null!;

        [Output("centralMgmtScheduleScriptRestore")]
        public Output<string> CentralMgmtScheduleScriptRestore { get; private set; } = null!;

        [Output("ip")]
        public Output<string> Ip { get; private set; } = null!;

        [Output("ipsec")]
        public Output<string> Ipsec { get; private set; } = null!;

        [Output("vdom")]
        public Output<string> Vdom { get; private set; } = null!;

        [Output("vdomparam")]
        public Output<string?> Vdomparam { get; private set; } = null!;


        /// <summary>
        /// Create a SystemFortimanager resource with the given unique name, arguments, and options.
        /// </summary>
        ///
        /// <param name="name">The unique name of the resource</param>
        /// <param name="args">The arguments used to populate this resource's properties</param>
        /// <param name="options">A bag of options that control this resource's behavior</param>
        public SystemFortimanager(string name, SystemFortimanagerArgs? args = null, CustomResourceOptions? options = null)
            : base("fortios:index/systemFortimanager:SystemFortimanager", name, args ?? new SystemFortimanagerArgs(), MakeResourceOptions(options, ""))
        {
        }

        private SystemFortimanager(string name, Input<string> id, SystemFortimanagerState? state = null, CustomResourceOptions? options = null)
            : base("fortios:index/systemFortimanager:SystemFortimanager", name, state, MakeResourceOptions(options, id))
        {
        }

        private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
        {
            var defaultOptions = new CustomResourceOptions
            {
                Version = Utilities.Version,
                PluginDownloadURL = "github://api.github.com/pulumiverse/pulumi-fortios",
            };
            var merged = CustomResourceOptions.Merge(defaultOptions, options);
            // Override the ID if one was specified for consistency with other language SDKs.
            merged.Id = id ?? merged.Id;
            return merged;
        }
        /// <summary>
        /// Get an existing SystemFortimanager resource's state with the given name, ID, and optional extra
        /// properties used to qualify the lookup.
        /// </summary>
        ///
        /// <param name="name">The unique name of the resulting resource.</param>
        /// <param name="id">The unique provider ID of the resource to lookup.</param>
        /// <param name="state">Any extra arguments used during the lookup.</param>
        /// <param name="options">A bag of options that control this resource's behavior</param>
        public static SystemFortimanager Get(string name, Input<string> id, SystemFortimanagerState? state = null, CustomResourceOptions? options = null)
        {
            return new SystemFortimanager(name, id, state, options);
        }
    }

    public sealed class SystemFortimanagerArgs : global::Pulumi.ResourceArgs
    {
        [Input("centralManagement")]
        public Input<string>? CentralManagement { get; set; }

        [Input("centralMgmtAutoBackup")]
        public Input<string>? CentralMgmtAutoBackup { get; set; }

        [Input("centralMgmtScheduleConfigRestore")]
        public Input<string>? CentralMgmtScheduleConfigRestore { get; set; }

        [Input("centralMgmtScheduleScriptRestore")]
        public Input<string>? CentralMgmtScheduleScriptRestore { get; set; }

        [Input("ip")]
        public Input<string>? Ip { get; set; }

        [Input("ipsec")]
        public Input<string>? Ipsec { get; set; }

        [Input("vdom")]
        public Input<string>? Vdom { get; set; }

        [Input("vdomparam")]
        public Input<string>? Vdomparam { get; set; }

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

    public sealed class SystemFortimanagerState : global::Pulumi.ResourceArgs
    {
        [Input("centralManagement")]
        public Input<string>? CentralManagement { get; set; }

        [Input("centralMgmtAutoBackup")]
        public Input<string>? CentralMgmtAutoBackup { get; set; }

        [Input("centralMgmtScheduleConfigRestore")]
        public Input<string>? CentralMgmtScheduleConfigRestore { get; set; }

        [Input("centralMgmtScheduleScriptRestore")]
        public Input<string>? CentralMgmtScheduleScriptRestore { get; set; }

        [Input("ip")]
        public Input<string>? Ip { get; set; }

        [Input("ipsec")]
        public Input<string>? Ipsec { get; set; }

        [Input("vdom")]
        public Input<string>? Vdom { get; set; }

        [Input("vdomparam")]
        public Input<string>? Vdomparam { get; set; }

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