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

proxmoxve.Network.FirewallSecurityGroup

Explore with Pulumi AI

Create FirewallSecurityGroup Resource

new FirewallSecurityGroup(name: string, args: FirewallSecurityGroupArgs, opts?: CustomResourceOptions);
@overload
def FirewallSecurityGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          comment: Optional[str] = None,
                          container_id: Optional[int] = None,
                          name: Optional[str] = None,
                          node_name: Optional[str] = None,
                          rules: Optional[Sequence[_network.FirewallSecurityGroupRuleArgs]] = None,
                          vm_id: Optional[int] = None)
@overload
def FirewallSecurityGroup(resource_name: str,
                          args: FirewallSecurityGroupArgs,
                          opts: Optional[ResourceOptions] = None)
func NewFirewallSecurityGroup(ctx *Context, name string, args FirewallSecurityGroupArgs, opts ...ResourceOption) (*FirewallSecurityGroup, error)
public FirewallSecurityGroup(string name, FirewallSecurityGroupArgs args, CustomResourceOptions? opts = null)
public FirewallSecurityGroup(String name, FirewallSecurityGroupArgs args)
public FirewallSecurityGroup(String name, FirewallSecurityGroupArgs args, CustomResourceOptions options)
type: proxmoxve:Network:FirewallSecurityGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FirewallSecurityGroupArgs
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 FirewallSecurityGroupArgs
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 FirewallSecurityGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FirewallSecurityGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FirewallSecurityGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FirewallSecurityGroup 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 FirewallSecurityGroup resource accepts the following input properties:

Rules List<Pulumi.ProxmoxVE.Network.Inputs.FirewallSecurityGroupRuleArgs>

List of rules

Comment string

Security group comment

ContainerId int

The ID of the container to manage the firewall for.

Name string

Security group name

NodeName string

The name of the node.

VmId int

The ID of the VM to manage the firewall for.

Rules []FirewallSecurityGroupRuleArgs

List of rules

Comment string

Security group comment

ContainerId int

The ID of the container to manage the firewall for.

Name string

Security group name

NodeName string

The name of the node.

VmId int

The ID of the VM to manage the firewall for.

rules List<FirewallSecurityGroupRuleArgs>

List of rules

comment String

Security group comment

containerId Integer

The ID of the container to manage the firewall for.

name String

Security group name

nodeName String

The name of the node.

vmId Integer

The ID of the VM to manage the firewall for.

rules FirewallSecurityGroupRuleArgs[]

List of rules

comment string

Security group comment

containerId number

The ID of the container to manage the firewall for.

name string

Security group name

nodeName string

The name of the node.

vmId number

The ID of the VM to manage the firewall for.

rules FirewallSecurityGroupRuleArgs]

List of rules

comment str

Security group comment

container_id int

The ID of the container to manage the firewall for.

name str

Security group name

node_name str

The name of the node.

vm_id int

The ID of the VM to manage the firewall for.

rules List<Property Map>

List of rules

comment String

Security group comment

containerId Number

The ID of the container to manage the firewall for.

name String

Security group name

nodeName String

The name of the node.

vmId Number

The ID of the VM to manage the firewall for.

Outputs

All input properties are implicitly available as output properties. Additionally, the FirewallSecurityGroup 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 FirewallSecurityGroup Resource

Get an existing FirewallSecurityGroup 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?: FirewallSecurityGroupState, opts?: CustomResourceOptions): FirewallSecurityGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        comment: Optional[str] = None,
        container_id: Optional[int] = None,
        name: Optional[str] = None,
        node_name: Optional[str] = None,
        rules: Optional[Sequence[_network.FirewallSecurityGroupRuleArgs]] = None,
        vm_id: Optional[int] = None) -> FirewallSecurityGroup
func GetFirewallSecurityGroup(ctx *Context, name string, id IDInput, state *FirewallSecurityGroupState, opts ...ResourceOption) (*FirewallSecurityGroup, error)
public static FirewallSecurityGroup Get(string name, Input<string> id, FirewallSecurityGroupState? state, CustomResourceOptions? opts = null)
public static FirewallSecurityGroup get(String name, Output<String> id, FirewallSecurityGroupState 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:
Comment string

Security group comment

ContainerId int

The ID of the container to manage the firewall for.

Name string

Security group name

NodeName string

The name of the node.

Rules List<Pulumi.ProxmoxVE.Network.Inputs.FirewallSecurityGroupRuleArgs>

List of rules

VmId int

The ID of the VM to manage the firewall for.

Comment string

Security group comment

ContainerId int

The ID of the container to manage the firewall for.

Name string

Security group name

NodeName string

The name of the node.

Rules []FirewallSecurityGroupRuleArgs

List of rules

VmId int

The ID of the VM to manage the firewall for.

comment String

Security group comment

containerId Integer

The ID of the container to manage the firewall for.

name String

Security group name

nodeName String

The name of the node.

rules List<FirewallSecurityGroupRuleArgs>

List of rules

vmId Integer

The ID of the VM to manage the firewall for.

comment string

Security group comment

containerId number

The ID of the container to manage the firewall for.

name string

Security group name

nodeName string

The name of the node.

rules FirewallSecurityGroupRuleArgs[]

List of rules

vmId number

The ID of the VM to manage the firewall for.

comment str

Security group comment

container_id int

The ID of the container to manage the firewall for.

name str

Security group name

node_name str

The name of the node.

rules FirewallSecurityGroupRuleArgs]

List of rules

vm_id int

The ID of the VM to manage the firewall for.

comment String

Security group comment

containerId Number

The ID of the container to manage the firewall for.

name String

Security group name

nodeName String

The name of the node.

rules List<Property Map>

List of rules

vmId Number

The ID of the VM to manage the firewall for.

Supporting Types

FirewallSecurityGroupRule

Action string
Comment string
Dest string
Dport string
Enabled bool
Iface string
Log string
Macro string
Pos int
Proto string
SecurityGroup string
Source string
Sport string
Type string
Action string
Comment string
Dest string
Dport string
Enabled bool
Iface string
Log string
Macro string
Pos int
Proto string
SecurityGroup string
Source string
Sport string
Type string
action String
comment String
dest String
dport String
enabled Boolean
iface String
log String
macro String
pos Integer
proto String
securityGroup String
source String
sport String
type String
action string
comment string
dest string
dport string
enabled boolean
iface string
log string
macro string
pos number
proto string
securityGroup string
source string
sport string
type string
action str
comment str
dest str
dport str
enabled bool
iface str
log str
macro str
pos int
proto str
security_group str
source str
sport str
type str
action String
comment String
dest String
dport String
enabled Boolean
iface String
log String
macro String
pos Number
proto String
securityGroup String
source String
sport String
type String

Package Details

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

This Pulumi package is based on the proxmoxve Terraform Provider.