get Vpc Endpoint Services
suspend fun getVpcEndpointServices(argument: GetVpcEndpointServicesPlainArgs): GetVpcEndpointServicesResult
This data source provides the Privatelink Vpc Endpoint Services 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.GetVpcEndpointServicesArgs;
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.getVpcEndpointServices(GetVpcEndpointServicesArgs.builder()
.ids("example_value")
.nameRegex("the_resource_name")
.build());
ctx.export("firstPrivatelinkVpcEndpointServiceId", example.applyValue(getVpcEndpointServicesResult -> getVpcEndpointServicesResult.services()[0].id()));
}
}
Content copied to clipboard
Return
A collection of values returned by getVpcEndpointServices.
Parameters
argument
A collection of arguments for invoking getVpcEndpointServices.
suspend fun getVpcEndpointServices(autoAcceptConnection: Boolean? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, serviceBusinessStatus: String? = null, status: String? = null, vpcEndpointServiceName: String? = null): GetVpcEndpointServicesResult
Return
A collection of values returned by getVpcEndpointServices.
See also
Parameters
auto Accept Connection
Whether to automatically accept terminal node connections..
ids
A list of Vpc Endpoint Service IDs.
name Regex
A regex string to filter results by Vpc Endpoint Service name.
output File
service Business Status
The business status of the terminal node service..
status
The Status of Vpc Endpoint Service.
vpc Endpoint Service Name
The name of Vpc Endpoint Service.
suspend fun getVpcEndpointServices(argument: suspend GetVpcEndpointServicesPlainArgsBuilder.() -> Unit): GetVpcEndpointServicesResult
Return
A collection of values returned by getVpcEndpointServices.
See also
Parameters
argument
Builder for com.pulumi.alicloud.privatelink.kotlin.inputs.GetVpcEndpointServicesPlainArgs.