1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. ens
  6. getLoadBalancerUdpListeners
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi

    This data source provides ENS Load Balancer Udp Listener available to the user. What is Load Balancer Udp Listener

    NOTE: Available since v1.291.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const ensRegionId = config.get("ensRegionId") || "cn-chenzhou-telecom_unicom_cmcc";
    const defaultNetwork = new alicloud.ens.Network("default", {
        networkName: name,
        cidrBlock: "10.0.0.0/8",
        ensRegionId: ensRegionId,
    });
    const defaultVswitch = new alicloud.ens.Vswitch("default", {
        cidrBlock: "10.0.6.0/24",
        vswitchName: name,
        ensRegionId: defaultNetwork.ensRegionId,
        networkId: defaultNetwork.id,
    });
    const defaultLoadBalancer = new alicloud.ens.LoadBalancer("default", {
        loadBalancerName: name,
        vswitchId: defaultVswitch.id,
        paymentType: "PayAsYouGo",
        ensRegionId: defaultVswitch.ensRegionId,
        networkId: defaultVswitch.networkId,
        loadBalancerSpec: "elb.s1.small",
    });
    const defaultLoadBalancerUdpListener = new alicloud.ens.LoadBalancerUdpListener("default", {
        loadBalancerId: defaultLoadBalancer.id,
        listenerPort: 53,
        backendServerPort: 53,
        description: "example-udp-listener",
        status: "Stopped",
    });
    const _default = alicloud.ens.getLoadBalancerUdpListenersOutput({
        loadBalancerId: defaultLoadBalancer.id,
        ids: [defaultLoadBalancerUdpListener.id],
    });
    export const udpListenerId = _default.apply(_default => _default.listeners?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    ens_region_id = config.get("ensRegionId")
    if ens_region_id is None:
        ens_region_id = "cn-chenzhou-telecom_unicom_cmcc"
    default_network = alicloud.ens.Network("default",
        network_name=name,
        cidr_block="10.0.0.0/8",
        ens_region_id=ens_region_id)
    default_vswitch = alicloud.ens.Vswitch("default",
        cidr_block="10.0.6.0/24",
        vswitch_name=name,
        ens_region_id=default_network.ens_region_id,
        network_id=default_network.id)
    default_load_balancer = alicloud.ens.LoadBalancer("default",
        load_balancer_name=name,
        vswitch_id=default_vswitch.id,
        payment_type="PayAsYouGo",
        ens_region_id=default_vswitch.ens_region_id,
        network_id=default_vswitch.network_id,
        load_balancer_spec="elb.s1.small")
    default_load_balancer_udp_listener = alicloud.ens.LoadBalancerUdpListener("default",
        load_balancer_id=default_load_balancer.id,
        listener_port=53,
        backend_server_port=53,
        description="example-udp-listener",
        status="Stopped")
    default = alicloud.ens.get_load_balancer_udp_listeners_output(load_balancer_id=default_load_balancer.id,
        ids=[default_load_balancer_udp_listener.id])
    pulumi.export("udpListenerId", default.listeners[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ens"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		ensRegionId := "cn-chenzhou-telecom_unicom_cmcc"
    		if param := cfg.Get("ensRegionId"); param != "" {
    			ensRegionId = param
    		}
    		defaultNetwork, err := ens.NewNetwork(ctx, "default", &ens.NetworkArgs{
    			NetworkName: pulumi.String(name),
    			CidrBlock:   pulumi.String("10.0.0.0/8"),
    			EnsRegionId: pulumi.String(ensRegionId),
    		})
    		if err != nil {
    			return err
    		}
    		defaultVswitch, err := ens.NewVswitch(ctx, "default", &ens.VswitchArgs{
    			CidrBlock:   pulumi.String("10.0.6.0/24"),
    			VswitchName: pulumi.String(name),
    			EnsRegionId: defaultNetwork.EnsRegionId,
    			NetworkId:   defaultNetwork.ID().ToIDOutput().ToStringOutput(),
    		})
    		if err != nil {
    			return err
    		}
    		defaultLoadBalancer, err := ens.NewLoadBalancer(ctx, "default", &ens.LoadBalancerArgs{
    			LoadBalancerName: pulumi.String(name),
    			VswitchId:        defaultVswitch.ID().ToIDOutput().ToStringOutput(),
    			PaymentType:      pulumi.String("PayAsYouGo"),
    			EnsRegionId:      defaultVswitch.EnsRegionId,
    			NetworkId:        defaultVswitch.NetworkId,
    			LoadBalancerSpec: pulumi.String("elb.s1.small"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultLoadBalancerUdpListener, err := ens.NewLoadBalancerUdpListener(ctx, "default", &ens.LoadBalancerUdpListenerArgs{
    			LoadBalancerId:    defaultLoadBalancer.ID().ToIDOutput().ToStringOutput(),
    			ListenerPort:      pulumi.Int(53),
    			BackendServerPort: pulumi.Int(53),
    			Description:       pulumi.String("example-udp-listener"),
    			Status:            pulumi.String("Stopped"),
    		})
    		if err != nil {
    			return err
    		}
    		_default := ens.GetLoadBalancerUdpListenersOutput(ctx, ens.GetLoadBalancerUdpListenersOutputArgs{
    			LoadBalancerId: defaultLoadBalancer.ID().ToIDOutput().ToStringOutput(),
    			Ids: pulumi.StringArray{
    				defaultLoadBalancerUdpListener.ID().ToIDOutput().ToStringOutput(),
    			},
    		}, nil)
    		ctx.Export("udpListenerId", _default.ApplyT(func(_default ens.GetLoadBalancerUdpListenersResult) (*string, error) {
    			return _default.Listeners[0].Id, nil
    		}).(pulumi.StringPtrOutput))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var ensRegionId = config.Get("ensRegionId") ?? "cn-chenzhou-telecom_unicom_cmcc";
        var defaultNetwork = new AliCloud.Ens.Network("default", new()
        {
            NetworkName = name,
            CidrBlock = "10.0.0.0/8",
            EnsRegionId = ensRegionId,
        });
    
        var defaultVswitch = new AliCloud.Ens.Vswitch("default", new()
        {
            CidrBlock = "10.0.6.0/24",
            VswitchName = name,
            EnsRegionId = defaultNetwork.EnsRegionId,
            NetworkId = defaultNetwork.Id,
        });
    
        var defaultLoadBalancer = new AliCloud.Ens.LoadBalancer("default", new()
        {
            LoadBalancerName = name,
            VswitchId = defaultVswitch.Id,
            PaymentType = "PayAsYouGo",
            EnsRegionId = defaultVswitch.EnsRegionId,
            NetworkId = defaultVswitch.NetworkId,
            LoadBalancerSpec = "elb.s1.small",
        });
    
        var defaultLoadBalancerUdpListener = new AliCloud.Ens.LoadBalancerUdpListener("default", new()
        {
            LoadBalancerId = defaultLoadBalancer.Id,
            ListenerPort = 53,
            BackendServerPort = 53,
            Description = "example-udp-listener",
            Status = "Stopped",
        });
    
        var @default = AliCloud.Ens.GetLoadBalancerUdpListeners.Invoke(new()
        {
            LoadBalancerId = defaultLoadBalancer.Id,
            Ids = new[]
            {
                defaultLoadBalancerUdpListener.Id,
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["udpListenerId"] = @default.Apply(@default => @default.Apply(getLoadBalancerUdpListenersResult => getLoadBalancerUdpListenersResult.Listeners[0]?.Id)),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.ens.Network;
    import com.pulumi.alicloud.ens.NetworkArgs;
    import com.pulumi.alicloud.ens.Vswitch;
    import com.pulumi.alicloud.ens.VswitchArgs;
    import com.pulumi.alicloud.ens.LoadBalancer;
    import com.pulumi.alicloud.ens.LoadBalancerArgs;
    import com.pulumi.alicloud.ens.LoadBalancerUdpListener;
    import com.pulumi.alicloud.ens.LoadBalancerUdpListenerArgs;
    import com.pulumi.alicloud.ens.EnsFunctions;
    import com.pulumi.alicloud.ens.inputs.GetLoadBalancerUdpListenersArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            final var ensRegionId = config.get("ensRegionId").orElse("cn-chenzhou-telecom_unicom_cmcc");
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
                .networkName(name)
                .cidrBlock("10.0.0.0/8")
                .ensRegionId(ensRegionId)
                .build());
    
            var defaultVswitch = new Vswitch("defaultVswitch", VswitchArgs.builder()
                .cidrBlock("10.0.6.0/24")
                .vswitchName(name)
                .ensRegionId(defaultNetwork.ensRegionId())
                .networkId(defaultNetwork.id())
                .build());
    
            var defaultLoadBalancer = new LoadBalancer("defaultLoadBalancer", LoadBalancerArgs.builder()
                .loadBalancerName(name)
                .vswitchId(defaultVswitch.id())
                .paymentType("PayAsYouGo")
                .ensRegionId(defaultVswitch.ensRegionId())
                .networkId(defaultVswitch.networkId())
                .loadBalancerSpec("elb.s1.small")
                .build());
    
            var defaultLoadBalancerUdpListener = new LoadBalancerUdpListener("defaultLoadBalancerUdpListener", LoadBalancerUdpListenerArgs.builder()
                .loadBalancerId(defaultLoadBalancer.id())
                .listenerPort(53)
                .backendServerPort(53)
                .description("example-udp-listener")
                .status("Stopped")
                .build());
    
            final var default = EnsFunctions.getLoadBalancerUdpListeners(GetLoadBalancerUdpListenersArgs.builder()
                .loadBalancerId(defaultLoadBalancer.id())
                .ids(defaultLoadBalancerUdpListener.id())
                .build());
    
            ctx.export("udpListenerId", default_.applyValue(_default_ -> _default_.listeners()[0].id()));
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
      ensRegionId:
        type: string
        default: cn-chenzhou-telecom_unicom_cmcc
    resources:
      defaultNetwork:
        type: alicloud:ens:Network
        name: default
        properties:
          networkName: ${name}
          cidrBlock: 10.0.0.0/8
          ensRegionId: ${ensRegionId}
      defaultVswitch:
        type: alicloud:ens:Vswitch
        name: default
        properties:
          cidrBlock: 10.0.6.0/24
          vswitchName: ${name}
          ensRegionId: ${defaultNetwork.ensRegionId}
          networkId: ${defaultNetwork.id}
      defaultLoadBalancer:
        type: alicloud:ens:LoadBalancer
        name: default
        properties:
          loadBalancerName: ${name}
          vswitchId: ${defaultVswitch.id}
          paymentType: PayAsYouGo
          ensRegionId: ${defaultVswitch.ensRegionId}
          networkId: ${defaultVswitch.networkId}
          loadBalancerSpec: elb.s1.small
      defaultLoadBalancerUdpListener:
        type: alicloud:ens:LoadBalancerUdpListener
        name: default
        properties:
          loadBalancerId: ${defaultLoadBalancer.id}
          listenerPort: 53
          backendServerPort: 53
          description: example-udp-listener
          status: Stopped
    variables:
      default:
        fn::invoke:
          function: alicloud:ens:getLoadBalancerUdpListeners
          arguments:
            loadBalancerId: ${defaultLoadBalancer.id}
            ids:
              - ${defaultLoadBalancerUdpListener.id}
    outputs:
      udpListenerId: ${default.listeners[0].id}
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    data "alicloud_ens_getloadbalancerudplisteners" "default" {
      load_balancer_id = alicloud_ens_loadbalancer.default.id
      ids              = [alicloud_ens_loadbalancerudplistener.default.id]
    }
    
    resource "alicloud_ens_network" "default" {
      network_name  = var.name
      cidr_block    = "10.0.0.0/8"
      ens_region_id = var.ensRegionId
    }
    resource "alicloud_ens_vswitch" "default" {
      cidr_block    = "10.0.6.0/24"
      vswitch_name  = var.name
      ens_region_id = alicloud_ens_network.default.ens_region_id
      network_id    = alicloud_ens_network.default.id
    }
    resource "alicloud_ens_loadbalancer" "default" {
      load_balancer_name = var.name
      vswitch_id         = alicloud_ens_vswitch.default.id
      payment_type       = "PayAsYouGo"
      ens_region_id      = alicloud_ens_vswitch.default.ens_region_id
      network_id         = alicloud_ens_vswitch.default.network_id
      load_balancer_spec = "elb.s1.small"
    }
    resource "alicloud_ens_loadbalancerudplistener" "default" {
      load_balancer_id    = alicloud_ens_loadbalancer.default.id
      listener_port       = 53
      backend_server_port = 53
      description         = "example-udp-listener"
      status              = "Stopped"
    }
    variable "name" {
      type    = string
      default = "terraform-example"
    }
    variable "ensRegionId" {
      type    = string
      default = "cn-chenzhou-telecom_unicom_cmcc"
    }
    output "udpListenerId" {
      value = data.alicloud_ens_getloadbalancerudplisteners.default.listeners[0].id
    }
    

    Using getLoadBalancerUdpListeners

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLoadBalancerUdpListeners(args: GetLoadBalancerUdpListenersArgs, opts?: InvokeOptions): Promise<GetLoadBalancerUdpListenersResult>
    function getLoadBalancerUdpListenersOutput(args: GetLoadBalancerUdpListenersOutputArgs, opts?: InvokeOutputOptions): Output<GetLoadBalancerUdpListenersResult>
    def get_load_balancer_udp_listeners(enable_details: Optional[bool] = None,
                                        ids: Optional[Sequence[str]] = None,
                                        load_balancer_id: Optional[str] = None,
                                        output_file: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetLoadBalancerUdpListenersResult
    def get_load_balancer_udp_listeners_output(enable_details: pulumi.Input[Optional[bool]] = None,
                                        ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                                        load_balancer_id: pulumi.Input[Optional[str]] = None,
                                        output_file: pulumi.Input[Optional[str]] = None,
                                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetLoadBalancerUdpListenersResult]
    func GetLoadBalancerUdpListeners(ctx *Context, args *GetLoadBalancerUdpListenersArgs, opts ...InvokeOption) (*GetLoadBalancerUdpListenersResult, error)
    func GetLoadBalancerUdpListenersOutput(ctx *Context, args *GetLoadBalancerUdpListenersOutputArgs, opts ...InvokeOption) GetLoadBalancerUdpListenersResultOutput

    > Note: This function is named GetLoadBalancerUdpListeners in the Go SDK.

    public static class GetLoadBalancerUdpListeners 
    {
        public static Task<GetLoadBalancerUdpListenersResult> InvokeAsync(GetLoadBalancerUdpListenersArgs args, InvokeOptions? opts = null)
        public static Output<GetLoadBalancerUdpListenersResult> Invoke(GetLoadBalancerUdpListenersInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetLoadBalancerUdpListenersResult> Invoke(GetLoadBalancerUdpListenersInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetLoadBalancerUdpListenersResult> getLoadBalancerUdpListeners(GetLoadBalancerUdpListenersArgs args, InvokeOptions options)
    public static Output<GetLoadBalancerUdpListenersResult> getLoadBalancerUdpListeners(GetLoadBalancerUdpListenersArgs args, InvokeOptions options)
    public static Output<GetLoadBalancerUdpListenersResult> getLoadBalancerUdpListeners(GetLoadBalancerUdpListenersArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: alicloud:ens/getLoadBalancerUdpListeners:getLoadBalancerUdpListeners
      arguments:
        # arguments dictionary
    data "alicloud_ens_get_load_balancer_udp_listeners" "name" {
        # arguments
    }

    The following arguments are supported:

    LoadBalancerId string
    The ID of the load balancer instance.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids List<string>
    A list of Load Balancer Udp Listener IDs. The value is formulated as <load_balancer_id>:<listener_port>.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    LoadBalancerId string
    The ID of the load balancer instance.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids []string
    A list of Load Balancer Udp Listener IDs. The value is formulated as <load_balancer_id>:<listener_port>.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    load_balancer_id string
    The ID of the load balancer instance.
    enable_details bool
    Default to false. Set it to true can output more details about resource attributes.
    ids list(string)
    A list of Load Balancer Udp Listener IDs. The value is formulated as <load_balancer_id>:<listener_port>.
    output_file string
    File name where to save data source results (after running pulumi preview).
    loadBalancerId String
    The ID of the load balancer instance.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of Load Balancer Udp Listener IDs. The value is formulated as <load_balancer_id>:<listener_port>.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    loadBalancerId string
    The ID of the load balancer instance.
    enableDetails boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids string[]
    A list of Load Balancer Udp Listener IDs. The value is formulated as <load_balancer_id>:<listener_port>.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    load_balancer_id str
    The ID of the load balancer instance.
    enable_details bool
    Default to false. Set it to true can output more details about resource attributes.
    ids Sequence[str]
    A list of Load Balancer Udp Listener IDs. The value is formulated as <load_balancer_id>:<listener_port>.
    output_file str
    File name where to save data source results (after running pulumi preview).
    loadBalancerId String
    The ID of the load balancer instance.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of Load Balancer Udp Listener IDs. The value is formulated as <load_balancer_id>:<listener_port>.
    outputFile String
    File name where to save data source results (after running pulumi preview).

    getLoadBalancerUdpListeners Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of Load Balancer Udp Listener IDs.
    Listeners List<Pulumi.AliCloud.Ens.Outputs.GetLoadBalancerUdpListenersListener>
    A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
    LoadBalancerId string
    The ID of the load balancer instance.
    EnableDetails bool
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of Load Balancer Udp Listener IDs.
    Listeners []GetLoadBalancerUdpListenersListener
    A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
    LoadBalancerId string
    The ID of the load balancer instance.
    EnableDetails bool
    OutputFile string
    id string
    The provider-assigned unique ID for this managed resource.
    ids list(string)
    A list of Load Balancer Udp Listener IDs.
    listeners list(object)
    A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
    load_balancer_id string
    The ID of the load balancer instance.
    enable_details bool
    output_file string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Load Balancer Udp Listener IDs.
    listeners List<GetLoadBalancerUdpListenersListener>
    A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
    loadBalancerId String
    The ID of the load balancer instance.
    enableDetails Boolean
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of Load Balancer Udp Listener IDs.
    listeners GetLoadBalancerUdpListenersListener[]
    A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
    loadBalancerId string
    The ID of the load balancer instance.
    enableDetails boolean
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of Load Balancer Udp Listener IDs.
    listeners Sequence[GetLoadBalancerUdpListenersListener]
    A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
    load_balancer_id str
    The ID of the load balancer instance.
    enable_details bool
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Load Balancer Udp Listener IDs.
    listeners List<Property Map>
    A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
    loadBalancerId String
    The ID of the load balancer instance.
    enableDetails Boolean
    outputFile String

    Supporting Types

    GetLoadBalancerUdpListenersListener

    BackendServerPort int
    NOTE: This field is only available when enableDetails is true. The port used by the backend server of the load balancer instance.
    Description string
    The description of the listener.
    EipTransmit string
    NOTE: This field is only available when enableDetails is true. Whether EIP transparent transmission is enabled.
    EstablishedTimeout int
    NOTE: This field is only available when enableDetails is true. The timeout period of the connection. Unit: seconds.
    HealthCheckConnectPort int
    NOTE: This field is only available when enableDetails is true. The port used for health checks.
    HealthCheckConnectTimeout int
    NOTE: This field is only available when enableDetails is true. The amount of time to wait for a response from the health check. Unit: seconds.
    HealthCheckExp string
    NOTE: This field is only available when enableDetails is true. The expected response string for the UDP listener health check.
    HealthCheckInterval int
    NOTE: This field is only available when enableDetails is true. The interval between two consecutive health checks. Unit: seconds.
    HealthCheckReq string
    NOTE: This field is only available when enableDetails is true. The request string for the UDP listener health check.
    HealthyThreshold int
    NOTE: This field is only available when enableDetails is true. The number of consecutive successful health checks that must occur before a backend server is declared healthy.
    Id string
    The ID of the listener. The value is formulated as <load_balancer_id>:<listener_port>.
    ListenerPort int
    The frontend port used by the load balancer instance.
    LoadBalancerId string
    The ID of the load balancer instance.
    Protocol string
    The protocol of the listener. The value is udp.
    Scheduler string
    NOTE: This field is only available when enableDetails is true. The scheduling algorithm.
    Status string
    The status of the listener.
    UnhealthyThreshold int
    NOTE: This field is only available when enableDetails is true. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
    BackendServerPort int
    NOTE: This field is only available when enableDetails is true. The port used by the backend server of the load balancer instance.
    Description string
    The description of the listener.
    EipTransmit string
    NOTE: This field is only available when enableDetails is true. Whether EIP transparent transmission is enabled.
    EstablishedTimeout int
    NOTE: This field is only available when enableDetails is true. The timeout period of the connection. Unit: seconds.
    HealthCheckConnectPort int
    NOTE: This field is only available when enableDetails is true. The port used for health checks.
    HealthCheckConnectTimeout int
    NOTE: This field is only available when enableDetails is true. The amount of time to wait for a response from the health check. Unit: seconds.
    HealthCheckExp string
    NOTE: This field is only available when enableDetails is true. The expected response string for the UDP listener health check.
    HealthCheckInterval int
    NOTE: This field is only available when enableDetails is true. The interval between two consecutive health checks. Unit: seconds.
    HealthCheckReq string
    NOTE: This field is only available when enableDetails is true. The request string for the UDP listener health check.
    HealthyThreshold int
    NOTE: This field is only available when enableDetails is true. The number of consecutive successful health checks that must occur before a backend server is declared healthy.
    Id string
    The ID of the listener. The value is formulated as <load_balancer_id>:<listener_port>.
    ListenerPort int
    The frontend port used by the load balancer instance.
    LoadBalancerId string
    The ID of the load balancer instance.
    Protocol string
    The protocol of the listener. The value is udp.
    Scheduler string
    NOTE: This field is only available when enableDetails is true. The scheduling algorithm.
    Status string
    The status of the listener.
    UnhealthyThreshold int
    NOTE: This field is only available when enableDetails is true. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
    backend_server_port number
    NOTE: This field is only available when enableDetails is true. The port used by the backend server of the load balancer instance.
    description string
    The description of the listener.
    eip_transmit string
    NOTE: This field is only available when enableDetails is true. Whether EIP transparent transmission is enabled.
    established_timeout number
    NOTE: This field is only available when enableDetails is true. The timeout period of the connection. Unit: seconds.
    health_check_connect_port number
    NOTE: This field is only available when enableDetails is true. The port used for health checks.
    health_check_connect_timeout number
    NOTE: This field is only available when enableDetails is true. The amount of time to wait for a response from the health check. Unit: seconds.
    health_check_exp string
    NOTE: This field is only available when enableDetails is true. The expected response string for the UDP listener health check.
    health_check_interval number
    NOTE: This field is only available when enableDetails is true. The interval between two consecutive health checks. Unit: seconds.
    health_check_req string
    NOTE: This field is only available when enableDetails is true. The request string for the UDP listener health check.
    healthy_threshold number
    NOTE: This field is only available when enableDetails is true. The number of consecutive successful health checks that must occur before a backend server is declared healthy.
    id string
    The ID of the listener. The value is formulated as <load_balancer_id>:<listener_port>.
    listener_port number
    The frontend port used by the load balancer instance.
    load_balancer_id string
    The ID of the load balancer instance.
    protocol string
    The protocol of the listener. The value is udp.
    scheduler string
    NOTE: This field is only available when enableDetails is true. The scheduling algorithm.
    status string
    The status of the listener.
    unhealthy_threshold number
    NOTE: This field is only available when enableDetails is true. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
    backendServerPort Integer
    NOTE: This field is only available when enableDetails is true. The port used by the backend server of the load balancer instance.
    description String
    The description of the listener.
    eipTransmit String
    NOTE: This field is only available when enableDetails is true. Whether EIP transparent transmission is enabled.
    establishedTimeout Integer
    NOTE: This field is only available when enableDetails is true. The timeout period of the connection. Unit: seconds.
    healthCheckConnectPort Integer
    NOTE: This field is only available when enableDetails is true. The port used for health checks.
    healthCheckConnectTimeout Integer
    NOTE: This field is only available when enableDetails is true. The amount of time to wait for a response from the health check. Unit: seconds.
    healthCheckExp String
    NOTE: This field is only available when enableDetails is true. The expected response string for the UDP listener health check.
    healthCheckInterval Integer
    NOTE: This field is only available when enableDetails is true. The interval between two consecutive health checks. Unit: seconds.
    healthCheckReq String
    NOTE: This field is only available when enableDetails is true. The request string for the UDP listener health check.
    healthyThreshold Integer
    NOTE: This field is only available when enableDetails is true. The number of consecutive successful health checks that must occur before a backend server is declared healthy.
    id String
    The ID of the listener. The value is formulated as <load_balancer_id>:<listener_port>.
    listenerPort Integer
    The frontend port used by the load balancer instance.
    loadBalancerId String
    The ID of the load balancer instance.
    protocol String
    The protocol of the listener. The value is udp.
    scheduler String
    NOTE: This field is only available when enableDetails is true. The scheduling algorithm.
    status String
    The status of the listener.
    unhealthyThreshold Integer
    NOTE: This field is only available when enableDetails is true. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
    backendServerPort number
    NOTE: This field is only available when enableDetails is true. The port used by the backend server of the load balancer instance.
    description string
    The description of the listener.
    eipTransmit string
    NOTE: This field is only available when enableDetails is true. Whether EIP transparent transmission is enabled.
    establishedTimeout number
    NOTE: This field is only available when enableDetails is true. The timeout period of the connection. Unit: seconds.
    healthCheckConnectPort number
    NOTE: This field is only available when enableDetails is true. The port used for health checks.
    healthCheckConnectTimeout number
    NOTE: This field is only available when enableDetails is true. The amount of time to wait for a response from the health check. Unit: seconds.
    healthCheckExp string
    NOTE: This field is only available when enableDetails is true. The expected response string for the UDP listener health check.
    healthCheckInterval number
    NOTE: This field is only available when enableDetails is true. The interval between two consecutive health checks. Unit: seconds.
    healthCheckReq string
    NOTE: This field is only available when enableDetails is true. The request string for the UDP listener health check.
    healthyThreshold number
    NOTE: This field is only available when enableDetails is true. The number of consecutive successful health checks that must occur before a backend server is declared healthy.
    id string
    The ID of the listener. The value is formulated as <load_balancer_id>:<listener_port>.
    listenerPort number
    The frontend port used by the load balancer instance.
    loadBalancerId string
    The ID of the load balancer instance.
    protocol string
    The protocol of the listener. The value is udp.
    scheduler string
    NOTE: This field is only available when enableDetails is true. The scheduling algorithm.
    status string
    The status of the listener.
    unhealthyThreshold number
    NOTE: This field is only available when enableDetails is true. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
    backend_server_port int
    NOTE: This field is only available when enableDetails is true. The port used by the backend server of the load balancer instance.
    description str
    The description of the listener.
    eip_transmit str
    NOTE: This field is only available when enableDetails is true. Whether EIP transparent transmission is enabled.
    established_timeout int
    NOTE: This field is only available when enableDetails is true. The timeout period of the connection. Unit: seconds.
    health_check_connect_port int
    NOTE: This field is only available when enableDetails is true. The port used for health checks.
    health_check_connect_timeout int
    NOTE: This field is only available when enableDetails is true. The amount of time to wait for a response from the health check. Unit: seconds.
    health_check_exp str
    NOTE: This field is only available when enableDetails is true. The expected response string for the UDP listener health check.
    health_check_interval int
    NOTE: This field is only available when enableDetails is true. The interval between two consecutive health checks. Unit: seconds.
    health_check_req str
    NOTE: This field is only available when enableDetails is true. The request string for the UDP listener health check.
    healthy_threshold int
    NOTE: This field is only available when enableDetails is true. The number of consecutive successful health checks that must occur before a backend server is declared healthy.
    id str
    The ID of the listener. The value is formulated as <load_balancer_id>:<listener_port>.
    listener_port int
    The frontend port used by the load balancer instance.
    load_balancer_id str
    The ID of the load balancer instance.
    protocol str
    The protocol of the listener. The value is udp.
    scheduler str
    NOTE: This field is only available when enableDetails is true. The scheduling algorithm.
    status str
    The status of the listener.
    unhealthy_threshold int
    NOTE: This field is only available when enableDetails is true. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
    backendServerPort Number
    NOTE: This field is only available when enableDetails is true. The port used by the backend server of the load balancer instance.
    description String
    The description of the listener.
    eipTransmit String
    NOTE: This field is only available when enableDetails is true. Whether EIP transparent transmission is enabled.
    establishedTimeout Number
    NOTE: This field is only available when enableDetails is true. The timeout period of the connection. Unit: seconds.
    healthCheckConnectPort Number
    NOTE: This field is only available when enableDetails is true. The port used for health checks.
    healthCheckConnectTimeout Number
    NOTE: This field is only available when enableDetails is true. The amount of time to wait for a response from the health check. Unit: seconds.
    healthCheckExp String
    NOTE: This field is only available when enableDetails is true. The expected response string for the UDP listener health check.
    healthCheckInterval Number
    NOTE: This field is only available when enableDetails is true. The interval between two consecutive health checks. Unit: seconds.
    healthCheckReq String
    NOTE: This field is only available when enableDetails is true. The request string for the UDP listener health check.
    healthyThreshold Number
    NOTE: This field is only available when enableDetails is true. The number of consecutive successful health checks that must occur before a backend server is declared healthy.
    id String
    The ID of the listener. The value is formulated as <load_balancer_id>:<listener_port>.
    listenerPort Number
    The frontend port used by the load balancer instance.
    loadBalancerId String
    The ID of the load balancer instance.
    protocol String
    The protocol of the listener. The value is udp.
    scheduler String
    NOTE: This field is only available when enableDetails is true. The scheduling algorithm.
    status String
    The status of the listener.
    unhealthyThreshold Number
    NOTE: This field is only available when enableDetails is true. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo alicloud logo
    Viewing docs for Alibaba Cloud v3.108.0
    published on Thursday, Sep 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial