// *** 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/nsxtAlbSettings:NsxtAlbSettings")]
    public partial class NsxtAlbSettings : global::Pulumi.CustomResource
    {
        /// <summary>
        /// Edge gateway ID
        /// </summary>
        [Output("edgeGatewayId")]
        public Output<string> EdgeGatewayId { get; private set; } = null!;

        /// <summary>
        /// Defines if ALB is enabled on Edge Gateway
        /// </summary>
        [Output("isActive")]
        public Output<bool> IsActive { 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>
        /// Optional custom network CIDR definition for ALB Service Engine placement (VCD default is 192.168.255.1/25)
        /// </summary>
        [Output("serviceNetworkSpecification")]
        public Output<string> ServiceNetworkSpecification { get; private set; } = null!;

        /// <summary>
        /// Feature set for ALB in this Edge Gateway. One of 'STANDARD', 'PREMIUM'.
        /// </summary>
        [Output("supportedFeatureSet")]
        public Output<string> SupportedFeatureSet { 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 NsxtAlbSettings 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 NsxtAlbSettings(string name, NsxtAlbSettingsArgs args, CustomResourceOptions? options = null)
            : base("vcd:index/nsxtAlbSettings:NsxtAlbSettings", name, args ?? new NsxtAlbSettingsArgs(), MakeResourceOptions(options, ""))
        {
        }

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

    public sealed class NsxtAlbSettingsArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Edge gateway ID
        /// </summary>
        [Input("edgeGatewayId", required: true)]
        public Input<string> EdgeGatewayId { get; set; } = null!;

        /// <summary>
        /// Defines if ALB is enabled on Edge Gateway
        /// </summary>
        [Input("isActive", required: true)]
        public Input<bool> IsActive { get; 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>
        [Input("org")]
        public Input<string>? Org { get; set; }

        /// <summary>
        /// Optional custom network CIDR definition for ALB Service Engine placement (VCD default is 192.168.255.1/25)
        /// </summary>
        [Input("serviceNetworkSpecification")]
        public Input<string>? ServiceNetworkSpecification { get; set; }

        /// <summary>
        /// Feature set for ALB in this Edge Gateway. One of 'STANDARD', 'PREMIUM'.
        /// </summary>
        [Input("supportedFeatureSet")]
        public Input<string>? SupportedFeatureSet { 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 NsxtAlbSettingsArgs()
        {
        }
        public static new NsxtAlbSettingsArgs Empty => new NsxtAlbSettingsArgs();
    }

    public sealed class NsxtAlbSettingsState : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Edge gateway ID
        /// </summary>
        [Input("edgeGatewayId")]
        public Input<string>? EdgeGatewayId { get; set; }

        /// <summary>
        /// Defines if ALB is enabled on Edge Gateway
        /// </summary>
        [Input("isActive")]
        public Input<bool>? IsActive { 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>
        /// Optional custom network CIDR definition for ALB Service Engine placement (VCD default is 192.168.255.1/25)
        /// </summary>
        [Input("serviceNetworkSpecification")]
        public Input<string>? ServiceNetworkSpecification { get; set; }

        /// <summary>
        /// Feature set for ALB in this Edge Gateway. One of 'STANDARD', 'PREMIUM'.
        /// </summary>
        [Input("supportedFeatureSet")]
        public Input<string>? SupportedFeatureSet { 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 NsxtAlbSettingsState()
        {
        }
        public static new NsxtAlbSettingsState Empty => new NsxtAlbSettingsState();
    }
}
