get Custom Routing Endpoint Group Destinations
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
A collection of arguments for invoking getCustomRoutingEndpointGroupDestinations.
Return
A collection of values returned by getCustomRoutingEndpointGroupDestinations.
See also
Parameters
The ID of the GA instance.
The ID of the endpoint group.
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
.
A list of Custom Routing Endpoint Group Destination IDs.
The ID of the listener.
File name where to save data source results (after running pulumi preview
).
The backend service protocol of the endpoint group. Valid values: TCP
, UDP
, TCP, UDP
.
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
Builder for com.pulumi.alicloud.ga.kotlin.inputs.GetCustomRoutingEndpointGroupDestinationsPlainArgs.