get Custom Routing Endpoint Groups
This data source provides the Global Accelerator (GA) Custom Routing Endpoint Groups 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.GetCustomRoutingEndpointGroupsArgs;
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.getCustomRoutingEndpointGroups(GetCustomRoutingEndpointGroupsArgs.builder()
.ids("example_id")
.acceleratorId("your_accelerator_id")
.build());
ctx.export("gaCustomRoutingEndpointGroupsId1", ids.applyValue(getCustomRoutingEndpointGroupsResult -> getCustomRoutingEndpointGroupsResult.groups()[0].id()));
final var nameRegex = GaFunctions.getCustomRoutingEndpointGroups(GetCustomRoutingEndpointGroupsArgs.builder()
.nameRegex("tf-example")
.acceleratorId("your_accelerator_id")
.build());
ctx.export("gaCustomRoutingEndpointGroupsId2", nameRegex.applyValue(getCustomRoutingEndpointGroupsResult -> getCustomRoutingEndpointGroupsResult.groups()[0].id()));
}
}
Return
A collection of values returned by getCustomRoutingEndpointGroups.
Parameters
A collection of arguments for invoking getCustomRoutingEndpointGroups.
Return
A collection of values returned by getCustomRoutingEndpointGroups.
See also
Parameters
The ID of the GA instance.
The ID of the endpoint group.
A list of Custom Routing Endpoint Group IDs.
The ID of the custom routing listener.
A regex string to filter results by Custom Routing Endpoint Group name.
File name where to save data source results (after running pulumi preview
).
The status of the endpoint group. Valid Values: init
, active
, updating
, deleting
.
Return
A collection of values returned by getCustomRoutingEndpointGroups.
See also
Parameters
Builder for com.pulumi.alicloud.ga.kotlin.inputs.GetCustomRoutingEndpointGroupsPlainArgs.