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);
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)
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.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, &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
})
}
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(GetFirewallsArgs.builder()
.build());
ctx.export("firewallIds", all.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)
public static Output<GetFirewallsResult> getFirewalls(GetFirewallsArgs args, InvokeOptions options)
fn::invoke:
function: linode:index/getFirewalls:getFirewalls
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Firewalls Filter> - Firewalls
List<Get
Firewalls Firewall> - Order string
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- Filters
[]Get
Firewalls Filter - Firewalls
[]Get
Firewalls Firewall - Order string
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
List<Get
Firewalls Filter> - firewalls
List<Get
Firewalls Firewall> - order String
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order
By String - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
Get
Firewalls Filter[] - firewalls
Get
Firewalls Firewall[] - order string
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
Sequence[Get
Firewalls Filter] - firewalls
Sequence[Get
Firewalls Firewall] - order str
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - 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
; defaultasc
) - order
By 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<Get
Firewalls Filter> - Firewalls
List<Get
Firewalls Firewall> - Order string
- Order
By string
- Id string
- The unique ID assigned to this Firewall.
- Filters
[]Get
Firewalls Filter - Firewalls
[]Get
Firewalls Firewall - Order string
- Order
By string
- id String
- The unique ID assigned to this Firewall.
- filters
List<Get
Firewalls Filter> - firewalls
List<Get
Firewalls Firewall> - order String
- order
By String
- id string
- The unique ID assigned to this Firewall.
- filters
Get
Firewalls Filter[] - firewalls
Get
Firewalls Firewall[] - order string
- order
By string
- id str
- The unique ID assigned to this Firewall.
- filters
Sequence[Get
Firewalls Filter] - firewalls
Sequence[Get
Firewalls Firewall] - order str
- order_
by str
- id String
- The unique ID assigned to this Firewall.
- filters List<Property Map>
- firewalls List<Property Map>
- order String
- order
By 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.
- Match
By string - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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.
- Match
By string - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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.
- match
By String - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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.
- match
By string - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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
; defaultexact
)
- 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.
- match
By String - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
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.
- Inbound
Policy 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..
- Outbound
Policy This property is required. string - The default behavior for outbound traffic.
- Status
This property is required. string - The status of the firewall.
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<Get
Firewalls Firewall Device> - The devices associated with this firewall.
- Inbounds
List<Get
Firewalls Firewall Inbound> - A set of firewall rules that specify what inbound network traffic is allowed.
- Outbounds
List<Get
Firewalls Firewall Outbound> - 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.
- Inbound
Policy 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..
- Outbound
Policy This property is required. string - The default behavior for outbound traffic.
- Status
This property is required. string - The status of the firewall.
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
[]Get
Firewalls Firewall Device - The devices associated with this firewall.
- Inbounds
[]Get
Firewalls Firewall Inbound - A set of firewall rules that specify what inbound network traffic is allowed.
- Outbounds
[]Get
Firewalls Firewall Outbound - 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.
- inbound
Policy 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..
- outbound
Policy This property is required. String - The default behavior for outbound traffic.
- status
This property is required. String - The status of the firewall.
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<Get
Firewalls Firewall Device> - The devices associated with this firewall.
- inbounds
List<Get
Firewalls Firewall Inbound> - A set of firewall rules that specify what inbound network traffic is allowed.
- outbounds
List<Get
Firewalls Firewall Outbound> - 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.
- inbound
Policy 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..
- outbound
Policy This property is required. string - The default behavior for outbound traffic.
- status
This property is required. string - The status of the firewall.
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
Get
Firewalls Firewall Device[] - The devices associated with this firewall.
- inbounds
Get
Firewalls Firewall Inbound[] - A set of firewall rules that specify what inbound network traffic is allowed.
- outbounds
Get
Firewalls Firewall Outbound[] - 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.
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[Get
Firewalls Firewall Device] - The devices associated with this firewall.
- inbounds
Sequence[Get
Firewalls Firewall Inbound] - A set of firewall rules that specify what inbound network traffic is allowed.
- outbounds
Sequence[Get
Firewalls Firewall Outbound] - 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.
- inbound
Policy 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..
- outbound
Policy This property is required. String - The default behavior for outbound traffic.
- status
This property is required. String - The status of the firewall.
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
- 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. 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. 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. 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.
- entity
Id 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.
- entity
Id 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.