CustomRoutingEndpointGroupDestinationArgs

data class CustomRoutingEndpointGroupDestinationArgs(val endpointGroupId: Output<String>? = null, val fromPort: Output<Int>? = null, val protocols: Output<List<String>>? = null, val toPort: Output<Int>? = null) : ConvertibleToJava<CustomRoutingEndpointGroupDestinationArgs>

Provides a Global Accelerator (GA) Custom Routing Endpoint Group Destination resource. For information about Global Accelerator (GA) Custom Routing Endpoint Group Destination and how to use it, see What is Custom Routing Endpoint Group Destination.

NOTE: Available in v1.197.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.CustomRoutingEndpointGroupDestination;
import com.pulumi.alicloud.ga.CustomRoutingEndpointGroupDestinationArgs;
import java.util.List;
import java.util.ArrayList;
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) {
var default_ = new CustomRoutingEndpointGroupDestination("default", CustomRoutingEndpointGroupDestinationArgs.builder()
.endpointGroupId("your_custom_routing_endpoint_group_id")
.fromPort(1)
.protocols(
"TCP",
"UDP")
.toPort(2)
.build());
}
}

Import

Global Accelerator (GA) Custom Routing Endpoint Group Destination can be imported using the id, e.g.

$ pulumi import alicloud:ga/customRoutingEndpointGroupDestination:CustomRoutingEndpointGroupDestination example <endpoint_group_id>:<custom_routing_endpoint_group_destination_id>

Constructors

fun CustomRoutingEndpointGroupDestinationArgs(endpointGroupId: Output<String>? = null, fromPort: Output<Int>? = null, protocols: Output<List<String>>? = null, toPort: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CustomRoutingEndpointGroupDestinationArgs

Properties

Link copied to clipboard
val endpointGroupId: Output<String>? = null

The ID of the endpoint group.

Link copied to clipboard
val fromPort: Output<Int>? = null

The start port of the backend service port range of the endpoint group. The from_port value must be smaller than or equal to the to_port value. Valid values: 1 to 65499.

Link copied to clipboard
val protocols: Output<List<String>>? = null

The backend service protocol of the endpoint group. Valid values: TCP, UDP, TCP, UDP.

Link copied to clipboard
val toPort: Output<Int>? = null

The end port of the backend service port range of the endpoint group. The from_port value must be smaller than or equal to the to_port value. Valid values: 1 to 65499.