published on Wednesday, Apr 29, 2026 by pulumiverse
published on Wednesday, Apr 29, 2026 by pulumiverse
Gets information about an Interlink Link.
A link is a logical Interlink session created within a PoP, representing the connection between your infrastructure and Scaleway.
For more information, see the Interlink documentation and API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Get link info by ID
const myLink = scaleway.interlink.getLink({
linkId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
# Get link info by ID
my_link = scaleway.interlink.get_link(link_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/interlink"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get link info by ID
_, err := interlink.LookupLink(ctx, &interlink.LookupLinkArgs{
LinkId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// Get link info by ID
var myLink = Scaleway.Interlink.GetLink.Invoke(new()
{
LinkId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.interlink.InterlinkFunctions;
import com.pulumi.scaleway.interlink.inputs.GetLinkArgs;
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) {
// Get link info by ID
final var myLink = InterlinkFunctions.getLink(GetLinkArgs.builder()
.linkId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
# Get link info by ID
myLink:
fn::invoke:
function: scaleway:interlink:getLink
arguments:
linkId: 11111111-1111-1111-1111-111111111111
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Get link info by name
const myLink = scaleway.interlink.getLink({
name: "my-link",
});
import pulumi
import pulumi_scaleway as scaleway
# Get link info by name
my_link = scaleway.interlink.get_link(name="my-link")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/interlink"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get link info by name
_, err := interlink.LookupLink(ctx, &interlink.LookupLinkArgs{
Name: pulumi.StringRef("my-link"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// Get link info by name
var myLink = Scaleway.Interlink.GetLink.Invoke(new()
{
Name = "my-link",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.interlink.InterlinkFunctions;
import com.pulumi.scaleway.interlink.inputs.GetLinkArgs;
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) {
// Get link info by name
final var myLink = InterlinkFunctions.getLink(GetLinkArgs.builder()
.name("my-link")
.build());
}
}
variables:
# Get link info by name
myLink:
fn::invoke:
function: scaleway:interlink:getLink
arguments:
name: my-link
Example coming soon!
Using getLink
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLink(args: GetLinkArgs, opts?: InvokeOptions): Promise<GetLinkResult>
function getLinkOutput(args: GetLinkOutputArgs, opts?: InvokeOptions): Output<GetLinkResult>def get_link(link_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLinkResult
def get_link_output(link_id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLinkResult]func LookupLink(ctx *Context, args *LookupLinkArgs, opts ...InvokeOption) (*LookupLinkResult, error)
func LookupLinkOutput(ctx *Context, args *LookupLinkOutputArgs, opts ...InvokeOption) LookupLinkResultOutput> Note: This function is named LookupLink in the Go SDK.
public static class GetLink
{
public static Task<GetLinkResult> InvokeAsync(GetLinkArgs args, InvokeOptions? opts = null)
public static Output<GetLinkResult> Invoke(GetLinkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLinkResult> getLink(GetLinkArgs args, InvokeOptions options)
public static Output<GetLinkResult> getLink(GetLinkArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:interlink/getLink:getLink
arguments:
# arguments dictionarydata "scaleway_interlink_getlink" "name" {
# arguments
}The following arguments are supported:
- link_
id string Unique identifier of the link. Conflicts with
name.Note You must specify at least one:
nameand/orlinkId.- name string
- Name of the link. Conflicts with
linkId. - project_
id string - Project ID.
- region string
region) The region in which the link exists.
- link_
id str Unique identifier of the link. Conflicts with
name.Note You must specify at least one:
nameand/orlinkId.- name str
- Name of the link. Conflicts with
linkId. - project_
id str - Project ID.
- region str
region) The region in which the link exists.
getLink Result
The following output properties are available:
- Bandwidth
Mbps int - Rate limited bandwidth of the link.
- Bgp
V4Status string - Status of the link's BGP IPv4 session.
- Bgp
V6Status string - Status of the link's BGP IPv6 session.
- Connection
Id string - Dedicated physical connection supporting the link.
- Created
At string - Creation date of the link.
- Enable
Route boolPropagation - Defines whether route propagation is enabled or not.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - Organization ID.
- Pairing
Key string - Used to identify a link from a user or partner's point of view.
- Partner
Id string - ID of the partner facilitating the link.
- Peer
Asn int - For self-hosted links, the peer AS Number to establish BGP session.
- Peer
Bgp List<Pulumiverse.Configs Scaleway. Interlink. Outputs. Get Link Peer Bgp Config> - BGP configuration on peer's side (on-premises or other hosting provider).
- Pop
Id string - ID of the PoP where the link's corresponding connection is located.
- Routing
Policy stringV4Id - ID of the routing policy IPv4 attached to the link.
- Routing
Policy stringV6Id - ID of the routing policy IPv6 attached to the link.
- Scw
Bgp List<Pulumiverse.Configs Scaleway. Interlink. Outputs. Get Link Scw Bgp Config> - BGP configuration on Scaleway's side.
- Status string
- Status of the link.
- List<string>
- List of tags associated with the link.
- Updated
At string - Last modification date of the link.
- Vlan int
- VLAN of the link.
- Vpc
Id string - ID of the Scaleway VPC attached to the link.
- Link
Id string - Name string
- Project
Id string - Region string
- Bandwidth
Mbps int - Rate limited bandwidth of the link.
- Bgp
V4Status string - Status of the link's BGP IPv4 session.
- Bgp
V6Status string - Status of the link's BGP IPv6 session.
- Connection
Id string - Dedicated physical connection supporting the link.
- Created
At string - Creation date of the link.
- Enable
Route boolPropagation - Defines whether route propagation is enabled or not.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - Organization ID.
- Pairing
Key string - Used to identify a link from a user or partner's point of view.
- Partner
Id string - ID of the partner facilitating the link.
- Peer
Asn int - For self-hosted links, the peer AS Number to establish BGP session.
- Peer
Bgp []GetConfigs Link Peer Bgp Config - BGP configuration on peer's side (on-premises or other hosting provider).
- Pop
Id string - ID of the PoP where the link's corresponding connection is located.
- Routing
Policy stringV4Id - ID of the routing policy IPv4 attached to the link.
- Routing
Policy stringV6Id - ID of the routing policy IPv6 attached to the link.
- Scw
Bgp []GetConfigs Link Scw Bgp Config - BGP configuration on Scaleway's side.
- Status string
- Status of the link.
- []string
- List of tags associated with the link.
- Updated
At string - Last modification date of the link.
- Vlan int
- VLAN of the link.
- Vpc
Id string - ID of the Scaleway VPC attached to the link.
- Link
Id string - Name string
- Project
Id string - Region string
- bandwidth_
mbps number - Rate limited bandwidth of the link.
- bgp_
v4_ stringstatus - Status of the link's BGP IPv4 session.
- bgp_
v6_ stringstatus - Status of the link's BGP IPv6 session.
- connection_
id string - Dedicated physical connection supporting the link.
- created_
at string - Creation date of the link.
- enable_
route_ boolpropagation - Defines whether route propagation is enabled or not.
- id string
- The provider-assigned unique ID for this managed resource.
- organization_
id string - Organization ID.
- pairing_
key string - Used to identify a link from a user or partner's point of view.
- partner_
id string - ID of the partner facilitating the link.
- peer_
asn number - For self-hosted links, the peer AS Number to establish BGP session.
- peer_
bgp_ list(object)configs - BGP configuration on peer's side (on-premises or other hosting provider).
- pop_
id string - ID of the PoP where the link's corresponding connection is located.
- routing_
policy_ stringv4_ id - ID of the routing policy IPv4 attached to the link.
- routing_
policy_ stringv6_ id - ID of the routing policy IPv6 attached to the link.
- scw_
bgp_ list(object)configs - BGP configuration on Scaleway's side.
- status string
- Status of the link.
- list(string)
- List of tags associated with the link.
- updated_
at string - Last modification date of the link.
- vlan number
- VLAN of the link.
- vpc_
id string - ID of the Scaleway VPC attached to the link.
- link_
id string - name string
- project_
id string - region string
- bandwidth
Mbps Integer - Rate limited bandwidth of the link.
- bgp
V4Status String - Status of the link's BGP IPv4 session.
- bgp
V6Status String - Status of the link's BGP IPv6 session.
- connection
Id String - Dedicated physical connection supporting the link.
- created
At String - Creation date of the link.
- enable
Route BooleanPropagation - Defines whether route propagation is enabled or not.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - Organization ID.
- pairing
Key String - Used to identify a link from a user or partner's point of view.
- partner
Id String - ID of the partner facilitating the link.
- peer
Asn Integer - For self-hosted links, the peer AS Number to establish BGP session.
- peer
Bgp List<GetConfigs Link Peer Bgp Config> - BGP configuration on peer's side (on-premises or other hosting provider).
- pop
Id String - ID of the PoP where the link's corresponding connection is located.
- routing
Policy StringV4Id - ID of the routing policy IPv4 attached to the link.
- routing
Policy StringV6Id - ID of the routing policy IPv6 attached to the link.
- scw
Bgp List<GetConfigs Link Scw Bgp Config> - BGP configuration on Scaleway's side.
- status String
- Status of the link.
- List<String>
- List of tags associated with the link.
- updated
At String - Last modification date of the link.
- vlan Integer
- VLAN of the link.
- vpc
Id String - ID of the Scaleway VPC attached to the link.
- link
Id String - name String
- project
Id String - region String
- bandwidth
Mbps number - Rate limited bandwidth of the link.
- bgp
V4Status string - Status of the link's BGP IPv4 session.
- bgp
V6Status string - Status of the link's BGP IPv6 session.
- connection
Id string - Dedicated physical connection supporting the link.
- created
At string - Creation date of the link.
- enable
Route booleanPropagation - Defines whether route propagation is enabled or not.
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - Organization ID.
- pairing
Key string - Used to identify a link from a user or partner's point of view.
- partner
Id string - ID of the partner facilitating the link.
- peer
Asn number - For self-hosted links, the peer AS Number to establish BGP session.
- peer
Bgp GetConfigs Link Peer Bgp Config[] - BGP configuration on peer's side (on-premises or other hosting provider).
- pop
Id string - ID of the PoP where the link's corresponding connection is located.
- routing
Policy stringV4Id - ID of the routing policy IPv4 attached to the link.
- routing
Policy stringV6Id - ID of the routing policy IPv6 attached to the link.
- scw
Bgp GetConfigs Link Scw Bgp Config[] - BGP configuration on Scaleway's side.
- status string
- Status of the link.
- string[]
- List of tags associated with the link.
- updated
At string - Last modification date of the link.
- vlan number
- VLAN of the link.
- vpc
Id string - ID of the Scaleway VPC attached to the link.
- link
Id string - name string
- project
Id string - region string
- bandwidth_
mbps int - Rate limited bandwidth of the link.
- bgp_
v4_ strstatus - Status of the link's BGP IPv4 session.
- bgp_
v6_ strstatus - Status of the link's BGP IPv6 session.
- connection_
id str - Dedicated physical connection supporting the link.
- created_
at str - Creation date of the link.
- enable_
route_ boolpropagation - Defines whether route propagation is enabled or not.
- id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - Organization ID.
- pairing_
key str - Used to identify a link from a user or partner's point of view.
- partner_
id str - ID of the partner facilitating the link.
- peer_
asn int - For self-hosted links, the peer AS Number to establish BGP session.
- peer_
bgp_ Sequence[Getconfigs Link Peer Bgp Config] - BGP configuration on peer's side (on-premises or other hosting provider).
- pop_
id str - ID of the PoP where the link's corresponding connection is located.
- routing_
policy_ strv4_ id - ID of the routing policy IPv4 attached to the link.
- routing_
policy_ strv6_ id - ID of the routing policy IPv6 attached to the link.
- scw_
bgp_ Sequence[Getconfigs Link Scw Bgp Config] - BGP configuration on Scaleway's side.
- status str
- Status of the link.
- Sequence[str]
- List of tags associated with the link.
- updated_
at str - Last modification date of the link.
- vlan int
- VLAN of the link.
- vpc_
id str - ID of the Scaleway VPC attached to the link.
- link_
id str - name str
- project_
id str - region str
- bandwidth
Mbps Number - Rate limited bandwidth of the link.
- bgp
V4Status String - Status of the link's BGP IPv4 session.
- bgp
V6Status String - Status of the link's BGP IPv6 session.
- connection
Id String - Dedicated physical connection supporting the link.
- created
At String - Creation date of the link.
- enable
Route BooleanPropagation - Defines whether route propagation is enabled or not.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - Organization ID.
- pairing
Key String - Used to identify a link from a user or partner's point of view.
- partner
Id String - ID of the partner facilitating the link.
- peer
Asn Number - For self-hosted links, the peer AS Number to establish BGP session.
- peer
Bgp List<Property Map>Configs - BGP configuration on peer's side (on-premises or other hosting provider).
- pop
Id String - ID of the PoP where the link's corresponding connection is located.
- routing
Policy StringV4Id - ID of the routing policy IPv4 attached to the link.
- routing
Policy StringV6Id - ID of the routing policy IPv6 attached to the link.
- scw
Bgp List<Property Map>Configs - BGP configuration on Scaleway's side.
- status String
- Status of the link.
- List<String>
- List of tags associated with the link.
- updated
At String - Last modification date of the link.
- vlan Number
- VLAN of the link.
- vpc
Id String - ID of the Scaleway VPC attached to the link.
- link
Id String - name String
- project
Id String - region String
Supporting Types
GetLinkPeerBgpConfig
GetLinkScwBgpConfig
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
published on Wednesday, Apr 29, 2026 by pulumiverse
