getConnections

Retrieve information about connections.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.networkmanager.NetworkmanagerFunctions;
import com.pulumi.aws.networkmanager.inputs.GetConnectionsArgs;
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 = NetworkmanagerFunctions.getConnections(GetConnectionsArgs.builder()
.globalNetworkId(var_.global_network_id())
.tags(Map.of("Env", "test"))
.build());
}
}

Return

A collection of values returned by getConnections.

Parameters

argument

A collection of arguments for invoking getConnections.


suspend fun getConnections(deviceId: String? = null, globalNetworkId: String, tags: Map<String, String>? = null): GetConnectionsResult

Return

A collection of values returned by getConnections.

Parameters

deviceId

ID of the device of the connections to retrieve.

globalNetworkId

ID of the Global Network of the connections to retrieve.

tags

Restricts the list to the connections with these tags.

See also


Return

A collection of values returned by getConnections.

Parameters

argument

Builder for com.pulumi.aws.networkmanager.kotlin.inputs.GetConnectionsPlainArgs.

See also