<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
{
    /// <summary>
    /// This resource supports Create/Read/Update/Delete firewall object virtual ip for FortiManager.
    /// 
    /// ## Example Usage
    /// 
    /// ```csharp
    /// using System.Collections.Generic;
    /// using System.Linq;
    /// using Pulumi;
    /// using Fortios = Pulumiverse.Fortios;
    /// 
    /// return await Deployment.RunAsync(() =&gt; 
    /// {
    ///     var test1 = new Fortios.FmgFirewallObjectVip("test1", new()
    ///     {
    ///         ArpReply = "enable",
    ///         Comment = "test obj vip",
    ///         ConfigDefault = "enable",
    ///         ExtIntf = "any",
    ///         ExtIp = "2.2.2.2",
    ///         MappedIp = "1.1.1.1",
    ///         Type = "static-nat",
    ///     });
    /// 
    ///     var test2 = new Fortios.FmgFirewallObjectVip("test2", new()
    ///     {
    ///         ArpReply = "disable",
    ///         Comment = "test obj vip",
    ///         ConfigDefault = "enable",
    ///         ExtIp = "2.2.2.2-2.2.2.100",
    ///         MappedAddr = "update.microsoft.com",
    ///         Type = "fqdn",
    ///     });
    /// 
    /// });
    /// ```
    /// </summary>
    [FortiosResourceType("fortios:index/fmgFirewallObjectVip:FmgFirewallObjectVip")]
    public partial class FmgFirewallObjectVip : global::Pulumi.CustomResource
    {
        /// <summary>
        /// ADOM name. default is 'root'.
        /// </summary>
        [Output("adom")]
        public Output<string?> Adom { get; private set; } = null!;

        /// <summary>
        /// Enable to respond to ARP requests for this virtual IP address. Enabled by default.
        /// </summary>
        [Output("arpReply")]
        public Output<string?> ArpReply { get; private set; } = null!;

        /// <summary>
        /// Comments.
        /// </summary>
        [Output("comment")]
        public Output<string?> Comment { get; private set; } = null!;

        /// <summary>
        /// Enable/Disable config default value. enabled by default.
        /// </summary>
        [Output("configDefault")]
        public Output<string?> ConfigDefault { get; private set; } = null!;

        /// <summary>
        /// Interface connected to the source network that receives the packets that will be forwarded to the destination network.
        /// </summary>
        [Output("extIntf")]
        public Output<string?> ExtIntf { get; private set; } = null!;

        /// <summary>
        /// IP address or address range on the external interface that you want to map to an address or address range on the destination network.
        /// </summary>
        [Output("extIp")]
        public Output<string?> ExtIp { get; private set; } = null!;

        /// <summary>
        /// Mapped FQDN address name.
        /// </summary>
        [Output("mappedAddr")]
        public Output<string?> MappedAddr { get; private set; } = null!;

        /// <summary>
        /// Mapped Ip address.
        /// </summary>
        [Output("mappedIp")]
        public Output<string?> MappedIp { get; private set; } = null!;

        /// <summary>
        /// Virtual IP name.
        /// </summary>
        [Output("name")]
        public Output<string> Name { get; private set; } = null!;

        /// <summary>
        /// Virtual IP type, Enum: ["static-nat", "dns-translation", "fqdn"]
        /// </summary>
        [Output("type")]
        public Output<string?> Type { get; private set; } = null!;


        /// <summary>
        /// Create a FmgFirewallObjectVip 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 FmgFirewallObjectVip(string name, FmgFirewallObjectVipArgs? args = null, CustomResourceOptions? options = null)
            : base("fortios:index/fmgFirewallObjectVip:FmgFirewallObjectVip", name, args ?? new FmgFirewallObjectVipArgs(), MakeResourceOptions(options, ""))
        {
        }

        private FmgFirewallObjectVip(string name, Input<string> id, FmgFirewallObjectVipState? state = null, CustomResourceOptions? options = null)
            : base("fortios:index/fmgFirewallObjectVip:FmgFirewallObjectVip", 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 FmgFirewallObjectVip 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 FmgFirewallObjectVip Get(string name, Input<string> id, FmgFirewallObjectVipState? state = null, CustomResourceOptions? options = null)
        {
            return new FmgFirewallObjectVip(name, id, state, options);
        }
    }

    public sealed class FmgFirewallObjectVipArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// ADOM name. default is 'root'.
        /// </summary>
        [Input("adom")]
        public Input<string>? Adom { get; set; }

        /// <summary>
        /// Enable to respond to ARP requests for this virtual IP address. Enabled by default.
        /// </summary>
        [Input("arpReply")]
        public Input<string>? ArpReply { get; set; }

        /// <summary>
        /// Comments.
        /// </summary>
        [Input("comment")]
        public Input<string>? Comment { get; set; }

        /// <summary>
        /// Enable/Disable config default value. enabled by default.
        /// </summary>
        [Input("configDefault")]
        public Input<string>? ConfigDefault { get; set; }

        /// <summary>
        /// Interface connected to the source network that receives the packets that will be forwarded to the destination network.
        /// </summary>
        [Input("extIntf")]
        public Input<string>? ExtIntf { get; set; }

        /// <summary>
        /// IP address or address range on the external interface that you want to map to an address or address range on the destination network.
        /// </summary>
        [Input("extIp")]
        public Input<string>? ExtIp { get; set; }

        /// <summary>
        /// Mapped FQDN address name.
        /// </summary>
        [Input("mappedAddr")]
        public Input<string>? MappedAddr { get; set; }

        /// <summary>
        /// Mapped Ip address.
        /// </summary>
        [Input("mappedIp")]
        public Input<string>? MappedIp { get; set; }

        /// <summary>
        /// Virtual IP name.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        /// <summary>
        /// Virtual IP type, Enum: ["static-nat", "dns-translation", "fqdn"]
        /// </summary>
        [Input("type")]
        public Input<string>? Type { get; set; }

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

    public sealed class FmgFirewallObjectVipState : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// ADOM name. default is 'root'.
        /// </summary>
        [Input("adom")]
        public Input<string>? Adom { get; set; }

        /// <summary>
        /// Enable to respond to ARP requests for this virtual IP address. Enabled by default.
        /// </summary>
        [Input("arpReply")]
        public Input<string>? ArpReply { get; set; }

        /// <summary>
        /// Comments.
        /// </summary>
        [Input("comment")]
        public Input<string>? Comment { get; set; }

        /// <summary>
        /// Enable/Disable config default value. enabled by default.
        /// </summary>
        [Input("configDefault")]
        public Input<string>? ConfigDefault { get; set; }

        /// <summary>
        /// Interface connected to the source network that receives the packets that will be forwarded to the destination network.
        /// </summary>
        [Input("extIntf")]
        public Input<string>? ExtIntf { get; set; }

        /// <summary>
        /// IP address or address range on the external interface that you want to map to an address or address range on the destination network.
        /// </summary>
        [Input("extIp")]
        public Input<string>? ExtIp { get; set; }

        /// <summary>
        /// Mapped FQDN address name.
        /// </summary>
        [Input("mappedAddr")]
        public Input<string>? MappedAddr { get; set; }

        /// <summary>
        /// Mapped Ip address.
        /// </summary>
        [Input("mappedIp")]
        public Input<string>? MappedIp { get; set; }

        /// <summary>
        /// Virtual IP name.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        /// <summary>
        /// Virtual IP type, Enum: ["static-nat", "dns-translation", "fqdn"]
        /// </summary>
        [Input("type")]
        public Input<string>? Type { get; set; }

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