get Service Endpoint Connections
suspend fun getServiceEndpointConnections(argument: GetServiceEndpointConnectionsPlainArgs): GetServiceEndpointConnectionsResult
Use this data source to access endpoint connection information about an existing Private Link Service.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.privatelink.PrivatelinkFunctions;
import com.pulumi.azure.privatelink.inputs.GetServiceEndpointConnectionsArgs;
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.getServiceEndpointConnections(GetServiceEndpointConnectionsArgs.builder()
.serviceId(azurerm_private_link_service.example().id())
.resourceGroupName(azurerm_resource_group.example().name())
.build());
ctx.export("privateEndpointStatus", example.applyValue(getServiceEndpointConnectionsResult -> getServiceEndpointConnectionsResult.privateEndpointConnections()[0].status()));
}
}
Content copied to clipboard
Return
A collection of values returned by getServiceEndpointConnections.
Parameters
argument
A collection of arguments for invoking getServiceEndpointConnections.
suspend fun getServiceEndpointConnections(resourceGroupName: String, serviceId: String): GetServiceEndpointConnectionsResult
Return
A collection of values returned by getServiceEndpointConnections.
See also
Parameters
resource Group Name
The name of the resource group in which the private link service resides.
service Id
The resource ID of the private link service.
suspend fun getServiceEndpointConnections(argument: suspend GetServiceEndpointConnectionsPlainArgsBuilder.() -> Unit): GetServiceEndpointConnectionsResult
Return
A collection of values returned by getServiceEndpointConnections.
See also
Parameters
argument
Builder for com.pulumi.azure.privatelink.kotlin.inputs.GetServiceEndpointConnectionsPlainArgs.