Viewing docs for Scaleway v1.49.0
published on Thursday, May 14, 2026 by pulumiverse
published on Thursday, May 14, 2026 by pulumiverse
Viewing docs for Scaleway v1.49.0
published on Thursday, May 14, 2026 by pulumiverse
published on Thursday, May 14, 2026 by pulumiverse
Gets information about a VPC ACL (Access Control List).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Get the IPv4 ACL for a VPC
const myAcl = scaleway.network.getAcl({
vpcId: myVpc.id,
isIpv6: false,
});
import pulumi
import pulumi_scaleway as scaleway
# Get the IPv4 ACL for a VPC
my_acl = scaleway.network.get_acl(vpc_id=my_vpc["id"],
is_ipv6=False)
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 {
// Get the IPv4 ACL for a VPC
_, err := network.LookupAcl(ctx, &network.LookupAclArgs{
VpcId: myVpc.Id,
IsIpv6: pulumi.BoolRef(false),
}, 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 the IPv4 ACL for a VPC
var myAcl = Scaleway.Network.GetAcl.Invoke(new()
{
VpcId = myVpc.Id,
IsIpv6 = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.network.NetworkFunctions;
import com.pulumi.scaleway.network.inputs.GetAclArgs;
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) {
// Get the IPv4 ACL for a VPC
final var myAcl = NetworkFunctions.getAcl(GetAclArgs.builder()
.vpcId(myVpc.id())
.isIpv6(false)
.build());
}
}
variables:
# Get the IPv4 ACL for a VPC
myAcl:
fn::invoke:
function: scaleway:network:getAcl
arguments:
vpcId: ${myVpc.id}
isIpv6: false
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Get the IPv6 ACL for a VPC
const myAclV6 = scaleway.network.getAcl({
vpcId: myVpc.id,
isIpv6: true,
});
import pulumi
import pulumi_scaleway as scaleway
# Get the IPv6 ACL for a VPC
my_acl_v6 = scaleway.network.get_acl(vpc_id=my_vpc["id"],
is_ipv6=True)
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 {
// Get the IPv6 ACL for a VPC
_, err := network.LookupAcl(ctx, &network.LookupAclArgs{
VpcId: myVpc.Id,
IsIpv6: pulumi.BoolRef(true),
}, 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 the IPv6 ACL for a VPC
var myAclV6 = Scaleway.Network.GetAcl.Invoke(new()
{
VpcId = myVpc.Id,
IsIpv6 = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.network.NetworkFunctions;
import com.pulumi.scaleway.network.inputs.GetAclArgs;
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) {
// Get the IPv6 ACL for a VPC
final var myAclV6 = NetworkFunctions.getAcl(GetAclArgs.builder()
.vpcId(myVpc.id())
.isIpv6(true)
.build());
}
}
variables:
# Get the IPv6 ACL for a VPC
myAclV6:
fn::invoke:
function: scaleway:network:getAcl
arguments:
vpcId: ${myVpc.id}
isIpv6: true
Example coming soon!
Using getAcl
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 getAcl(args: GetAclArgs, opts?: InvokeOptions): Promise<GetAclResult>
function getAclOutput(args: GetAclOutputArgs, opts?: InvokeOptions): Output<GetAclResult>def get_acl(is_ipv6: Optional[bool] = None,
region: Optional[str] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAclResult
def get_acl_output(is_ipv6: pulumi.Input[Optional[bool]] = None,
region: pulumi.Input[Optional[str]] = None,
vpc_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAclResult]func LookupAcl(ctx *Context, args *LookupAclArgs, opts ...InvokeOption) (*LookupAclResult, error)
func LookupAclOutput(ctx *Context, args *LookupAclOutputArgs, opts ...InvokeOption) LookupAclResultOutput> Note: This function is named LookupAcl in the Go SDK.
public static class GetAcl
{
public static Task<GetAclResult> InvokeAsync(GetAclArgs args, InvokeOptions? opts = null)
public static Output<GetAclResult> Invoke(GetAclInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAclResult> getAcl(GetAclArgs args, InvokeOptions options)
public static Output<GetAclResult> getAcl(GetAclArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:network/getAcl:getAcl
arguments:
# arguments dictionarydata "scaleway_network_getacl" "name" {
# arguments
}The following arguments are supported:
getAcl Result
The following output properties are available:
- Default
Policy string - Id string
- The provider-assigned unique ID for this managed resource.
- Rules
List<Pulumiverse.
Scaleway. Network. Outputs. Get Acl Rule> - Vpc
Id string - Is
Ipv6 bool - Region string
- Default
Policy string - Id string
- The provider-assigned unique ID for this managed resource.
- Rules
[]Get
Acl Rule - Vpc
Id string - Is
Ipv6 bool - Region string
- default_
policy string - id string
- The provider-assigned unique ID for this managed resource.
- rules list(object)
- vpc_
id string - is_
ipv6 bool - region string
- default
Policy String - id String
- The provider-assigned unique ID for this managed resource.
- rules
List<Get
Acl Rule> - vpc
Id String - is
Ipv6 Boolean - region String
- default
Policy string - id string
- The provider-assigned unique ID for this managed resource.
- rules
Get
Acl Rule[] - vpc
Id string - is
Ipv6 boolean - region string
- default_
policy str - id str
- The provider-assigned unique ID for this managed resource.
- rules
Sequence[Get
Acl Rule] - vpc_
id str - is_
ipv6 bool - region str
- default
Policy String - id String
- The provider-assigned unique ID for this managed resource.
- rules List<Property Map>
- vpc
Id String - is
Ipv6 Boolean - region String
Supporting Types
GetAclRule
- Action string
- The policy to apply to the packet
- Description string
- The rule description
- Destination string
- Destination IP range to which this rule applies (CIDR notation with subnet mask)
- Dst
Port intHigh - Ending port of the destination port range to which this rule applies (inclusive)
- Dst
Port intLow - Starting port of the destination port range to which this rule applies (inclusive)
- Protocol string
- The protocol to which this rule applies. Default value: ANY
- Source string
- Source IP range to which this rule applies (CIDR notation with subnet mask)
- Src
Port intHigh - Ending port of the source port range to which this rule applies (inclusive)
- Src
Port intLow - Starting port of the source port range to which this rule applies (inclusive)
- Action string
- The policy to apply to the packet
- Description string
- The rule description
- Destination string
- Destination IP range to which this rule applies (CIDR notation with subnet mask)
- Dst
Port intHigh - Ending port of the destination port range to which this rule applies (inclusive)
- Dst
Port intLow - Starting port of the destination port range to which this rule applies (inclusive)
- Protocol string
- The protocol to which this rule applies. Default value: ANY
- Source string
- Source IP range to which this rule applies (CIDR notation with subnet mask)
- Src
Port intHigh - Ending port of the source port range to which this rule applies (inclusive)
- Src
Port intLow - Starting port of the source port range to which this rule applies (inclusive)
- action string
- The policy to apply to the packet
- description string
- The rule description
- destination string
- Destination IP range to which this rule applies (CIDR notation with subnet mask)
- dst_
port_ numberhigh - Ending port of the destination port range to which this rule applies (inclusive)
- dst_
port_ numberlow - Starting port of the destination port range to which this rule applies (inclusive)
- protocol string
- The protocol to which this rule applies. Default value: ANY
- source string
- Source IP range to which this rule applies (CIDR notation with subnet mask)
- src_
port_ numberhigh - Ending port of the source port range to which this rule applies (inclusive)
- src_
port_ numberlow - Starting port of the source port range to which this rule applies (inclusive)
- action String
- The policy to apply to the packet
- description String
- The rule description
- destination String
- Destination IP range to which this rule applies (CIDR notation with subnet mask)
- dst
Port IntegerHigh - Ending port of the destination port range to which this rule applies (inclusive)
- dst
Port IntegerLow - Starting port of the destination port range to which this rule applies (inclusive)
- protocol String
- The protocol to which this rule applies. Default value: ANY
- source String
- Source IP range to which this rule applies (CIDR notation with subnet mask)
- src
Port IntegerHigh - Ending port of the source port range to which this rule applies (inclusive)
- src
Port IntegerLow - Starting port of the source port range to which this rule applies (inclusive)
- action string
- The policy to apply to the packet
- description string
- The rule description
- destination string
- Destination IP range to which this rule applies (CIDR notation with subnet mask)
- dst
Port numberHigh - Ending port of the destination port range to which this rule applies (inclusive)
- dst
Port numberLow - Starting port of the destination port range to which this rule applies (inclusive)
- protocol string
- The protocol to which this rule applies. Default value: ANY
- source string
- Source IP range to which this rule applies (CIDR notation with subnet mask)
- src
Port numberHigh - Ending port of the source port range to which this rule applies (inclusive)
- src
Port numberLow - Starting port of the source port range to which this rule applies (inclusive)
- action str
- The policy to apply to the packet
- description str
- The rule description
- destination str
- Destination IP range to which this rule applies (CIDR notation with subnet mask)
- dst_
port_ inthigh - Ending port of the destination port range to which this rule applies (inclusive)
- dst_
port_ intlow - Starting port of the destination port range to which this rule applies (inclusive)
- protocol str
- The protocol to which this rule applies. Default value: ANY
- source str
- Source IP range to which this rule applies (CIDR notation with subnet mask)
- src_
port_ inthigh - Ending port of the source port range to which this rule applies (inclusive)
- src_
port_ intlow - Starting port of the source port range to which this rule applies (inclusive)
- action String
- The policy to apply to the packet
- description String
- The rule description
- destination String
- Destination IP range to which this rule applies (CIDR notation with subnet mask)
- dst
Port NumberHigh - Ending port of the destination port range to which this rule applies (inclusive)
- dst
Port NumberLow - Starting port of the destination port range to which this rule applies (inclusive)
- protocol String
- The protocol to which this rule applies. Default value: ANY
- source String
- Source IP range to which this rule applies (CIDR notation with subnet mask)
- src
Port NumberHigh - Ending port of the source port range to which this rule applies (inclusive)
- src
Port NumberLow - Starting port of the source port range to which this rule applies (inclusive)
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
Viewing docs for Scaleway v1.49.0
published on Thursday, May 14, 2026 by pulumiverse
published on Thursday, May 14, 2026 by pulumiverse
