Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
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 dictionarydata "alicloud_ens_get_load_balancer_udp_listeners" "name" {
# arguments
}The following arguments are supported:
- Load
Balancer stringId - The ID of the load balancer instance.
- Enable
Details bool - Default to
false. Set it totruecan 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).
- Load
Balancer stringId - The ID of the load balancer instance.
- Enable
Details bool - Default to
false. Set it totruecan 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>. - Output
File string - File name where to save data source results (after running
pulumi preview).
- load_
balancer_ stringid - The ID of the load balancer instance.
- enable_
details bool - Default to
false. Set it totruecan 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).
- load
Balancer StringId - The ID of the load balancer instance.
- enable
Details Boolean - Default to
false. Set it totruecan 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).
- load
Balancer stringId - The ID of the load balancer instance.
- enable
Details boolean - Default to
false. Set it totruecan 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>. - output
File string - File name where to save data source results (after running
pulumi preview).
- load_
balancer_ strid - The ID of the load balancer instance.
- enable_
details bool - Default to
false. Set it totruecan 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).
- load
Balancer StringId - The ID of the load balancer instance.
- enable
Details Boolean - Default to
false. Set it totruecan 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).
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.
Ali Cloud. Ens. Outputs. Get Load Balancer Udp Listeners Listener> - A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
- Load
Balancer stringId - 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 []string
- A list of Load Balancer Udp Listener IDs.
- Listeners
[]Get
Load Balancer Udp Listeners Listener - A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
- Load
Balancer stringId - 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(object)
- A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
- load_
balancer_ stringid - 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<Get
Load Balancer Udp Listeners Listener> - A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
- load
Balancer StringId - The ID of the load balancer instance.
- enable
Details Boolean - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Load Balancer Udp Listener IDs.
- listeners
Get
Load Balancer Udp Listeners Listener[] - A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
- load
Balancer stringId - The ID of the load balancer instance.
- enable
Details boolean - output
File 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[Get
Load Balancer Udp Listeners Listener] - A list of Load Balancer Udp Listener Entries. Each element contains the following attributes:
- load_
balancer_ strid - 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:
- load
Balancer StringId - The ID of the load balancer instance.
- enable
Details Boolean - output
File String
Supporting Types
GetLoadBalancerUdpListenersListener
- Backend
Server intPort - NOTE: This field is only available when
enableDetailsistrue. 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
enableDetailsistrue. Whether EIP transparent transmission is enabled. - Established
Timeout int - NOTE: This field is only available when
enableDetailsistrue. The timeout period of the connection. Unit: seconds. - Health
Check intConnect Port - NOTE: This field is only available when
enableDetailsistrue. The port used for health checks. - Health
Check intConnect Timeout - NOTE: This field is only available when
enableDetailsistrue. The amount of time to wait for a response from the health check. Unit: seconds. - Health
Check stringExp - NOTE: This field is only available when
enableDetailsistrue. The expected response string for the UDP listener health check. - Health
Check intInterval - NOTE: This field is only available when
enableDetailsistrue. The interval between two consecutive health checks. Unit: seconds. - Health
Check stringReq - NOTE: This field is only available when
enableDetailsistrue. The request string for the UDP listener health check. - Healthy
Threshold int - NOTE: This field is only available when
enableDetailsistrue. 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 int - The frontend port used by the load balancer instance.
- Load
Balancer stringId - 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
enableDetailsistrue. The scheduling algorithm. - Status string
- The status of the listener.
- Unhealthy
Threshold int - NOTE: This field is only available when
enableDetailsistrue. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
- Backend
Server intPort - NOTE: This field is only available when
enableDetailsistrue. 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
enableDetailsistrue. Whether EIP transparent transmission is enabled. - Established
Timeout int - NOTE: This field is only available when
enableDetailsistrue. The timeout period of the connection. Unit: seconds. - Health
Check intConnect Port - NOTE: This field is only available when
enableDetailsistrue. The port used for health checks. - Health
Check intConnect Timeout - NOTE: This field is only available when
enableDetailsistrue. The amount of time to wait for a response from the health check. Unit: seconds. - Health
Check stringExp - NOTE: This field is only available when
enableDetailsistrue. The expected response string for the UDP listener health check. - Health
Check intInterval - NOTE: This field is only available when
enableDetailsistrue. The interval between two consecutive health checks. Unit: seconds. - Health
Check stringReq - NOTE: This field is only available when
enableDetailsistrue. The request string for the UDP listener health check. - Healthy
Threshold int - NOTE: This field is only available when
enableDetailsistrue. 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 int - The frontend port used by the load balancer instance.
- Load
Balancer stringId - 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
enableDetailsistrue. The scheduling algorithm. - Status string
- The status of the listener.
- Unhealthy
Threshold int - NOTE: This field is only available when
enableDetailsistrue. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
- backend_
server_ numberport - NOTE: This field is only available when
enableDetailsistrue. 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
enableDetailsistrue. Whether EIP transparent transmission is enabled. - established_
timeout number - NOTE: This field is only available when
enableDetailsistrue. The timeout period of the connection. Unit: seconds. - health_
check_ numberconnect_ port - NOTE: This field is only available when
enableDetailsistrue. The port used for health checks. - health_
check_ numberconnect_ timeout - NOTE: This field is only available when
enableDetailsistrue. The amount of time to wait for a response from the health check. Unit: seconds. - health_
check_ stringexp - NOTE: This field is only available when
enableDetailsistrue. The expected response string for the UDP listener health check. - health_
check_ numberinterval - NOTE: This field is only available when
enableDetailsistrue. The interval between two consecutive health checks. Unit: seconds. - health_
check_ stringreq - NOTE: This field is only available when
enableDetailsistrue. The request string for the UDP listener health check. - healthy_
threshold number - NOTE: This field is only available when
enableDetailsistrue. 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_ stringid - 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
enableDetailsistrue. The scheduling algorithm. - status string
- The status of the listener.
- unhealthy_
threshold number - NOTE: This field is only available when
enableDetailsistrue. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
- backend
Server IntegerPort - NOTE: This field is only available when
enableDetailsistrue. 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
enableDetailsistrue. Whether EIP transparent transmission is enabled. - established
Timeout Integer - NOTE: This field is only available when
enableDetailsistrue. The timeout period of the connection. Unit: seconds. - health
Check IntegerConnect Port - NOTE: This field is only available when
enableDetailsistrue. The port used for health checks. - health
Check IntegerConnect Timeout - NOTE: This field is only available when
enableDetailsistrue. The amount of time to wait for a response from the health check. Unit: seconds. - health
Check StringExp - NOTE: This field is only available when
enableDetailsistrue. The expected response string for the UDP listener health check. - health
Check IntegerInterval - NOTE: This field is only available when
enableDetailsistrue. The interval between two consecutive health checks. Unit: seconds. - health
Check StringReq - NOTE: This field is only available when
enableDetailsistrue. The request string for the UDP listener health check. - healthy
Threshold Integer - NOTE: This field is only available when
enableDetailsistrue. 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 Integer - The frontend port used by the load balancer instance.
- load
Balancer StringId - 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
enableDetailsistrue. The scheduling algorithm. - status String
- The status of the listener.
- unhealthy
Threshold Integer - NOTE: This field is only available when
enableDetailsistrue. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
- backend
Server numberPort - NOTE: This field is only available when
enableDetailsistrue. 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
enableDetailsistrue. Whether EIP transparent transmission is enabled. - established
Timeout number - NOTE: This field is only available when
enableDetailsistrue. The timeout period of the connection. Unit: seconds. - health
Check numberConnect Port - NOTE: This field is only available when
enableDetailsistrue. The port used for health checks. - health
Check numberConnect Timeout - NOTE: This field is only available when
enableDetailsistrue. The amount of time to wait for a response from the health check. Unit: seconds. - health
Check stringExp - NOTE: This field is only available when
enableDetailsistrue. The expected response string for the UDP listener health check. - health
Check numberInterval - NOTE: This field is only available when
enableDetailsistrue. The interval between two consecutive health checks. Unit: seconds. - health
Check stringReq - NOTE: This field is only available when
enableDetailsistrue. The request string for the UDP listener health check. - healthy
Threshold number - NOTE: This field is only available when
enableDetailsistrue. 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 stringId - 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
enableDetailsistrue. The scheduling algorithm. - status string
- The status of the listener.
- unhealthy
Threshold number - NOTE: This field is only available when
enableDetailsistrue. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
- backend_
server_ intport - NOTE: This field is only available when
enableDetailsistrue. 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
enableDetailsistrue. Whether EIP transparent transmission is enabled. - established_
timeout int - NOTE: This field is only available when
enableDetailsistrue. The timeout period of the connection. Unit: seconds. - health_
check_ intconnect_ port - NOTE: This field is only available when
enableDetailsistrue. The port used for health checks. - health_
check_ intconnect_ timeout - NOTE: This field is only available when
enableDetailsistrue. The amount of time to wait for a response from the health check. Unit: seconds. - health_
check_ strexp - NOTE: This field is only available when
enableDetailsistrue. The expected response string for the UDP listener health check. - health_
check_ intinterval - NOTE: This field is only available when
enableDetailsistrue. The interval between two consecutive health checks. Unit: seconds. - health_
check_ strreq - NOTE: This field is only available when
enableDetailsistrue. The request string for the UDP listener health check. - healthy_
threshold int - NOTE: This field is only available when
enableDetailsistrue. 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_ strid - 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
enableDetailsistrue. The scheduling algorithm. - status str
- The status of the listener.
- unhealthy_
threshold int - NOTE: This field is only available when
enableDetailsistrue. The number of consecutive failed health checks that must occur before a backend server is declared unhealthy.
- backend
Server NumberPort - NOTE: This field is only available when
enableDetailsistrue. 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
enableDetailsistrue. Whether EIP transparent transmission is enabled. - established
Timeout Number - NOTE: This field is only available when
enableDetailsistrue. The timeout period of the connection. Unit: seconds. - health
Check NumberConnect Port - NOTE: This field is only available when
enableDetailsistrue. The port used for health checks. - health
Check NumberConnect Timeout - NOTE: This field is only available when
enableDetailsistrue. The amount of time to wait for a response from the health check. Unit: seconds. - health
Check StringExp - NOTE: This field is only available when
enableDetailsistrue. The expected response string for the UDP listener health check. - health
Check NumberInterval - NOTE: This field is only available when
enableDetailsistrue. The interval between two consecutive health checks. Unit: seconds. - health
Check StringReq - NOTE: This field is only available when
enableDetailsistrue. The request string for the UDP listener health check. - healthy
Threshold Number - NOTE: This field is only available when
enableDetailsistrue. 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 StringId - 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
enableDetailsistrue. The scheduling algorithm. - status String
- The status of the listener.
- unhealthy
Threshold Number - NOTE: This field is only available when
enableDetailsistrue. 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
alicloudTerraform Provider.
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi