published on Thursday, Jul 9, 2026 by pulumiverse
published on Thursday, Jul 9, 2026 by pulumiverse
Creates and manages Scaleway VPC Ingress Rules.
An ingress routing rule routes incoming traffic from a peered VPC to a specific private IP address within a destination VPC’s Private Network.
For more information, see the main documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const vpc01 = new scaleway.network.Vpc("vpc01", {name: "my-vpc"});
const pn01 = new scaleway.network.PrivateNetwork("pn01", {
name: "my-private-network",
vpcId: vpc01.id,
});
const main = new scaleway.network.IngressRule("main", {
vpcId: vpc01.id,
source: "10.0.0.0/24",
nexthopPrivateNetworkId: pn01.id,
nexthopResourceIp: "10.0.0.10",
description: "Allow ingress traffic from 10.0.0.0/24",
});
import pulumi
import pulumiverse_scaleway as scaleway
vpc01 = scaleway.network.Vpc("vpc01", name="my-vpc")
pn01 = scaleway.network.PrivateNetwork("pn01",
name="my-private-network",
vpc_id=vpc01.id)
main = scaleway.network.IngressRule("main",
vpc_id=vpc01.id,
source="10.0.0.0/24",
nexthop_private_network_id=pn01.id,
nexthop_resource_ip="10.0.0.10",
description="Allow ingress traffic from 10.0.0.0/24")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/network"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc01, err := network.NewVpc(ctx, "vpc01", &network.VpcArgs{
Name: pulumi.String("my-vpc"),
})
if err != nil {
return err
}
pn01, err := network.NewPrivateNetwork(ctx, "pn01", &network.PrivateNetworkArgs{
Name: pulumi.String("my-private-network"),
VpcId: vpc01.ID(),
})
if err != nil {
return err
}
_, err = network.NewIngressRule(ctx, "main", &network.IngressRuleArgs{
VpcId: vpc01.ID(),
Source: pulumi.String("10.0.0.0/24"),
NexthopPrivateNetworkId: pn01.ID(),
NexthopResourceIp: pulumi.String("10.0.0.10"),
Description: pulumi.String("Allow ingress traffic from 10.0.0.0/24"),
})
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 vpc01 = new Scaleway.Network.Vpc("vpc01", new()
{
Name = "my-vpc",
});
var pn01 = new Scaleway.Network.PrivateNetwork("pn01", new()
{
Name = "my-private-network",
VpcId = vpc01.Id,
});
var main = new Scaleway.Network.IngressRule("main", new()
{
VpcId = vpc01.Id,
Source = "10.0.0.0/24",
NexthopPrivateNetworkId = pn01.Id,
NexthopResourceIp = "10.0.0.10",
Description = "Allow ingress traffic from 10.0.0.0/24",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.network.Vpc;
import com.pulumi.scaleway.network.VpcArgs;
import com.pulumi.scaleway.network.PrivateNetwork;
import com.pulumi.scaleway.network.PrivateNetworkArgs;
import com.pulumi.scaleway.network.IngressRule;
import com.pulumi.scaleway.network.IngressRuleArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
var vpc01 = new Vpc("vpc01", VpcArgs.builder()
.name("my-vpc")
.build());
var pn01 = new PrivateNetwork("pn01", PrivateNetworkArgs.builder()
.name("my-private-network")
.vpcId(vpc01.id())
.build());
var main = new IngressRule("main", IngressRuleArgs.builder()
.vpcId(vpc01.id())
.source("10.0.0.0/24")
.nexthopPrivateNetworkId(pn01.id())
.nexthopResourceIp("10.0.0.10")
.description("Allow ingress traffic from 10.0.0.0/24")
.build());
}
}
resources:
vpc01:
type: scaleway:network:Vpc
properties:
name: my-vpc
pn01:
type: scaleway:network:PrivateNetwork
properties:
name: my-private-network
vpcId: ${vpc01.id}
main:
type: scaleway:network:IngressRule
properties:
vpcId: ${vpc01.id}
source: 10.0.0.0/24
nexthopPrivateNetworkId: ${pn01.id}
nexthopResourceIp: 10.0.0.10
description: Allow ingress traffic from 10.0.0.0/24
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const vpc01 = new scaleway.network.Vpc("vpc01", {
name: "my-vpc",
region: "nl-ams",
});
const pn01 = new scaleway.network.PrivateNetwork("pn01", {
name: "my-private-network",
vpcId: vpc01.id,
region: "nl-ams",
});
const main = new scaleway.network.IngressRule("main", {
vpcId: vpc01.id,
source: "10.0.0.0/24",
nexthopPrivateNetworkId: pn01.id,
nexthopResourceIp: "10.0.0.10",
region: "nl-ams",
});
import pulumi
import pulumiverse_scaleway as scaleway
vpc01 = scaleway.network.Vpc("vpc01",
name="my-vpc",
region="nl-ams")
pn01 = scaleway.network.PrivateNetwork("pn01",
name="my-private-network",
vpc_id=vpc01.id,
region="nl-ams")
main = scaleway.network.IngressRule("main",
vpc_id=vpc01.id,
source="10.0.0.0/24",
nexthop_private_network_id=pn01.id,
nexthop_resource_ip="10.0.0.10",
region="nl-ams")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/network"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc01, err := network.NewVpc(ctx, "vpc01", &network.VpcArgs{
Name: pulumi.String("my-vpc"),
Region: pulumi.String("nl-ams"),
})
if err != nil {
return err
}
pn01, err := network.NewPrivateNetwork(ctx, "pn01", &network.PrivateNetworkArgs{
Name: pulumi.String("my-private-network"),
VpcId: vpc01.ID(),
Region: pulumi.String("nl-ams"),
})
if err != nil {
return err
}
_, err = network.NewIngressRule(ctx, "main", &network.IngressRuleArgs{
VpcId: vpc01.ID(),
Source: pulumi.String("10.0.0.0/24"),
NexthopPrivateNetworkId: pn01.ID(),
NexthopResourceIp: pulumi.String("10.0.0.10"),
Region: pulumi.String("nl-ams"),
})
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 vpc01 = new Scaleway.Network.Vpc("vpc01", new()
{
Name = "my-vpc",
Region = "nl-ams",
});
var pn01 = new Scaleway.Network.PrivateNetwork("pn01", new()
{
Name = "my-private-network",
VpcId = vpc01.Id,
Region = "nl-ams",
});
var main = new Scaleway.Network.IngressRule("main", new()
{
VpcId = vpc01.Id,
Source = "10.0.0.0/24",
NexthopPrivateNetworkId = pn01.Id,
NexthopResourceIp = "10.0.0.10",
Region = "nl-ams",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.network.Vpc;
import com.pulumi.scaleway.network.VpcArgs;
import com.pulumi.scaleway.network.PrivateNetwork;
import com.pulumi.scaleway.network.PrivateNetworkArgs;
import com.pulumi.scaleway.network.IngressRule;
import com.pulumi.scaleway.network.IngressRuleArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
var vpc01 = new Vpc("vpc01", VpcArgs.builder()
.name("my-vpc")
.region("nl-ams")
.build());
var pn01 = new PrivateNetwork("pn01", PrivateNetworkArgs.builder()
.name("my-private-network")
.vpcId(vpc01.id())
.region("nl-ams")
.build());
var main = new IngressRule("main", IngressRuleArgs.builder()
.vpcId(vpc01.id())
.source("10.0.0.0/24")
.nexthopPrivateNetworkId(pn01.id())
.nexthopResourceIp("10.0.0.10")
.region("nl-ams")
.build());
}
}
resources:
vpc01:
type: scaleway:network:Vpc
properties:
name: my-vpc
region: nl-ams
pn01:
type: scaleway:network:PrivateNetwork
properties:
name: my-private-network
vpcId: ${vpc01.id}
region: nl-ams
main:
type: scaleway:network:IngressRule
properties:
vpcId: ${vpc01.id}
source: 10.0.0.0/24
nexthopPrivateNetworkId: ${pn01.id}
nexthopResourceIp: 10.0.0.10
region: nl-ams
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const vpc01 = new scaleway.network.Vpc("vpc01", {name: "my-vpc"});
const pn01 = new scaleway.network.PrivateNetwork("pn01", {
name: "my-private-network",
vpcId: vpc01.id,
});
const main = new scaleway.network.IngressRule("main", {
vpcId: vpc01.id,
source: "10.0.0.0/24",
nexthopPrivateNetworkId: pn01.id,
nexthopResourceIp: "10.0.0.10",
description: "Allow ingress traffic from 10.0.0.0/24",
tags: [
"production",
"ingress",
],
});
import pulumi
import pulumiverse_scaleway as scaleway
vpc01 = scaleway.network.Vpc("vpc01", name="my-vpc")
pn01 = scaleway.network.PrivateNetwork("pn01",
name="my-private-network",
vpc_id=vpc01.id)
main = scaleway.network.IngressRule("main",
vpc_id=vpc01.id,
source="10.0.0.0/24",
nexthop_private_network_id=pn01.id,
nexthop_resource_ip="10.0.0.10",
description="Allow ingress traffic from 10.0.0.0/24",
tags=[
"production",
"ingress",
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/network"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc01, err := network.NewVpc(ctx, "vpc01", &network.VpcArgs{
Name: pulumi.String("my-vpc"),
})
if err != nil {
return err
}
pn01, err := network.NewPrivateNetwork(ctx, "pn01", &network.PrivateNetworkArgs{
Name: pulumi.String("my-private-network"),
VpcId: vpc01.ID(),
})
if err != nil {
return err
}
_, err = network.NewIngressRule(ctx, "main", &network.IngressRuleArgs{
VpcId: vpc01.ID(),
Source: pulumi.String("10.0.0.0/24"),
NexthopPrivateNetworkId: pn01.ID(),
NexthopResourceIp: pulumi.String("10.0.0.10"),
Description: pulumi.String("Allow ingress traffic from 10.0.0.0/24"),
Tags: pulumi.StringArray{
pulumi.String("production"),
pulumi.String("ingress"),
},
})
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 vpc01 = new Scaleway.Network.Vpc("vpc01", new()
{
Name = "my-vpc",
});
var pn01 = new Scaleway.Network.PrivateNetwork("pn01", new()
{
Name = "my-private-network",
VpcId = vpc01.Id,
});
var main = new Scaleway.Network.IngressRule("main", new()
{
VpcId = vpc01.Id,
Source = "10.0.0.0/24",
NexthopPrivateNetworkId = pn01.Id,
NexthopResourceIp = "10.0.0.10",
Description = "Allow ingress traffic from 10.0.0.0/24",
Tags = new[]
{
"production",
"ingress",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.network.Vpc;
import com.pulumi.scaleway.network.VpcArgs;
import com.pulumi.scaleway.network.PrivateNetwork;
import com.pulumi.scaleway.network.PrivateNetworkArgs;
import com.pulumi.scaleway.network.IngressRule;
import com.pulumi.scaleway.network.IngressRuleArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
var vpc01 = new Vpc("vpc01", VpcArgs.builder()
.name("my-vpc")
.build());
var pn01 = new PrivateNetwork("pn01", PrivateNetworkArgs.builder()
.name("my-private-network")
.vpcId(vpc01.id())
.build());
var main = new IngressRule("main", IngressRuleArgs.builder()
.vpcId(vpc01.id())
.source("10.0.0.0/24")
.nexthopPrivateNetworkId(pn01.id())
.nexthopResourceIp("10.0.0.10")
.description("Allow ingress traffic from 10.0.0.0/24")
.tags(
"production",
"ingress")
.build());
}
}
resources:
vpc01:
type: scaleway:network:Vpc
properties:
name: my-vpc
pn01:
type: scaleway:network:PrivateNetwork
properties:
name: my-private-network
vpcId: ${vpc01.id}
main:
type: scaleway:network:IngressRule
properties:
vpcId: ${vpc01.id}
source: 10.0.0.0/24
nexthopPrivateNetworkId: ${pn01.id}
nexthopResourceIp: 10.0.0.10
description: Allow ingress traffic from 10.0.0.0/24
tags:
- production
- ingress
Example coming soon!
Create IngressRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IngressRule(name: string, args: IngressRuleArgs, opts?: CustomResourceOptions);@overload
def IngressRule(resource_name: str,
args: IngressRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IngressRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
nexthop_private_network_id: Optional[str] = None,
nexthop_resource_ip: Optional[str] = None,
source: Optional[str] = None,
vpc_id: Optional[str] = None,
description: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None)func NewIngressRule(ctx *Context, name string, args IngressRuleArgs, opts ...ResourceOption) (*IngressRule, error)public IngressRule(string name, IngressRuleArgs args, CustomResourceOptions? opts = null)
public IngressRule(String name, IngressRuleArgs args)
public IngressRule(String name, IngressRuleArgs args, CustomResourceOptions options)
type: scaleway:network:IngressRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "scaleway_network_ingressrule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IngressRuleArgs
- 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 IngressRuleArgs
- 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 IngressRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IngressRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IngressRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ingressRuleResource = new Scaleway.Network.IngressRule("ingressRuleResource", new()
{
NexthopPrivateNetworkId = "string",
NexthopResourceIp = "string",
Source = "string",
VpcId = "string",
Description = "string",
Region = "string",
Tags = new[]
{
"string",
},
});
example, err := network.NewIngressRule(ctx, "ingressRuleResource", &network.IngressRuleArgs{
NexthopPrivateNetworkId: pulumi.String("string"),
NexthopResourceIp: pulumi.String("string"),
Source: pulumi.String("string"),
VpcId: pulumi.String("string"),
Description: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "scaleway_network_ingressrule" "ingressRuleResource" {
nexthop_private_network_id = "string"
nexthop_resource_ip = "string"
source = "string"
vpc_id = "string"
description = "string"
region = "string"
tags = ["string"]
}
var ingressRuleResource = new IngressRule("ingressRuleResource", IngressRuleArgs.builder()
.nexthopPrivateNetworkId("string")
.nexthopResourceIp("string")
.source("string")
.vpcId("string")
.description("string")
.region("string")
.tags("string")
.build());
ingress_rule_resource = scaleway.network.IngressRule("ingressRuleResource",
nexthop_private_network_id="string",
nexthop_resource_ip="string",
source="string",
vpc_id="string",
description="string",
region="string",
tags=["string"])
const ingressRuleResource = new scaleway.network.IngressRule("ingressRuleResource", {
nexthopPrivateNetworkId: "string",
nexthopResourceIp: "string",
source: "string",
vpcId: "string",
description: "string",
region: "string",
tags: ["string"],
});
type: scaleway:network:IngressRule
properties:
description: string
nexthopPrivateNetworkId: string
nexthopResourceIp: string
region: string
source: string
tags:
- string
vpcId: string
IngressRule 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 IngressRule resource accepts the following input properties:
- Nexthop
Private stringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- Nexthop
Resource stringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- Source string
- Source IP range (in CIDR notation) to which the ingress rule applies.
- Vpc
Id string - The ID of the VPC in which to create the ingress rule.
- Description string
- The description of the ingress rule.
- Region string
region) The region of the ingress rule.- List<string>
- The tags to associate with the ingress rule.
- Nexthop
Private stringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- Nexthop
Resource stringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- Source string
- Source IP range (in CIDR notation) to which the ingress rule applies.
- Vpc
Id string - The ID of the VPC in which to create the ingress rule.
- Description string
- The description of the ingress rule.
- Region string
region) The region of the ingress rule.- []string
- The tags to associate with the ingress rule.
- nexthop_
private_ stringnetwork_ id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop_
resource_ stringip - IP of the nexthop resource that should handle traffic matched by this rule.
- source string
- Source IP range (in CIDR notation) to which the ingress rule applies.
- vpc_
id string - The ID of the VPC in which to create the ingress rule.
- description string
- The description of the ingress rule.
- region string
region) The region of the ingress rule.- list(string)
- The tags to associate with the ingress rule.
- nexthop
Private StringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop
Resource StringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- source String
- Source IP range (in CIDR notation) to which the ingress rule applies.
- vpc
Id String - The ID of the VPC in which to create the ingress rule.
- description String
- The description of the ingress rule.
- region String
region) The region of the ingress rule.- List<String>
- The tags to associate with the ingress rule.
- nexthop
Private stringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop
Resource stringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- source string
- Source IP range (in CIDR notation) to which the ingress rule applies.
- vpc
Id string - The ID of the VPC in which to create the ingress rule.
- description string
- The description of the ingress rule.
- region string
region) The region of the ingress rule.- string[]
- The tags to associate with the ingress rule.
- nexthop_
private_ strnetwork_ id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop_
resource_ strip - IP of the nexthop resource that should handle traffic matched by this rule.
- source str
- Source IP range (in CIDR notation) to which the ingress rule applies.
- vpc_
id str - The ID of the VPC in which to create the ingress rule.
- description str
- The description of the ingress rule.
- region str
region) The region of the ingress rule.- Sequence[str]
- The tags to associate with the ingress rule.
- nexthop
Private StringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop
Resource StringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- source String
- Source IP range (in CIDR notation) to which the ingress rule applies.
- vpc
Id String - The ID of the VPC in which to create the ingress rule.
- description String
- The description of the ingress rule.
- region String
region) The region of the ingress rule.- List<String>
- The tags to associate with the ingress rule.
Outputs
All input properties are implicitly available as output properties. Additionally, the IngressRule resource produces the following output properties:
- Created
At string - The date and time of the creation of the ingress rule (RFC 3339 format).
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Ipv6 bool - Whether the ingress rule is for IPv6 traffic (derived from
source). - Updated
At string - The date and time of the last update of the ingress rule (RFC 3339 format).
- Created
At string - The date and time of the creation of the ingress rule (RFC 3339 format).
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Ipv6 bool - Whether the ingress rule is for IPv6 traffic (derived from
source). - Updated
At string - The date and time of the last update of the ingress rule (RFC 3339 format).
- created_
at string - The date and time of the creation of the ingress rule (RFC 3339 format).
- id string
- The provider-assigned unique ID for this managed resource.
- is_
ipv6 bool - Whether the ingress rule is for IPv6 traffic (derived from
source). - updated_
at string - The date and time of the last update of the ingress rule (RFC 3339 format).
- created
At String - The date and time of the creation of the ingress rule (RFC 3339 format).
- id String
- The provider-assigned unique ID for this managed resource.
- is
Ipv6 Boolean - Whether the ingress rule is for IPv6 traffic (derived from
source). - updated
At String - The date and time of the last update of the ingress rule (RFC 3339 format).
- created
At string - The date and time of the creation of the ingress rule (RFC 3339 format).
- id string
- The provider-assigned unique ID for this managed resource.
- is
Ipv6 boolean - Whether the ingress rule is for IPv6 traffic (derived from
source). - updated
At string - The date and time of the last update of the ingress rule (RFC 3339 format).
- created_
at str - The date and time of the creation of the ingress rule (RFC 3339 format).
- id str
- The provider-assigned unique ID for this managed resource.
- is_
ipv6 bool - Whether the ingress rule is for IPv6 traffic (derived from
source). - updated_
at str - The date and time of the last update of the ingress rule (RFC 3339 format).
- created
At String - The date and time of the creation of the ingress rule (RFC 3339 format).
- id String
- The provider-assigned unique ID for this managed resource.
- is
Ipv6 Boolean - Whether the ingress rule is for IPv6 traffic (derived from
source). - updated
At String - The date and time of the last update of the ingress rule (RFC 3339 format).
Look up Existing IngressRule Resource
Get an existing IngressRule 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?: IngressRuleState, opts?: CustomResourceOptions): IngressRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
is_ipv6: Optional[bool] = None,
nexthop_private_network_id: Optional[str] = None,
nexthop_resource_ip: Optional[str] = None,
region: Optional[str] = None,
source: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None,
vpc_id: Optional[str] = None) -> IngressRulefunc GetIngressRule(ctx *Context, name string, id IDInput, state *IngressRuleState, opts ...ResourceOption) (*IngressRule, error)public static IngressRule Get(string name, Input<string> id, IngressRuleState? state, CustomResourceOptions? opts = null)public static IngressRule get(String name, Output<String> id, IngressRuleState state, CustomResourceOptions options)resources: _: type: scaleway:network:IngressRule get: id: ${id}import {
to = scaleway_network_ingressrule.example
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.
- Created
At string - The date and time of the creation of the ingress rule (RFC 3339 format).
- Description string
- The description of the ingress rule.
- Is
Ipv6 bool - Whether the ingress rule is for IPv6 traffic (derived from
source). - Nexthop
Private stringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- Nexthop
Resource stringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- Region string
region) The region of the ingress rule.- Source string
- Source IP range (in CIDR notation) to which the ingress rule applies.
- List<string>
- The tags to associate with the ingress rule.
- Updated
At string - The date and time of the last update of the ingress rule (RFC 3339 format).
- Vpc
Id string - The ID of the VPC in which to create the ingress rule.
- Created
At string - The date and time of the creation of the ingress rule (RFC 3339 format).
- Description string
- The description of the ingress rule.
- Is
Ipv6 bool - Whether the ingress rule is for IPv6 traffic (derived from
source). - Nexthop
Private stringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- Nexthop
Resource stringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- Region string
region) The region of the ingress rule.- Source string
- Source IP range (in CIDR notation) to which the ingress rule applies.
- []string
- The tags to associate with the ingress rule.
- Updated
At string - The date and time of the last update of the ingress rule (RFC 3339 format).
- Vpc
Id string - The ID of the VPC in which to create the ingress rule.
- created_
at string - The date and time of the creation of the ingress rule (RFC 3339 format).
- description string
- The description of the ingress rule.
- is_
ipv6 bool - Whether the ingress rule is for IPv6 traffic (derived from
source). - nexthop_
private_ stringnetwork_ id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop_
resource_ stringip - IP of the nexthop resource that should handle traffic matched by this rule.
- region string
region) The region of the ingress rule.- source string
- Source IP range (in CIDR notation) to which the ingress rule applies.
- list(string)
- The tags to associate with the ingress rule.
- updated_
at string - The date and time of the last update of the ingress rule (RFC 3339 format).
- vpc_
id string - The ID of the VPC in which to create the ingress rule.
- created
At String - The date and time of the creation of the ingress rule (RFC 3339 format).
- description String
- The description of the ingress rule.
- is
Ipv6 Boolean - Whether the ingress rule is for IPv6 traffic (derived from
source). - nexthop
Private StringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop
Resource StringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- region String
region) The region of the ingress rule.- source String
- Source IP range (in CIDR notation) to which the ingress rule applies.
- List<String>
- The tags to associate with the ingress rule.
- updated
At String - The date and time of the last update of the ingress rule (RFC 3339 format).
- vpc
Id String - The ID of the VPC in which to create the ingress rule.
- created
At string - The date and time of the creation of the ingress rule (RFC 3339 format).
- description string
- The description of the ingress rule.
- is
Ipv6 boolean - Whether the ingress rule is for IPv6 traffic (derived from
source). - nexthop
Private stringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop
Resource stringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- region string
region) The region of the ingress rule.- source string
- Source IP range (in CIDR notation) to which the ingress rule applies.
- string[]
- The tags to associate with the ingress rule.
- updated
At string - The date and time of the last update of the ingress rule (RFC 3339 format).
- vpc
Id string - The ID of the VPC in which to create the ingress rule.
- created_
at str - The date and time of the creation of the ingress rule (RFC 3339 format).
- description str
- The description of the ingress rule.
- is_
ipv6 bool - Whether the ingress rule is for IPv6 traffic (derived from
source). - nexthop_
private_ strnetwork_ id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop_
resource_ strip - IP of the nexthop resource that should handle traffic matched by this rule.
- region str
region) The region of the ingress rule.- source str
- Source IP range (in CIDR notation) to which the ingress rule applies.
- Sequence[str]
- The tags to associate with the ingress rule.
- updated_
at str - The date and time of the last update of the ingress rule (RFC 3339 format).
- vpc_
id str - The ID of the VPC in which to create the ingress rule.
- created
At String - The date and time of the creation of the ingress rule (RFC 3339 format).
- description String
- The description of the ingress rule.
- is
Ipv6 Boolean - Whether the ingress rule is for IPv6 traffic (derived from
source). - nexthop
Private StringNetwork Id - The ID of the private network used as nexthop for traffic matched by this rule.
- nexthop
Resource StringIp - IP of the nexthop resource that should handle traffic matched by this rule.
- region String
region) The region of the ingress rule.- source String
- Source IP range (in CIDR notation) to which the ingress rule applies.
- List<String>
- The tags to associate with the ingress rule.
- updated
At String - The date and time of the last update of the ingress rule (RFC 3339 format).
- vpc
Id String - The ID of the VPC in which to create the ingress rule.
Import
VPC ingress rules can be imported using {region}/{id}, e.g.
$ pulumi import scaleway:network/ingressRule:IngressRule 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 Thursday, Jul 9, 2026 by pulumiverse