get Vpc Endpoints
This data source provides the Privatelink Vpc Endpoints of the current Alibaba Cloud user.
NOTE: Available in v1.109.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.privatelink.PrivatelinkFunctions;
import com.pulumi.alicloud.privatelink.inputs.GetVpcEndpointsArgs;
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 = PrivatelinkFunctions.getVpcEndpoints(GetVpcEndpointsArgs.builder()
.ids("example_value")
.nameRegex("the_resource_name")
.build());
ctx.export("firstPrivatelinkVpcEndpointId", example.applyValue(getVpcEndpointsResult -> getVpcEndpointsResult.endpoints()[0].id()));
}
}
Return
A collection of values returned by getVpcEndpoints.
Parameters
A collection of arguments for invoking getVpcEndpoints.
Return
A collection of values returned by getVpcEndpoints.
See also
Parameters
The status of Connection.
Default to false
. Set it to true
can output more details about resource attributes.
A list of Vpc Endpoint IDs.
A regex string to filter results by Vpc Endpoint name.
File name where to save data source results (after running pulumi preview
).
The name of the terminal node service associated with the terminal node.
The status of Vpc Endpoint.
The name of Vpc Endpoint.
The private network to which the terminal node belongs.
Return
A collection of values returned by getVpcEndpoints.
See also
Parameters
Builder for com.pulumi.alicloud.privatelink.kotlin.inputs.GetVpcEndpointsPlainArgs.