1. Packages
  2. Linode
  3. API Docs
  4. getFirewalls
Linode v4.19.0 published on Wednesday, Apr 24, 2024 by Pulumi

linode.getFirewalls

Explore with Pulumi AI

linode logo
Linode v4.19.0 published on Wednesday, Apr 24, 2024 by Pulumi

    Provides information about Linode Cloud Firewalls that match a set of filters.

    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);
    
    import pulumi
    import pulumi_linode as linode
    
    specific = linode.get_firewalls(filters=[
        linode.GetFirewallsFilterArgs(
            name="label",
            values=["my-firewalls"],
        ),
        linode.GetFirewallsFilterArgs(
            name="tags",
            values=["my-tag"],
        ),
    ])
    pulumi.export("firewallId", specific.firewalls[0].id)
    
    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
    	})
    }
    
    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),
        };
    });
    
    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.applyValue(getFirewallsResult -> getFirewallsResult.firewalls()[0].id()));
        }
    }
    
    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}
    

    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));
    
    import pulumi
    import pulumi_linode as linode
    
    all = linode.get_firewalls()
    pulumi.export("firewallIds", [__item.id for __item in all.firewalls])
    
    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, nil, nil)
    		if err != nil {
    			return err
    		}
    		var splat0 []*int
    		for _, val0 := range all.Firewalls {
    			splat0 = append(splat0, val0.Id)
    		}
    		ctx.Export("firewallIds", splat0)
    		return nil
    	})
    }
    
    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(),
        };
    });
    
    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();
    
            ctx.export("firewallIds", all.applyValue(getFirewallsResult -> getFirewallsResult.firewalls()).stream().map(element -> element.id()).collect(toList()));
        }
    }
    
    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>
    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]
    func GetFirewalls(ctx *Context, args *GetFirewallsArgs, opts ...InvokeOption) (*GetFirewallsResult, error)
    func GetFirewallsOutput(ctx *Context, args *GetFirewallsOutputArgs, opts ...InvokeOption) GetFirewallsResultOutput

    > 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)
    }
    public static CompletableFuture<GetFirewallsResult> getFirewalls(GetFirewallsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: linode:index/getFirewalls:getFirewalls
      arguments:
        # arguments dictionary

    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 string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    Values 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 string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    Values []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 String
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values 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 string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values 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 str
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values 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 String
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values 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 string
    When this firewall was created.
    Disabled bool
    If true, the Firewall is inactive.
    Id int
    The unique ID assigned to this Firewall.
    InboundPolicy string
    The default behavior for inbound traffic.
    Label string
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    Linodes List<int>
    The IDs of Linodes this firewall is applied to.
    Nodebalancers List<int>
    The IDs of NodeBalancers assigned to this Firewall..
    OutboundPolicy string
    The default behavior for outbound traffic.
    Status string
    The status of the firewall.
    Tags List<string>
    An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
    Updated 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 string
    When this firewall was created.
    Disabled bool
    If true, the Firewall is inactive.
    Id int
    The unique ID assigned to this Firewall.
    InboundPolicy string
    The default behavior for inbound traffic.
    Label string
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    Linodes []int
    The IDs of Linodes this firewall is applied to.
    Nodebalancers []int
    The IDs of NodeBalancers assigned to this Firewall..
    OutboundPolicy string
    The default behavior for outbound traffic.
    Status string
    The status of the firewall.
    Tags []string
    An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
    Updated 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 String
    When this firewall was created.
    disabled Boolean
    If true, the Firewall is inactive.
    id Integer
    The unique ID assigned to this Firewall.
    inboundPolicy String
    The default behavior for inbound traffic.
    label String
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    linodes List<Integer>
    The IDs of Linodes this firewall is applied to.
    nodebalancers List<Integer>
    The IDs of NodeBalancers assigned to this Firewall..
    outboundPolicy String
    The default behavior for outbound traffic.
    status String
    The status of the firewall.
    tags List<String>
    An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
    updated 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 string
    When this firewall was created.
    disabled boolean
    If true, the Firewall is inactive.
    id number
    The unique ID assigned to this Firewall.
    inboundPolicy string
    The default behavior for inbound traffic.
    label string
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    linodes number[]
    The IDs of Linodes this firewall is applied to.
    nodebalancers number[]
    The IDs of NodeBalancers assigned to this Firewall..
    outboundPolicy string
    The default behavior for outbound traffic.
    status string
    The status of the firewall.
    tags string[]
    An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
    updated 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 str
    When this firewall was created.
    disabled bool
    If true, the Firewall is inactive.
    id int
    The unique ID assigned to this Firewall.
    inbound_policy str
    The default behavior for inbound traffic.
    label str
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    linodes Sequence[int]
    The IDs of Linodes this firewall is applied to.
    nodebalancers Sequence[int]
    The IDs of NodeBalancers assigned to this Firewall..
    outbound_policy str
    The default behavior for outbound traffic.
    status str
    The status of the firewall.
    tags Sequence[str]
    An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
    updated 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 String
    When this firewall was created.
    disabled Boolean
    If true, the Firewall is inactive.
    id Number
    The unique ID assigned to this Firewall.
    inboundPolicy String
    The default behavior for inbound traffic.
    label String
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    linodes List<Number>
    The IDs of Linodes this firewall is applied to.
    nodebalancers List<Number>
    The IDs of NodeBalancers assigned to this Firewall..
    outboundPolicy String
    The default behavior for outbound traffic.
    status String
    The status of the firewall.
    tags List<String>
    An array of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
    updated 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 int
    The ID of the underlying entity this device references (i.e. the Linode's ID).
    Id int
    The unique ID assigned to this Firewall.
    Label string
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    Type string
    The type of Firewall Device.
    Url string
    The URL of the underlying entity this device references.
    EntityId int
    The ID of the underlying entity this device references (i.e. the Linode's ID).
    Id int
    The unique ID assigned to this Firewall.
    Label string
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    Type string
    The type of Firewall Device.
    Url string
    The URL of the underlying entity this device references.
    entityId Integer
    The ID of the underlying entity this device references (i.e. the Linode's ID).
    id Integer
    The unique ID assigned to this Firewall.
    label String
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    type String
    The type of Firewall Device.
    url String
    The URL of the underlying entity this device references.
    entityId number
    The ID of the underlying entity this device references (i.e. the Linode's ID).
    id number
    The unique ID assigned to this Firewall.
    label string
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    type string
    The type of Firewall Device.
    url string
    The URL of the underlying entity this device references.
    entity_id int
    The ID of the underlying entity this device references (i.e. the Linode's ID).
    id int
    The unique ID assigned to this Firewall.
    label str
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    type str
    The type of Firewall Device.
    url str
    The URL of the underlying entity this device references.
    entityId Number
    The ID of the underlying entity this device references (i.e. the Linode's ID).
    id Number
    The unique ID assigned to this Firewall.
    label String
    The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
    type String
    The type of Firewall Device.
    url String
    The URL of the underlying entity this device references.

    GetFirewallsFirewallInbound

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

    GetFirewallsFirewallOutbound

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