1. Packages
  2. Linode Provider
  3. API Docs
  4. getFirewalls
Linode v4.37.0 published on Thursday, Apr 10, 2025 by Pulumi

linode.getFirewalls

Explore with Pulumi AI

Provides information about Linode Cloud Firewalls that match a set of filters. For more information, see the Linode APIv4 docs.

Example Usage

Get information about all Linode Cloud Firewalls with a certain label and visibility:

import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";

const specific = linode.getFirewalls({
    filters: [
        {
            name: "label",
            values: ["my-firewalls"],
        },
        {
            name: "tags",
            values: ["my-tag"],
        },
    ],
});
export const firewallId = specific.then(specific => specific.firewalls?.[0]?.id);
Copy
import pulumi
import pulumi_linode as linode

specific = linode.get_firewalls(filters=[
    {
        "name": "label",
        "values": ["my-firewalls"],
    },
    {
        "name": "tags",
        "values": ["my-tag"],
    },
])
pulumi.export("firewallId", specific.firewalls[0].id)
Copy
package main

import (
	"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		specific, err := linode.GetFirewalls(ctx, &linode.GetFirewallsArgs{
			Filters: []linode.GetFirewallsFilter{
				{
					Name: "label",
					Values: []string{
						"my-firewalls",
					},
				},
				{
					Name: "tags",
					Values: []string{
						"my-tag",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firewallId", specific.Firewalls[0].Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;

return await Deployment.RunAsync(() => 
{
    var specific = Linode.GetFirewalls.Invoke(new()
    {
        Filters = new[]
        {
            new Linode.Inputs.GetFirewallsFilterInputArgs
            {
                Name = "label",
                Values = new[]
                {
                    "my-firewalls",
                },
            },
            new Linode.Inputs.GetFirewallsFilterInputArgs
            {
                Name = "tags",
                Values = new[]
                {
                    "my-tag",
                },
            },
        },
    });

    return new Dictionary<string, object?>
    {
        ["firewallId"] = specific.Apply(getFirewallsResult => getFirewallsResult.Firewalls[0]?.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetFirewallsArgs;
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 specific = LinodeFunctions.getFirewalls(GetFirewallsArgs.builder()
            .filters(            
                GetFirewallsFilterArgs.builder()
                    .name("label")
                    .values("my-firewalls")
                    .build(),
                GetFirewallsFilterArgs.builder()
                    .name("tags")
                    .values("my-tag")
                    .build())
            .build());

        ctx.export("firewallId", specific.firewalls()[0].id());
    }
}
Copy
variables:
  specific:
    fn::invoke:
      function: linode:getFirewalls
      arguments:
        filters:
          - name: label
            values:
              - my-firewalls
          - name: tags
            values:
              - my-tag
outputs:
  firewallId: ${specific.firewalls[0].id}
Copy

Get information about all Linode images associated with the current token:

import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";

const all = linode.getFirewalls({});
export const firewallIds = all.then(all => all.firewalls.map(__item => __item.id));
Copy
import pulumi
import pulumi_linode as linode

all = linode.get_firewalls()
pulumi.export("firewallIds", [__item.id for __item in all.firewalls])
Copy
package main

import (
	"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
all, err := linode.GetFirewalls(ctx, &linode.GetFirewallsArgs{
}, nil);
if err != nil {
return err
}
ctx.Export("firewallIds", pulumi.IntArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:3,11-30)))
return nil
})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;

return await Deployment.RunAsync(() => 
{
    var all = Linode.GetFirewalls.Invoke();

    return new Dictionary<string, object?>
    {
        ["firewallIds"] = all.Apply(getFirewallsResult => getFirewallsResult.Firewalls).Select(__item => __item.Id).ToList(),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetFirewallsArgs;
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 all = LinodeFunctions.getFirewalls(GetFirewallsArgs.builder()
            .build());

        ctx.export("firewallIds", all.firewalls().stream().map(element -> element.id()).collect(toList()));
    }
}
Copy
Coming soon!

Firewall Rule

  • label - The label of this rule for display purposes only.

  • action - Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).

  • protocol - The network protocol this rule controls. (TCP, UDP, ICMP)

  • ports - A string representation of ports and/or port ranges (i.e. “443” or “80-90, 91”).

  • ipv4 - A list of IPv4 addresses or networks in IP/mask format.

  • ipv6 - A list of IPv6 addresses or networks in IP/mask format.

Firewall Device

  • id - The unique ID of this Firewall Device assignment.

  • entity_id - The ID of the underlying entity this device references.

  • type - The type of the assigned entity.

  • label - The label of the assigned entity.

  • url - The URL of the assigned entity.

Filterable Fields

  • id

  • label

  • status

  • tags

Using getFirewalls

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 getFirewalls(args: GetFirewallsArgs, opts?: InvokeOptions): Promise<GetFirewallsResult>
function getFirewallsOutput(args: GetFirewallsOutputArgs, opts?: InvokeOptions): Output<GetFirewallsResult>
Copy
def get_firewalls(filters: Optional[Sequence[GetFirewallsFilter]] = None,
                  firewalls: Optional[Sequence[GetFirewallsFirewall]] = None,
                  order: Optional[str] = None,
                  order_by: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetFirewallsResult
def get_firewalls_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFirewallsFilterArgs]]]] = None,
                  firewalls: Optional[pulumi.Input[Sequence[pulumi.Input[GetFirewallsFirewallArgs]]]] = None,
                  order: Optional[pulumi.Input[str]] = None,
                  order_by: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetFirewallsResult]
Copy
func GetFirewalls(ctx *Context, args *GetFirewallsArgs, opts ...InvokeOption) (*GetFirewallsResult, error)
func GetFirewallsOutput(ctx *Context, args *GetFirewallsOutputArgs, opts ...InvokeOption) GetFirewallsResultOutput
Copy

> Note: This function is named GetFirewalls in the Go SDK.

public static class GetFirewalls 
{
    public static Task<GetFirewallsResult> InvokeAsync(GetFirewallsArgs args, InvokeOptions? opts = null)
    public static Output<GetFirewallsResult> Invoke(GetFirewallsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFirewallsResult> getFirewalls(GetFirewallsArgs args, InvokeOptions options)
public static Output<GetFirewallsResult> getFirewalls(GetFirewallsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: linode:index/getFirewalls:getFirewalls
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Filters List<GetFirewallsFilter>
Firewalls List<GetFirewallsFirewall>
Order string
The order in which results should be returned. (asc, desc; default asc)
OrderBy string
The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
Filters []GetFirewallsFilter
Firewalls []GetFirewallsFirewall
Order string
The order in which results should be returned. (asc, desc; default asc)
OrderBy string
The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
filters List<GetFirewallsFilter>
firewalls List<GetFirewallsFirewall>
order String
The order in which results should be returned. (asc, desc; default asc)
orderBy String
The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
filters GetFirewallsFilter[]
firewalls GetFirewallsFirewall[]
order string
The order in which results should be returned. (asc, desc; default asc)
orderBy string
The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
filters Sequence[GetFirewallsFilter]
firewalls Sequence[GetFirewallsFirewall]
order str
The order in which results should be returned. (asc, desc; default asc)
order_by str
The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
filters List<Property Map>
firewalls List<Property Map>
order String
The order in which results should be returned. (asc, desc; default asc)
orderBy String
The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

getFirewalls Result

The following output properties are available:

Id string
The unique ID assigned to this Firewall.
Filters List<GetFirewallsFilter>
Firewalls List<GetFirewallsFirewall>
Order string
OrderBy string
Id string
The unique ID assigned to this Firewall.
Filters []GetFirewallsFilter
Firewalls []GetFirewallsFirewall
Order string
OrderBy string
id String
The unique ID assigned to this Firewall.
filters List<GetFirewallsFilter>
firewalls List<GetFirewallsFirewall>
order String
orderBy String
id string
The unique ID assigned to this Firewall.
filters GetFirewallsFilter[]
firewalls GetFirewallsFirewall[]
order string
orderBy string
id String
The unique ID assigned to this Firewall.
filters List<Property Map>
firewalls List<Property Map>
order String
orderBy String

Supporting Types

GetFirewallsFilter

Name This property is required. string
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
Values This property is required. List<string>
A list of values for the filter to allow. These values should all be in string form.
MatchBy string
The method to match the field by. (exact, regex, substring; default exact)
Name This property is required. string
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
Values This property is required. []string
A list of values for the filter to allow. These values should all be in string form.
MatchBy string
The method to match the field by. (exact, regex, substring; default exact)
name This property is required. String
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
values This property is required. List<String>
A list of values for the filter to allow. These values should all be in string form.
matchBy String
The method to match the field by. (exact, regex, substring; default exact)
name This property is required. string
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
values This property is required. string[]
A list of values for the filter to allow. These values should all be in string form.
matchBy string
The method to match the field by. (exact, regex, substring; default exact)
name This property is required. str
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
values This property is required. Sequence[str]
A list of values for the filter to allow. These values should all be in string form.
match_by str
The method to match the field by. (exact, regex, substring; default exact)
name This property is required. String
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
values This property is required. List<String>
A list of values for the filter to allow. These values should all be in string form.
matchBy String
The method to match the field by. (exact, regex, substring; default exact)

GetFirewallsFirewall

Created This property is required. string
When this firewall was created.
Disabled This property is required. bool
If true, the Firewall is inactive.
Id This property is required. int
The unique ID assigned to this Firewall.
InboundPolicy This property is required. string
The default behavior for inbound traffic.
Label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Linodes This property is required. List<int>
The IDs of Linodes this firewall is applied to.
Nodebalancers This property is required. List<int>
The IDs of NodeBalancers assigned to this Firewall..
OutboundPolicy This property is required. string
The default behavior for outbound traffic.
Status This property is required. string
The status of the firewall.
Tags This property is required. List<string>
An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
Updated This property is required. string
When this firewall was last updated.
Devices List<GetFirewallsFirewallDevice>
The devices associated with this firewall.
Inbounds List<GetFirewallsFirewallInbound>
A set of firewall rules that specify what inbound network traffic is allowed.
Outbounds List<GetFirewallsFirewallOutbound>
A set of firewall rules that specify what outbound network traffic is allowed.
Created This property is required. string
When this firewall was created.
Disabled This property is required. bool
If true, the Firewall is inactive.
Id This property is required. int
The unique ID assigned to this Firewall.
InboundPolicy This property is required. string
The default behavior for inbound traffic.
Label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Linodes This property is required. []int
The IDs of Linodes this firewall is applied to.
Nodebalancers This property is required. []int
The IDs of NodeBalancers assigned to this Firewall..
OutboundPolicy This property is required. string
The default behavior for outbound traffic.
Status This property is required. string
The status of the firewall.
Tags This property is required. []string
An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
Updated This property is required. string
When this firewall was last updated.
Devices []GetFirewallsFirewallDevice
The devices associated with this firewall.
Inbounds []GetFirewallsFirewallInbound
A set of firewall rules that specify what inbound network traffic is allowed.
Outbounds []GetFirewallsFirewallOutbound
A set of firewall rules that specify what outbound network traffic is allowed.
created This property is required. String
When this firewall was created.
disabled This property is required. Boolean
If true, the Firewall is inactive.
id This property is required. Integer
The unique ID assigned to this Firewall.
inboundPolicy This property is required. String
The default behavior for inbound traffic.
label This property is required. String
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
linodes This property is required. List<Integer>
The IDs of Linodes this firewall is applied to.
nodebalancers This property is required. List<Integer>
The IDs of NodeBalancers assigned to this Firewall..
outboundPolicy This property is required. String
The default behavior for outbound traffic.
status This property is required. String
The status of the firewall.
tags This property is required. List<String>
An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
updated This property is required. String
When this firewall was last updated.
devices List<GetFirewallsFirewallDevice>
The devices associated with this firewall.
inbounds List<GetFirewallsFirewallInbound>
A set of firewall rules that specify what inbound network traffic is allowed.
outbounds List<GetFirewallsFirewallOutbound>
A set of firewall rules that specify what outbound network traffic is allowed.
created This property is required. string
When this firewall was created.
disabled This property is required. boolean
If true, the Firewall is inactive.
id This property is required. number
The unique ID assigned to this Firewall.
inboundPolicy This property is required. string
The default behavior for inbound traffic.
label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
linodes This property is required. number[]
The IDs of Linodes this firewall is applied to.
nodebalancers This property is required. number[]
The IDs of NodeBalancers assigned to this Firewall..
outboundPolicy This property is required. string
The default behavior for outbound traffic.
status This property is required. string
The status of the firewall.
tags This property is required. string[]
An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
updated This property is required. string
When this firewall was last updated.
devices GetFirewallsFirewallDevice[]
The devices associated with this firewall.
inbounds GetFirewallsFirewallInbound[]
A set of firewall rules that specify what inbound network traffic is allowed.
outbounds GetFirewallsFirewallOutbound[]
A set of firewall rules that specify what outbound network traffic is allowed.
created This property is required. str
When this firewall was created.
disabled This property is required. bool
If true, the Firewall is inactive.
id This property is required. int
The unique ID assigned to this Firewall.
inbound_policy This property is required. str
The default behavior for inbound traffic.
label This property is required. str
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
linodes This property is required. Sequence[int]
The IDs of Linodes this firewall is applied to.
nodebalancers This property is required. Sequence[int]
The IDs of NodeBalancers assigned to this Firewall..
outbound_policy This property is required. str
The default behavior for outbound traffic.
status This property is required. str
The status of the firewall.
tags This property is required. Sequence[str]
An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
updated This property is required. str
When this firewall was last updated.
devices Sequence[GetFirewallsFirewallDevice]
The devices associated with this firewall.
inbounds Sequence[GetFirewallsFirewallInbound]
A set of firewall rules that specify what inbound network traffic is allowed.
outbounds Sequence[GetFirewallsFirewallOutbound]
A set of firewall rules that specify what outbound network traffic is allowed.
created This property is required. String
When this firewall was created.
disabled This property is required. Boolean
If true, the Firewall is inactive.
id This property is required. Number
The unique ID assigned to this Firewall.
inboundPolicy This property is required. String
The default behavior for inbound traffic.
label This property is required. String
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
linodes This property is required. List<Number>
The IDs of Linodes this firewall is applied to.
nodebalancers This property is required. List<Number>
The IDs of NodeBalancers assigned to this Firewall..
outboundPolicy This property is required. String
The default behavior for outbound traffic.
status This property is required. String
The status of the firewall.
tags This property is required. List<String>
An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
updated This property is required. String
When this firewall was last updated.
devices List<Property Map>
The devices associated with this firewall.
inbounds List<Property Map>
A set of firewall rules that specify what inbound network traffic is allowed.
outbounds List<Property Map>
A set of firewall rules that specify what outbound network traffic is allowed.

GetFirewallsFirewallDevice

EntityId This property is required. int
The ID of the underlying entity this device references (i.e. the Linode's ID).
Id This property is required. int
The unique ID assigned to this Firewall.
Label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Type This property is required. string
The type of Firewall Device.
Url This property is required. string
The URL of the underlying entity this device references.
EntityId This property is required. int
The ID of the underlying entity this device references (i.e. the Linode's ID).
Id This property is required. int
The unique ID assigned to this Firewall.
Label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Type This property is required. string
The type of Firewall Device.
Url This property is required. string
The URL of the underlying entity this device references.
entityId This property is required. Integer
The ID of the underlying entity this device references (i.e. the Linode's ID).
id This property is required. Integer
The unique ID assigned to this Firewall.
label This property is required. String
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
type This property is required. String
The type of Firewall Device.
url This property is required. String
The URL of the underlying entity this device references.
entityId This property is required. number
The ID of the underlying entity this device references (i.e. the Linode's ID).
id This property is required. number
The unique ID assigned to this Firewall.
label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
type This property is required. string
The type of Firewall Device.
url This property is required. string
The URL of the underlying entity this device references.
entity_id This property is required. int
The ID of the underlying entity this device references (i.e. the Linode's ID).
id This property is required. int
The unique ID assigned to this Firewall.
label This property is required. str
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
type This property is required. str
The type of Firewall Device.
url This property is required. str
The URL of the underlying entity this device references.
entityId This property is required. Number
The ID of the underlying entity this device references (i.e. the Linode's ID).
id This property is required. Number
The unique ID assigned to this Firewall.
label This property is required. String
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
type This property is required. String
The type of Firewall Device.
url This property is required. String
The URL of the underlying entity this device references.

GetFirewallsFirewallInbound

Action This property is required. string
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
Ipv4s This property is required. List<string>
A list of IPv4 addresses or networks in IP/mask format.
Ipv6s This property is required. List<string>
A list of IPv6 addresses or networks in IP/mask format.
Label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Ports This property is required. string
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
Protocol This property is required. string
The network protocol this rule controls. (TCP, UDP, ICMP)
Action This property is required. string
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
Ipv4s This property is required. []string
A list of IPv4 addresses or networks in IP/mask format.
Ipv6s This property is required. []string
A list of IPv6 addresses or networks in IP/mask format.
Label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Ports This property is required. string
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
Protocol This property is required. string
The network protocol this rule controls. (TCP, UDP, ICMP)
action This property is required. String
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
ipv4s This property is required. List<String>
A list of IPv4 addresses or networks in IP/mask format.
ipv6s This property is required. List<String>
A list of IPv6 addresses or networks in IP/mask format.
label This property is required. String
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
ports This property is required. String
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
protocol This property is required. String
The network protocol this rule controls. (TCP, UDP, ICMP)
action This property is required. string
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
ipv4s This property is required. string[]
A list of IPv4 addresses or networks in IP/mask format.
ipv6s This property is required. string[]
A list of IPv6 addresses or networks in IP/mask format.
label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
ports This property is required. string
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
protocol This property is required. string
The network protocol this rule controls. (TCP, UDP, ICMP)
action This property is required. str
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
ipv4s This property is required. Sequence[str]
A list of IPv4 addresses or networks in IP/mask format.
ipv6s This property is required. Sequence[str]
A list of IPv6 addresses or networks in IP/mask format.
label This property is required. str
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
ports This property is required. str
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
protocol This property is required. str
The network protocol this rule controls. (TCP, UDP, ICMP)
action This property is required. String
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
ipv4s This property is required. List<String>
A list of IPv4 addresses or networks in IP/mask format.
ipv6s This property is required. List<String>
A list of IPv6 addresses or networks in IP/mask format.
label This property is required. String
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
ports This property is required. String
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
protocol This property is required. String
The network protocol this rule controls. (TCP, UDP, ICMP)

GetFirewallsFirewallOutbound

Action This property is required. string
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
Ipv4s This property is required. List<string>
A list of IPv4 addresses or networks in IP/mask format.
Ipv6s This property is required. List<string>
A list of IPv6 addresses or networks in IP/mask format.
Label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Ports This property is required. string
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
Protocol This property is required. string
The network protocol this rule controls. (TCP, UDP, ICMP)
Action This property is required. string
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
Ipv4s This property is required. []string
A list of IPv4 addresses or networks in IP/mask format.
Ipv6s This property is required. []string
A list of IPv6 addresses or networks in IP/mask format.
Label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Ports This property is required. string
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
Protocol This property is required. string
The network protocol this rule controls. (TCP, UDP, ICMP)
action This property is required. String
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
ipv4s This property is required. List<String>
A list of IPv4 addresses or networks in IP/mask format.
ipv6s This property is required. List<String>
A list of IPv6 addresses or networks in IP/mask format.
label This property is required. String
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
ports This property is required. String
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
protocol This property is required. String
The network protocol this rule controls. (TCP, UDP, ICMP)
action This property is required. string
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
ipv4s This property is required. string[]
A list of IPv4 addresses or networks in IP/mask format.
ipv6s This property is required. string[]
A list of IPv6 addresses or networks in IP/mask format.
label This property is required. string
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
ports This property is required. string
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
protocol This property is required. string
The network protocol this rule controls. (TCP, UDP, ICMP)
action This property is required. str
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
ipv4s This property is required. Sequence[str]
A list of IPv4 addresses or networks in IP/mask format.
ipv6s This property is required. Sequence[str]
A list of IPv6 addresses or networks in IP/mask format.
label This property is required. str
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
ports This property is required. str
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
protocol This property is required. str
The network protocol this rule controls. (TCP, UDP, ICMP)
action This property is required. String
Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP).
ipv4s This property is required. List<String>
A list of IPv4 addresses or networks in IP/mask format.
ipv6s This property is required. List<String>
A list of IPv6 addresses or networks in IP/mask format.
label This property is required. String
The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
ports This property is required. String
A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
protocol This property is required. String
The network protocol this rule controls. (TCP, UDP, ICMP)

Package Details

Repository
Linode pulumi/pulumi-linode
License
Apache-2.0
Notes
This Pulumi package is based on the linode Terraform Provider.