Proxmox Virtual Environment (Proxmox VE) v5.1.0, Jun 1 23
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.
Proxmox VE. Network. Inputs. Firewall Security Group Rule Args> List of rules
- Comment string
Security group comment
- Container
Id int The ID of the container to manage the firewall for.
- Name string
Security group name
- Node
Name string The name of the node.
- Vm
Id int The ID of the VM to manage the firewall for.
- Rules
[]Firewall
Security Group Rule Args List of rules
- Comment string
Security group comment
- Container
Id int The ID of the container to manage the firewall for.
- Name string
Security group name
- Node
Name string The name of the node.
- Vm
Id int The ID of the VM to manage the firewall for.
- rules
List<Firewall
Security Group Rule Args> List of rules
- comment String
Security group comment
- container
Id Integer The ID of the container to manage the firewall for.
- name String
Security group name
- node
Name String The name of the node.
- vm
Id Integer The ID of the VM to manage the firewall for.
- rules
Firewall
Security Group Rule Args[] List of rules
- comment string
Security group comment
- container
Id number The ID of the container to manage the firewall for.
- name string
Security group name
- node
Name string The name of the node.
- vm
Id number The ID of the VM to manage the firewall for.
- rules
Firewall
Security Group Rule Args] 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
- container
Id Number The ID of the container to manage the firewall for.
- name String
Security group name
- node
Name String The name of the node.
- vm
Id 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.
- Comment string
Security group comment
- Container
Id int The ID of the container to manage the firewall for.
- Name string
Security group name
- Node
Name string The name of the node.
- Rules
List<Pulumi.
Proxmox VE. Network. Inputs. Firewall Security Group Rule Args> List of rules
- Vm
Id int The ID of the VM to manage the firewall for.
- Comment string
Security group comment
- Container
Id int The ID of the container to manage the firewall for.
- Name string
Security group name
- Node
Name string The name of the node.
- Rules
[]Firewall
Security Group Rule Args List of rules
- Vm
Id int The ID of the VM to manage the firewall for.
- comment String
Security group comment
- container
Id Integer The ID of the container to manage the firewall for.
- name String
Security group name
- node
Name String The name of the node.
- rules
List<Firewall
Security Group Rule Args> List of rules
- vm
Id Integer The ID of the VM to manage the firewall for.
- comment string
Security group comment
- container
Id number The ID of the container to manage the firewall for.
- name string
Security group name
- node
Name string The name of the node.
- rules
Firewall
Security Group Rule Args[] List of rules
- vm
Id 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
Firewall
Security Group Rule Args] List of rules
- vm_
id int The ID of the VM to manage the firewall for.
- comment String
Security group comment
- container
Id Number The ID of the container to manage the firewall for.
- name String
Security group name
- node
Name String The name of the node.
- rules List<Property Map>
List of rules
- vm
Id Number The ID of the VM to manage the firewall for.
Supporting Types
FirewallSecurityGroupRule
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
proxmoxve
Terraform Provider.