// *** 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 TencentCloudIAC.PulumiPackage.Tencentcloud.Clb.Inputs
{

    public sealed class AttachmentTargetArgs : Pulumi.ResourceArgs
    {
        /// <summary>
        /// Eni IP address of the backend server, conflict with `instance_id` but must specify one of them.
        /// </summary>
        [Input("eniIp")]
        public Input<string>? EniIp { get; set; }

        /// <summary>
        /// CVM Instance Id of the backend server, conflict with `eni_ip` but must specify one of them.
        /// </summary>
        [Input("instanceId")]
        public Input<string>? InstanceId { get; set; }

        /// <summary>
        /// Port of the backend server. Valid value ranges: (0~65535).
        /// </summary>
        [Input("port", required: true)]
        public Input<int> Port { get; set; } = null!;

        /// <summary>
        /// Forwarding weight of the backend service. Valid value ranges: (0~100). defaults to `10`.
        /// </summary>
        [Input("weight")]
        public Input<int>? Weight { get; set; }

        public AttachmentTargetArgs()
        {
        }
    }
}
