published on Wednesday, Apr 29, 2026 by pulumiverse
published on Wednesday, Apr 29, 2026 by pulumiverse
Creates and manages Scaleway Interlink Links.
A link is a logical Interlink session created within a PoP, representing the connection between your infrastructure and Scaleway. Links can be hosted (facilitated by a partner’s shared connection) or self-hosted (using your own dedicated physical connection).
For more information, see the Interlink documentation and API documentation.
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const pop = scaleway.interlink.getPop({
name: "Telehouse TH2",
});
const partner = scaleway.interlink.getPartner({
name: "FranceIX",
});
const main = new scaleway.interlink.Link("main", {
name: "my-hosted-link",
popId: pop.then(pop => pop.id),
partnerId: partner.then(partner => partner.id),
bandwidthMbps: 50,
});
import pulumi
import pulumi_scaleway as scaleway
import pulumiverse_scaleway as scaleway
pop = scaleway.interlink.get_pop(name="Telehouse TH2")
partner = scaleway.interlink.get_partner(name="FranceIX")
main = scaleway.interlink.Link("main",
name="my-hosted-link",
pop_id=pop.id,
partner_id=partner.id,
bandwidth_mbps=50)
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 {
pop, err := interlink.GetPop(ctx, &interlink.GetPopArgs{
Name: pulumi.StringRef("Telehouse TH2"),
}, nil)
if err != nil {
return err
}
partner, err := interlink.GetPartner(ctx, &interlink.GetPartnerArgs{
Name: pulumi.StringRef("FranceIX"),
}, nil)
if err != nil {
return err
}
_, err = interlink.NewLink(ctx, "main", &interlink.LinkArgs{
Name: pulumi.String("my-hosted-link"),
PopId: pulumi.String(pulumi.String(pop.Id)),
PartnerId: pulumi.String(pulumi.String(partner.Id)),
BandwidthMbps: pulumi.Int(50),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var pop = Scaleway.Interlink.GetPop.Invoke(new()
{
Name = "Telehouse TH2",
});
var partner = Scaleway.Interlink.GetPartner.Invoke(new()
{
Name = "FranceIX",
});
var main = new Scaleway.Interlink.Link("main", new()
{
Name = "my-hosted-link",
PopId = pop.Apply(getPopResult => getPopResult.Id),
PartnerId = partner.Apply(getPartnerResult => getPartnerResult.Id),
BandwidthMbps = 50,
});
});
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.GetPopArgs;
import com.pulumi.scaleway.interlink.inputs.GetPartnerArgs;
import com.pulumi.scaleway.interlink.Link;
import com.pulumi.scaleway.interlink.LinkArgs;
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 pop = InterlinkFunctions.getPop(GetPopArgs.builder()
.name("Telehouse TH2")
.build());
final var partner = InterlinkFunctions.getPartner(GetPartnerArgs.builder()
.name("FranceIX")
.build());
var main = new Link("main", LinkArgs.builder()
.name("my-hosted-link")
.popId(pop.id())
.partnerId(partner.id())
.bandwidthMbps(50)
.build());
}
}
resources:
main:
type: scaleway:interlink:Link
properties:
name: my-hosted-link
popId: ${pop.id}
partnerId: ${partner.id}
bandwidthMbps: 50
variables:
pop:
fn::invoke:
function: scaleway:interlink:getPop
arguments:
name: Telehouse TH2
partner:
fn::invoke:
function: scaleway:interlink:getPartner
arguments:
name: FranceIX
With VPC
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const pop = scaleway.interlink.getPop({
name: "Telehouse TH2",
});
const partner = scaleway.interlink.getPartner({
name: "FranceIX",
});
const vpc = new scaleway.network.Vpc("vpc", {name: "my-vpc"});
const main = new scaleway.interlink.Link("main", {
name: "my-hosted-link",
popId: pop.then(pop => pop.id),
partnerId: partner.then(partner => partner.id),
bandwidthMbps: 50,
vpcId: vpc.id,
});
import pulumi
import pulumi_scaleway as scaleway
import pulumiverse_scaleway as scaleway
pop = scaleway.interlink.get_pop(name="Telehouse TH2")
partner = scaleway.interlink.get_partner(name="FranceIX")
vpc = scaleway.network.Vpc("vpc", name="my-vpc")
main = scaleway.interlink.Link("main",
name="my-hosted-link",
pop_id=pop.id,
partner_id=partner.id,
bandwidth_mbps=50,
vpc_id=vpc.id)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/interlink"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/network"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
pop, err := interlink.GetPop(ctx, &interlink.GetPopArgs{
Name: pulumi.StringRef("Telehouse TH2"),
}, nil)
if err != nil {
return err
}
partner, err := interlink.GetPartner(ctx, &interlink.GetPartnerArgs{
Name: pulumi.StringRef("FranceIX"),
}, nil)
if err != nil {
return err
}
vpc, err := network.NewVpc(ctx, "vpc", &network.VpcArgs{
Name: pulumi.String("my-vpc"),
})
if err != nil {
return err
}
_, err = interlink.NewLink(ctx, "main", &interlink.LinkArgs{
Name: pulumi.String("my-hosted-link"),
PopId: pulumi.String(pulumi.String(pop.Id)),
PartnerId: pulumi.String(pulumi.String(partner.Id)),
BandwidthMbps: pulumi.Int(50),
VpcId: vpc.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var pop = Scaleway.Interlink.GetPop.Invoke(new()
{
Name = "Telehouse TH2",
});
var partner = Scaleway.Interlink.GetPartner.Invoke(new()
{
Name = "FranceIX",
});
var vpc = new Scaleway.Network.Vpc("vpc", new()
{
Name = "my-vpc",
});
var main = new Scaleway.Interlink.Link("main", new()
{
Name = "my-hosted-link",
PopId = pop.Apply(getPopResult => getPopResult.Id),
PartnerId = partner.Apply(getPartnerResult => getPartnerResult.Id),
BandwidthMbps = 50,
VpcId = vpc.Id,
});
});
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.GetPopArgs;
import com.pulumi.scaleway.interlink.inputs.GetPartnerArgs;
import com.pulumi.scaleway.network.Vpc;
import com.pulumi.scaleway.network.VpcArgs;
import com.pulumi.scaleway.interlink.Link;
import com.pulumi.scaleway.interlink.LinkArgs;
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 pop = InterlinkFunctions.getPop(GetPopArgs.builder()
.name("Telehouse TH2")
.build());
final var partner = InterlinkFunctions.getPartner(GetPartnerArgs.builder()
.name("FranceIX")
.build());
var vpc = new Vpc("vpc", VpcArgs.builder()
.name("my-vpc")
.build());
var main = new Link("main", LinkArgs.builder()
.name("my-hosted-link")
.popId(pop.id())
.partnerId(partner.id())
.bandwidthMbps(50)
.vpcId(vpc.id())
.build());
}
}
resources:
vpc:
type: scaleway:network:Vpc
properties:
name: my-vpc
main:
type: scaleway:interlink:Link
properties:
name: my-hosted-link
popId: ${pop.id}
partnerId: ${partner.id}
bandwidthMbps: 50
vpcId: ${vpc.id}
variables:
pop:
fn::invoke:
function: scaleway:interlink:getPop
arguments:
name: Telehouse TH2
partner:
fn::invoke:
function: scaleway:interlink:getPartner
arguments:
name: FranceIX
Create Link Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Link(name: string, args: LinkArgs, opts?: CustomResourceOptions);@overload
def Link(resource_name: str,
args: LinkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Link(resource_name: str,
opts: Optional[ResourceOptions] = None,
bandwidth_mbps: Optional[int] = None,
pop_id: Optional[str] = None,
name: Optional[str] = None,
enable_route_propagation: Optional[bool] = None,
partner_id: Optional[str] = None,
peer_asn: Optional[int] = None,
connection_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
routing_policy_v4_id: Optional[str] = None,
routing_policy_v6_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
vlan: Optional[int] = None,
vpc_id: Optional[str] = None)func NewLink(ctx *Context, name string, args LinkArgs, opts ...ResourceOption) (*Link, error)public Link(string name, LinkArgs args, CustomResourceOptions? opts = null)type: scaleway:interlink:Link
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LinkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Link Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Link resource accepts the following input properties:
- Bandwidth
Mbps int - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- Pop
Id string - PoP (location) where the link will be created.
- Connection
Id string - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - Enable
Route boolPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - Name string
- Name of the link. If not provided, a name will be randomly generated.
- Partner
Id string - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - Peer
Asn int - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- Project
Id string projectId) The ID of the project the link is associated with.- Region string
region) The region in which the link should be created.- Routing
Policy stringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- Routing
Policy stringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- List<string>
- List of tags to apply to the link.
- Vlan int
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- Vpc
Id string - ID of the Scaleway VPC to attach to the link.
- Bandwidth
Mbps int - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- Pop
Id string - PoP (location) where the link will be created.
- Connection
Id string - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - Enable
Route boolPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - Name string
- Name of the link. If not provided, a name will be randomly generated.
- Partner
Id string - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - Peer
Asn int - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- Project
Id string projectId) The ID of the project the link is associated with.- Region string
region) The region in which the link should be created.- Routing
Policy stringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- Routing
Policy stringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- []string
- List of tags to apply to the link.
- Vlan int
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- Vpc
Id string - ID of the Scaleway VPC to attach to the link.
- bandwidth
Mbps Integer - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- pop
Id String - PoP (location) where the link will be created.
- connection
Id String - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - enable
Route BooleanPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - name String
- Name of the link. If not provided, a name will be randomly generated.
- partner
Id String - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - peer
Asn Integer - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- project
Id String projectId) The ID of the project the link is associated with.- region String
region) The region in which the link should be created.- routing
Policy StringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- routing
Policy StringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- List<String>
- List of tags to apply to the link.
- vlan Integer
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- vpc
Id String - ID of the Scaleway VPC to attach to the link.
- bandwidth
Mbps number - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- pop
Id string - PoP (location) where the link will be created.
- connection
Id string - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - enable
Route booleanPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - name string
- Name of the link. If not provided, a name will be randomly generated.
- partner
Id string - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - peer
Asn number - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- project
Id string projectId) The ID of the project the link is associated with.- region string
region) The region in which the link should be created.- routing
Policy stringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- routing
Policy stringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- string[]
- List of tags to apply to the link.
- vlan number
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- vpc
Id string - ID of the Scaleway VPC to attach to the link.
- bandwidth_
mbps int - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- pop_
id str - PoP (location) where the link will be created.
- connection_
id str - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - enable_
route_ boolpropagation - Defines whether route propagation is enabled or not. Defaults to
false. - name str
- Name of the link. If not provided, a name will be randomly generated.
- partner_
id str - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - peer_
asn int - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- project_
id str projectId) The ID of the project the link is associated with.- region str
region) The region in which the link should be created.- routing_
policy_ strv4_ id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- routing_
policy_ strv6_ id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- Sequence[str]
- List of tags to apply to the link.
- vlan int
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- vpc_
id str - ID of the Scaleway VPC to attach to the link.
- bandwidth
Mbps Number - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- pop
Id String - PoP (location) where the link will be created.
- connection
Id String - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - enable
Route BooleanPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - name String
- Name of the link. If not provided, a name will be randomly generated.
- partner
Id String - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - peer
Asn Number - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- project
Id String projectId) The ID of the project the link is associated with.- region String
region) The region in which the link should be created.- routing
Policy StringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- routing
Policy StringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- List<String>
- List of tags to apply to the link.
- vlan Number
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- vpc
Id String - ID of the Scaleway VPC to attach to the link.
Outputs
All input properties are implicitly available as output properties. Additionally, the Link resource produces the following output properties:
- Bgp
V4Status string - Status of the link's BGP IPv4 session.
- Bgp
V6Status string - Status of the link's BGP IPv6 session.
- Created
At string - Creation date of the link (RFC 3339 format).
- 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.
- Peer
Bgp List<Pulumiverse.Configs Scaleway. Interlink. Outputs. Link Peer Bgp Config> - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - Scw
Bgp List<Pulumiverse.Configs Scaleway. Interlink. Outputs. Link Scw Bgp Config> - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - Status string
- Status of the link.
- Updated
At string - Last modification date of the link (RFC 3339 format).
- Bgp
V4Status string - Status of the link's BGP IPv4 session.
- Bgp
V6Status string - Status of the link's BGP IPv6 session.
- Created
At string - Creation date of the link (RFC 3339 format).
- 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.
- Peer
Bgp []LinkConfigs Peer Bgp Config - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - Scw
Bgp []LinkConfigs Scw Bgp Config - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - Status string
- Status of the link.
- Updated
At string - Last modification date of the link (RFC 3339 format).
- bgp
V4Status String - Status of the link's BGP IPv4 session.
- bgp
V6Status String - Status of the link's BGP IPv6 session.
- created
At String - Creation date of the link (RFC 3339 format).
- 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.
- peer
Bgp List<LinkConfigs Peer Bgp Config> - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - scw
Bgp List<LinkConfigs Scw Bgp Config> - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - status String
- Status of the link.
- updated
At String - Last modification date of the link (RFC 3339 format).
- bgp
V4Status string - Status of the link's BGP IPv4 session.
- bgp
V6Status string - Status of the link's BGP IPv6 session.
- created
At string - Creation date of the link (RFC 3339 format).
- 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.
- peer
Bgp LinkConfigs Peer Bgp Config[] - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - scw
Bgp LinkConfigs Scw Bgp Config[] - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - status string
- Status of the link.
- updated
At string - Last modification date of the link (RFC 3339 format).
- bgp_
v4_ strstatus - Status of the link's BGP IPv4 session.
- bgp_
v6_ strstatus - Status of the link's BGP IPv6 session.
- created_
at str - Creation date of the link (RFC 3339 format).
- 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.
- peer_
bgp_ Sequence[Linkconfigs Peer Bgp Config] - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - scw_
bgp_ Sequence[Linkconfigs Scw Bgp Config] - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - status str
- Status of the link.
- updated_
at str - Last modification date of the link (RFC 3339 format).
- bgp
V4Status String - Status of the link's BGP IPv4 session.
- bgp
V6Status String - Status of the link's BGP IPv6 session.
- created
At String - Creation date of the link (RFC 3339 format).
- 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.
- peer
Bgp List<Property Map>Configs - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - scw
Bgp List<Property Map>Configs - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - status String
- Status of the link.
- updated
At String - Last modification date of the link (RFC 3339 format).
Look up Existing Link Resource
Get an existing Link resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LinkState, opts?: CustomResourceOptions): Link@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth_mbps: Optional[int] = None,
bgp_v4_status: Optional[str] = None,
bgp_v6_status: Optional[str] = None,
connection_id: Optional[str] = None,
created_at: Optional[str] = None,
enable_route_propagation: Optional[bool] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
pairing_key: Optional[str] = None,
partner_id: Optional[str] = None,
peer_asn: Optional[int] = None,
peer_bgp_configs: Optional[Sequence[LinkPeerBgpConfigArgs]] = None,
pop_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
routing_policy_v4_id: Optional[str] = None,
routing_policy_v6_id: Optional[str] = None,
scw_bgp_configs: Optional[Sequence[LinkScwBgpConfigArgs]] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None,
vlan: Optional[int] = None,
vpc_id: Optional[str] = None) -> Linkfunc GetLink(ctx *Context, name string, id IDInput, state *LinkState, opts ...ResourceOption) (*Link, error)public static Link Get(string name, Input<string> id, LinkState? state, CustomResourceOptions? opts = null)public static Link get(String name, Output<String> id, LinkState state, CustomResourceOptions options)resources: _: type: scaleway:interlink:Link get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bandwidth
Mbps int - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- 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 - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - Created
At string - Creation date of the link (RFC 3339 format).
- Enable
Route boolPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - Name string
- Name of the link. If not provided, a name will be randomly generated.
- 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 - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - Peer
Asn int - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- Peer
Bgp List<Pulumiverse.Configs Scaleway. Interlink. Inputs. Link Peer Bgp Config> - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - Pop
Id string - PoP (location) where the link will be created.
- Project
Id string projectId) The ID of the project the link is associated with.- Region string
region) The region in which the link should be created.- Routing
Policy stringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- Routing
Policy stringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- Scw
Bgp List<Pulumiverse.Configs Scaleway. Interlink. Inputs. Link Scw Bgp Config> - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - Status string
- Status of the link.
- List<string>
- List of tags to apply to the link.
- Updated
At string - Last modification date of the link (RFC 3339 format).
- Vlan int
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- Vpc
Id string - ID of the Scaleway VPC to attach to the link.
- Bandwidth
Mbps int - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- 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 - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - Created
At string - Creation date of the link (RFC 3339 format).
- Enable
Route boolPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - Name string
- Name of the link. If not provided, a name will be randomly generated.
- 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 - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - Peer
Asn int - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- Peer
Bgp []LinkConfigs Peer Bgp Config Args - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - Pop
Id string - PoP (location) where the link will be created.
- Project
Id string projectId) The ID of the project the link is associated with.- Region string
region) The region in which the link should be created.- Routing
Policy stringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- Routing
Policy stringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- Scw
Bgp []LinkConfigs Scw Bgp Config Args - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - Status string
- Status of the link.
- []string
- List of tags to apply to the link.
- Updated
At string - Last modification date of the link (RFC 3339 format).
- Vlan int
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- Vpc
Id string - ID of the Scaleway VPC to attach to the link.
- bandwidth
Mbps Integer - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- 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 - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - created
At String - Creation date of the link (RFC 3339 format).
- enable
Route BooleanPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - name String
- Name of the link. If not provided, a name will be randomly generated.
- 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 - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - peer
Asn Integer - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- peer
Bgp List<LinkConfigs Peer Bgp Config> - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - pop
Id String - PoP (location) where the link will be created.
- project
Id String projectId) The ID of the project the link is associated with.- region String
region) The region in which the link should be created.- routing
Policy StringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- routing
Policy StringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- scw
Bgp List<LinkConfigs Scw Bgp Config> - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - status String
- Status of the link.
- List<String>
- List of tags to apply to the link.
- updated
At String - Last modification date of the link (RFC 3339 format).
- vlan Integer
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- vpc
Id String - ID of the Scaleway VPC to attach to the link.
- bandwidth
Mbps number - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- 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 - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - created
At string - Creation date of the link (RFC 3339 format).
- enable
Route booleanPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - name string
- Name of the link. If not provided, a name will be randomly generated.
- 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 - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - peer
Asn number - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- peer
Bgp LinkConfigs Peer Bgp Config[] - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - pop
Id string - PoP (location) where the link will be created.
- project
Id string projectId) The ID of the project the link is associated with.- region string
region) The region in which the link should be created.- routing
Policy stringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- routing
Policy stringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- scw
Bgp LinkConfigs Scw Bgp Config[] - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - status string
- Status of the link.
- string[]
- List of tags to apply to the link.
- updated
At string - Last modification date of the link (RFC 3339 format).
- vlan number
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- vpc
Id string - ID of the Scaleway VPC to attach to the link.
- bandwidth_
mbps int - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- 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 - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - created_
at str - Creation date of the link (RFC 3339 format).
- enable_
route_ boolpropagation - Defines whether route propagation is enabled or not. Defaults to
false. - name str
- Name of the link. If not provided, a name will be randomly generated.
- 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 - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - peer_
asn int - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- peer_
bgp_ Sequence[Linkconfigs Peer Bgp Config Args] - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - pop_
id str - PoP (location) where the link will be created.
- project_
id str projectId) The ID of the project the link is associated with.- region str
region) The region in which the link should be created.- routing_
policy_ strv4_ id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- routing_
policy_ strv6_ id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- scw_
bgp_ Sequence[Linkconfigs Scw Bgp Config Args] - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - status str
- Status of the link.
- Sequence[str]
- List of tags to apply to the link.
- updated_
at str - Last modification date of the link (RFC 3339 format).
- vlan int
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- vpc_
id str - ID of the Scaleway VPC to attach to the link.
- bandwidth
Mbps Number - Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
- 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 - If set, creates a self-hosted link using this dedicated physical connection. Conflicts with
partnerId. - created
At String - Creation date of the link (RFC 3339 format).
- enable
Route BooleanPropagation - Defines whether route propagation is enabled or not. Defaults to
false. - name String
- Name of the link. If not provided, a name will be randomly generated.
- 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 - If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth. Conflicts with
connectionId. - peer
Asn Number - For self-hosted links, the peer AS Number to establish BGP session. If not given, a default one will be assigned.
- peer
Bgp List<Property Map>Configs - BGP configuration on peer's side (on-premises or other hosting provider). Contains
asn,ipv4,ipv6. - pop
Id String - PoP (location) where the link will be created.
- project
Id String projectId) The ID of the project the link is associated with.- region String
region) The region in which the link should be created.- routing
Policy StringV4Id - If set, attaches this routing policy containing IPv4 prefixes to the link. A BGP IPv4 session will be created.
- routing
Policy StringV6Id - If set, attaches this routing policy containing IPv6 prefixes to the link. A BGP IPv6 session will be created.
- scw
Bgp List<Property Map>Configs - BGP configuration on Scaleway's side. Contains
asn,ipv4,ipv6. - status String
- Status of the link.
- List<String>
- List of tags to apply to the link.
- updated
At String - Last modification date of the link (RFC 3339 format).
- vlan Number
- For self-hosted links only, the VLAN ID. If the VLAN is not available (already taken or out of range), an error is returned.
- vpc
Id String - ID of the Scaleway VPC to attach to the link.
Supporting Types
LinkPeerBgpConfig, LinkPeerBgpConfigArgs
LinkScwBgpConfig, LinkScwBgpConfigArgs
Import
Interlink Links can be imported using {region}/{id}, e.g.
$ pulumi import scaleway:interlink/link:Link main fr-par/11111111-1111-1111-1111-111111111111
To learn more about importing existing cloud resources, see Importing resources.
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
