getCustomRoutingEndpointGroupDestinations

This data source provides the Global Accelerator (GA) Custom Routing Endpoint Group Destinations of the current Alibaba Cloud user.

NOTE: Available in 1.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.GaFunctions;
import com.pulumi.alicloud.ga.inputs.GetCustomRoutingEndpointGroupDestinationsArgs;
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) {
final var ids = GaFunctions.getCustomRoutingEndpointGroupDestinations(GetCustomRoutingEndpointGroupDestinationsArgs.builder()
.ids("example_id")
.acceleratorId("your_accelerator_id")
.build());
ctx.export("gaCustomRoutingEndpointGroupDestinationsId1", ids.applyValue(getCustomRoutingEndpointGroupDestinationsResult -> getCustomRoutingEndpointGroupDestinationsResult.customRoutingEndpointGroupDestinations()[0].id()));
}
}

Return

A collection of values returned by getCustomRoutingEndpointGroupDestinations.

Parameters

argument

A collection of arguments for invoking getCustomRoutingEndpointGroupDestinations.


suspend fun getCustomRoutingEndpointGroupDestinations(acceleratorId: String, endpointGroupId: String? = null, fromPort: Int? = null, ids: List<String>? = null, listenerId: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, protocols: List<String>? = null, toPort: Int? = null): GetCustomRoutingEndpointGroupDestinationsResult

Return

A collection of values returned by getCustomRoutingEndpointGroupDestinations.

See also

Parameters

acceleratorId

The ID of the GA instance.

endpointGroupId

The ID of the endpoint group.

fromPort

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.

ids

A list of Custom Routing Endpoint Group Destination IDs.

listenerId

The ID of the listener.

outputFile

File name where to save data source results (after running pulumi preview).

pageNumber
pageSize
protocols

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

toPort

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.


Return

A collection of values returned by getCustomRoutingEndpointGroupDestinations.

See also

Parameters

argument

Builder for com.pulumi.alicloud.ga.kotlin.inputs.GetCustomRoutingEndpointGroupDestinationsPlainArgs.