get Links
Retrieve information about link.
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.GetLinksArgs;
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.getLinks(GetLinksArgs.builder()
.globalNetworkId(var_.global_network_id())
.tags(Map.of("Env", "test"))
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getLinks.
Parameters
argument
A collection of arguments for invoking getLinks.
suspend fun getLinks(globalNetworkId: String, providerName: String? = null, siteId: String? = null, tags: Map<String, String>? = null, type: String? = null): GetLinksResult
Return
A collection of values returned by getLinks.
Parameters
global Network Id
ID of the Global Network of the links to retrieve.
provider Name
Link provider to retrieve.
site Id
ID of the site of the links to retrieve.
tags
Restricts the list to the links with these tags.
type
Link type to retrieve.
See also
Return
A collection of values returned by getLinks.
Parameters
argument
Builder for com.pulumi.aws.networkmanager.kotlin.inputs.GetLinksPlainArgs.