<reponame>rhysmdnz/pulumi-alicloud-rhys-hacks// *** 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.AliCloud.Alb.Outputs
{

    [OutputType]
    public sealed class GetServerGroupsGroupServerResult
    {
        /// <summary>
        /// The description of the server.
        /// </summary>
        public readonly string Description;
        /// <summary>
        /// The port that is used by the server. Valid values: `1` to `65535`.
        /// </summary>
        public readonly int Port;
        /// <summary>
        /// The ID of the ECS instance, ENI instance or ECI instance.
        /// </summary>
        public readonly string ServerId;
        /// <summary>
        /// The IP address of the ENI instance when it is in the inclusive ENI mode.
        /// </summary>
        public readonly string ServerIp;
        /// <summary>
        /// The type of the server. The type of the server. Valid values: `Ecs`, `Eni` and `Eci`.
        /// </summary>
        public readonly string ServerType;
        /// <summary>
        /// The status of the resource. Valid values: `Provisioning`, `Available` and `Configuring`.
        /// </summary>
        public readonly string Status;
        /// <summary>
        /// The weight of the server.  Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the server.
        /// </summary>
        public readonly int Weight;

        [OutputConstructor]
        private GetServerGroupsGroupServerResult(
            string description,

            int port,

            string serverId,

            string serverIp,

            string serverType,

            string status,

            int weight)
        {
            Description = description;
            Port = port;
            ServerId = serverId;
            ServerIp = serverIp;
            ServerType = serverType;
            Status = status;
            Weight = weight;
        }
    }
}
