// *** 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;

namespace Pulumi.Vcd
{
    [VcdResourceType("vcd:index/edgeGatewaySettings:EdgeGatewaySettings")]
    public partial class EdgeGatewaySettings : global::Pulumi.CustomResource
    {
        /// <summary>
        /// ID of the edge gateway. Required when 'edge_gateway_name' is not set
        /// </summary>
        [Output("edgeGatewayId")]
        public Output<string> EdgeGatewayId { get; private set; } = null!;

        /// <summary>
        /// Name of the edge gateway. Required when 'edge_gateway_id' is not set
        /// </summary>
        [Output("edgeGatewayName")]
        public Output<string> EdgeGatewayName { get; private set; } = null!;

        /// <summary>
        /// 'accept' or 'deny'. Default 'deny'
        /// </summary>
        [Output("fwDefaultRuleAction")]
        public Output<string?> FwDefaultRuleAction { get; private set; } = null!;

        /// <summary>
        /// Enable logging for default rule. Default 'false'
        /// </summary>
        [Output("fwDefaultRuleLoggingEnabled")]
        public Output<bool?> FwDefaultRuleLoggingEnabled { get; private set; } = null!;

        /// <summary>
        /// Enable firewall. Default 'true'
        /// </summary>
        [Output("fwEnabled")]
        public Output<bool?> FwEnabled { get; private set; } = null!;

        /// <summary>
        /// Enable load balancer acceleration. (Disabled by default)
        /// </summary>
        [Output("lbAccelerationEnabled")]
        public Output<bool?> LbAccelerationEnabled { get; private set; } = null!;

        /// <summary>
        /// Enable load balancing. (Disabled by default)
        /// </summary>
        [Output("lbEnabled")]
        public Output<bool?> LbEnabled { get; private set; } = null!;

        /// <summary>
        /// Enable load balancer logging. (Disabled by default)
        /// </summary>
        [Output("lbLoggingEnabled")]
        public Output<bool?> LbLoggingEnabled { get; private set; } = null!;

        /// <summary>
        /// Log level. One of 'emergency', 'alert', 'critical', 'error', 'warning', 'notice', 'info', 'debug'. ('info' by default)
        /// </summary>
        [Output("lbLoglevel")]
        public Output<string?> LbLoglevel { get; private set; } = null!;

        /// <summary>
        /// The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across
        /// different organizations
        /// </summary>
        [Output("org")]
        public Output<string?> Org { get; private set; } = null!;

        /// <summary>
        /// The name of VDC to use, optional if defined at provider level
        /// </summary>
        [Output("vdc")]
        public Output<string?> Vdc { get; private set; } = null!;


        /// <summary>
        /// Create a EdgeGatewaySettings 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 EdgeGatewaySettings(string name, EdgeGatewaySettingsArgs? args = null, CustomResourceOptions? options = null)
            : base("vcd:index/edgeGatewaySettings:EdgeGatewaySettings", name, args ?? new EdgeGatewaySettingsArgs(), MakeResourceOptions(options, ""))
        {
        }

        private EdgeGatewaySettings(string name, Input<string> id, EdgeGatewaySettingsState? state = null, CustomResourceOptions? options = null)
            : base("vcd:index/edgeGatewaySettings:EdgeGatewaySettings", name, state, MakeResourceOptions(options, id))
        {
        }

        private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
        {
            var defaultOptions = new CustomResourceOptions
            {
                Version = Utilities.Version,
            };
            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 EdgeGatewaySettings 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 EdgeGatewaySettings Get(string name, Input<string> id, EdgeGatewaySettingsState? state = null, CustomResourceOptions? options = null)
        {
            return new EdgeGatewaySettings(name, id, state, options);
        }
    }

    public sealed class EdgeGatewaySettingsArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// ID of the edge gateway. Required when 'edge_gateway_name' is not set
        /// </summary>
        [Input("edgeGatewayId")]
        public Input<string>? EdgeGatewayId { get; set; }

        /// <summary>
        /// Name of the edge gateway. Required when 'edge_gateway_id' is not set
        /// </summary>
        [Input("edgeGatewayName")]
        public Input<string>? EdgeGatewayName { get; set; }

        /// <summary>
        /// 'accept' or 'deny'. Default 'deny'
        /// </summary>
        [Input("fwDefaultRuleAction")]
        public Input<string>? FwDefaultRuleAction { get; set; }

        /// <summary>
        /// Enable logging for default rule. Default 'false'
        /// </summary>
        [Input("fwDefaultRuleLoggingEnabled")]
        public Input<bool>? FwDefaultRuleLoggingEnabled { get; set; }

        /// <summary>
        /// Enable firewall. Default 'true'
        /// </summary>
        [Input("fwEnabled")]
        public Input<bool>? FwEnabled { get; set; }

        /// <summary>
        /// Enable load balancer acceleration. (Disabled by default)
        /// </summary>
        [Input("lbAccelerationEnabled")]
        public Input<bool>? LbAccelerationEnabled { get; set; }

        /// <summary>
        /// Enable load balancing. (Disabled by default)
        /// </summary>
        [Input("lbEnabled")]
        public Input<bool>? LbEnabled { get; set; }

        /// <summary>
        /// Enable load balancer logging. (Disabled by default)
        /// </summary>
        [Input("lbLoggingEnabled")]
        public Input<bool>? LbLoggingEnabled { get; set; }

        /// <summary>
        /// Log level. One of 'emergency', 'alert', 'critical', 'error', 'warning', 'notice', 'info', 'debug'. ('info' by default)
        /// </summary>
        [Input("lbLoglevel")]
        public Input<string>? LbLoglevel { get; set; }

        /// <summary>
        /// The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across
        /// different organizations
        /// </summary>
        [Input("org")]
        public Input<string>? Org { get; set; }

        /// <summary>
        /// The name of VDC to use, optional if defined at provider level
        /// </summary>
        [Input("vdc")]
        public Input<string>? Vdc { get; set; }

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

    public sealed class EdgeGatewaySettingsState : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// ID of the edge gateway. Required when 'edge_gateway_name' is not set
        /// </summary>
        [Input("edgeGatewayId")]
        public Input<string>? EdgeGatewayId { get; set; }

        /// <summary>
        /// Name of the edge gateway. Required when 'edge_gateway_id' is not set
        /// </summary>
        [Input("edgeGatewayName")]
        public Input<string>? EdgeGatewayName { get; set; }

        /// <summary>
        /// 'accept' or 'deny'. Default 'deny'
        /// </summary>
        [Input("fwDefaultRuleAction")]
        public Input<string>? FwDefaultRuleAction { get; set; }

        /// <summary>
        /// Enable logging for default rule. Default 'false'
        /// </summary>
        [Input("fwDefaultRuleLoggingEnabled")]
        public Input<bool>? FwDefaultRuleLoggingEnabled { get; set; }

        /// <summary>
        /// Enable firewall. Default 'true'
        /// </summary>
        [Input("fwEnabled")]
        public Input<bool>? FwEnabled { get; set; }

        /// <summary>
        /// Enable load balancer acceleration. (Disabled by default)
        /// </summary>
        [Input("lbAccelerationEnabled")]
        public Input<bool>? LbAccelerationEnabled { get; set; }

        /// <summary>
        /// Enable load balancing. (Disabled by default)
        /// </summary>
        [Input("lbEnabled")]
        public Input<bool>? LbEnabled { get; set; }

        /// <summary>
        /// Enable load balancer logging. (Disabled by default)
        /// </summary>
        [Input("lbLoggingEnabled")]
        public Input<bool>? LbLoggingEnabled { get; set; }

        /// <summary>
        /// Log level. One of 'emergency', 'alert', 'critical', 'error', 'warning', 'notice', 'info', 'debug'. ('info' by default)
        /// </summary>
        [Input("lbLoglevel")]
        public Input<string>? LbLoglevel { get; set; }

        /// <summary>
        /// The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across
        /// different organizations
        /// </summary>
        [Input("org")]
        public Input<string>? Org { get; set; }

        /// <summary>
        /// The name of VDC to use, optional if defined at provider level
        /// </summary>
        [Input("vdc")]
        public Input<string>? Vdc { get; set; }

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