proxmoxve logo
Proxmox Virtual Environment (Proxmox VE) v5.1.0, Jun 1 23

proxmoxve.Network.Firewall

Explore with Pulumi AI

Create Firewall Resource

new Firewall(name: string, args?: FirewallArgs, opts?: CustomResourceOptions);
@overload
def Firewall(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             ebtables: Optional[bool] = None,
             enabled: Optional[bool] = None,
             input_policy: Optional[str] = None,
             log_ratelimit: Optional[_network.FirewallLogRatelimitArgs] = None,
             output_policy: Optional[str] = None)
@overload
def Firewall(resource_name: str,
             args: Optional[FirewallArgs] = None,
             opts: Optional[ResourceOptions] = None)
func NewFirewall(ctx *Context, name string, args *FirewallArgs, opts ...ResourceOption) (*Firewall, error)
public Firewall(string name, FirewallArgs? args = null, CustomResourceOptions? opts = null)
public Firewall(String name, FirewallArgs args)
public Firewall(String name, FirewallArgs args, CustomResourceOptions options)
type: proxmoxve:Network:Firewall
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FirewallArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FirewallArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FirewallArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FirewallArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FirewallArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Firewall Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Firewall resource accepts the following input properties:

Ebtables bool

Enable ebtables cluster-wide

Enabled bool

Enable or disable the firewall cluster-wide

InputPolicy string

Default policy for incoming traffic

LogRatelimit Pulumi.ProxmoxVE.Network.Inputs.FirewallLogRatelimitArgs

Log ratelimiting settings

OutputPolicy string

Default policy for outgoing traffic

Ebtables bool

Enable ebtables cluster-wide

Enabled bool

Enable or disable the firewall cluster-wide

InputPolicy string

Default policy for incoming traffic

LogRatelimit FirewallLogRatelimitArgs

Log ratelimiting settings

OutputPolicy string

Default policy for outgoing traffic

ebtables Boolean

Enable ebtables cluster-wide

enabled Boolean

Enable or disable the firewall cluster-wide

inputPolicy String

Default policy for incoming traffic

logRatelimit FirewallLogRatelimitArgs

Log ratelimiting settings

outputPolicy String

Default policy for outgoing traffic

ebtables boolean

Enable ebtables cluster-wide

enabled boolean

Enable or disable the firewall cluster-wide

inputPolicy string

Default policy for incoming traffic

logRatelimit FirewallLogRatelimitArgs

Log ratelimiting settings

outputPolicy string

Default policy for outgoing traffic

ebtables bool

Enable ebtables cluster-wide

enabled bool

Enable or disable the firewall cluster-wide

input_policy str

Default policy for incoming traffic

log_ratelimit FirewallLogRatelimitArgs

Log ratelimiting settings

output_policy str

Default policy for outgoing traffic

ebtables Boolean

Enable ebtables cluster-wide

enabled Boolean

Enable or disable the firewall cluster-wide

inputPolicy String

Default policy for incoming traffic

logRatelimit Property Map

Log ratelimiting settings

outputPolicy String

Default policy for outgoing traffic

Outputs

All input properties are implicitly available as output properties. Additionally, the Firewall resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing Firewall Resource

Get an existing Firewall resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: FirewallState, opts?: CustomResourceOptions): Firewall
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ebtables: Optional[bool] = None,
        enabled: Optional[bool] = None,
        input_policy: Optional[str] = None,
        log_ratelimit: Optional[_network.FirewallLogRatelimitArgs] = None,
        output_policy: Optional[str] = None) -> Firewall
func GetFirewall(ctx *Context, name string, id IDInput, state *FirewallState, opts ...ResourceOption) (*Firewall, error)
public static Firewall Get(string name, Input<string> id, FirewallState? state, CustomResourceOptions? opts = null)
public static Firewall get(String name, Output<String> id, FirewallState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Ebtables bool

Enable ebtables cluster-wide

Enabled bool

Enable or disable the firewall cluster-wide

InputPolicy string

Default policy for incoming traffic

LogRatelimit Pulumi.ProxmoxVE.Network.Inputs.FirewallLogRatelimitArgs

Log ratelimiting settings

OutputPolicy string

Default policy for outgoing traffic

Ebtables bool

Enable ebtables cluster-wide

Enabled bool

Enable or disable the firewall cluster-wide

InputPolicy string

Default policy for incoming traffic

LogRatelimit FirewallLogRatelimitArgs

Log ratelimiting settings

OutputPolicy string

Default policy for outgoing traffic

ebtables Boolean

Enable ebtables cluster-wide

enabled Boolean

Enable or disable the firewall cluster-wide

inputPolicy String

Default policy for incoming traffic

logRatelimit FirewallLogRatelimitArgs

Log ratelimiting settings

outputPolicy String

Default policy for outgoing traffic

ebtables boolean

Enable ebtables cluster-wide

enabled boolean

Enable or disable the firewall cluster-wide

inputPolicy string

Default policy for incoming traffic

logRatelimit FirewallLogRatelimitArgs

Log ratelimiting settings

outputPolicy string

Default policy for outgoing traffic

ebtables bool

Enable ebtables cluster-wide

enabled bool

Enable or disable the firewall cluster-wide

input_policy str

Default policy for incoming traffic

log_ratelimit FirewallLogRatelimitArgs

Log ratelimiting settings

output_policy str

Default policy for outgoing traffic

ebtables Boolean

Enable ebtables cluster-wide

enabled Boolean

Enable or disable the firewall cluster-wide

inputPolicy String

Default policy for incoming traffic

logRatelimit Property Map

Log ratelimiting settings

outputPolicy String

Default policy for outgoing traffic

Supporting Types

FirewallLogRatelimit

Burst int
Enabled bool
Rate string
Burst int
Enabled bool
Rate string
burst Integer
enabled Boolean
rate String
burst number
enabled boolean
rate string
burst int
enabled bool
rate str
burst Number
enabled Boolean
rate String

Package Details

Repository
proxmoxve muhlba91/pulumi-proxmoxve
License
Apache-2.0
Notes

This Pulumi package is based on the proxmoxve Terraform Provider.