get Endpoint Groups
This data source provides the Global Accelerator (GA) Endpoint Groups of the current Alibaba Cloud user.
NOTE: Available in v1.113.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.GetEndpointGroupsArgs;
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 example = GaFunctions.getEndpointGroups(GetEndpointGroupsArgs.builder()
.acceleratorId("example_value")
.ids("example_value")
.nameRegex("the_resource_name")
.build());
ctx.export("firstGaEndpointGroupId", example.applyValue(getEndpointGroupsResult -> getEndpointGroupsResult.groups()[0].id()));
}
}
Return
A collection of values returned by getEndpointGroups.
Parameters
A collection of arguments for invoking getEndpointGroups.
Return
A collection of values returned by getEndpointGroups.
See also
Parameters
The ID of the Global Accelerator instance to which the endpoint group will be added.
The endpoint group type. Valid values: default
, virtual
. Default value is default
.
A list of Endpoint Group IDs.
The ID of the listener that is associated with the endpoint group.
A regex string to filter results by Endpoint Group name.
File name where to save data source results (after running pulumi preview
).
The status of the endpoint group.
Return
A collection of values returned by getEndpointGroups.
See also
Parameters
Builder for com.pulumi.alicloud.ga.kotlin.inputs.GetEndpointGroupsPlainArgs.