get Basic Endpoints
This data source provides the Global Accelerator (GA) Basic Endpoints of the current Alibaba Cloud user.
NOTE: Available in v1.194.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.GetBasicEndpointsArgs;
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.getBasicEndpoints(GetBasicEndpointsArgs.builder()
.ids("example_id")
.endpointGroupId("example_id")
.build());
ctx.export("gaBasicEndpointsId1", ids.applyValue(getBasicEndpointsResult -> getBasicEndpointsResult.endpoints()[0].id()));
final var nameRegex = GaFunctions.getBasicEndpoints(GetBasicEndpointsArgs.builder()
.nameRegex("tf-example")
.endpointGroupId("example_id")
.build());
ctx.export("gaBasicEndpointsId2", nameRegex.applyValue(getBasicEndpointsResult -> getBasicEndpointsResult.endpoints()[0].id()));
}
}
Return
A collection of values returned by getBasicEndpoints.
Parameters
A collection of arguments for invoking getBasicEndpoints.
Return
A collection of values returned by getBasicEndpoints.
See also
Parameters
The ID of the Basic Endpoint Group.
The ID of the Basic Endpoint.
The type of the Basic Endpoint. Valid values: ENI
, SLB
, ECS
and NLB
.
A list of Global Accelerator Basic Endpoints IDs.
The name of the Basic Endpoint.
A regex string to filter results by Global Accelerator Basic Endpoints name.
The status of the Global Accelerator Basic Endpoint. Valid Value: init
, active
, updating
, binding
, unbinding
, deleting
, bound
.
Return
A collection of values returned by getBasicEndpoints.
See also
Parameters
Builder for com.pulumi.alicloud.ga.kotlin.inputs.GetBasicEndpointsPlainArgs.