Class RuleState
Inherited Members
Namespace: Pulumi.OpenStack.Firewall
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class RuleState : ResourceArgs
Constructors
View SourceRuleState()
Declaration
public RuleState()
Properties
View SourceAction
Action to be taken ( must be "allow" or "deny") when the
firewall rule matches. Changing this updates the action of an existing
firewall rule.
Declaration
public Input<string> Action { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
A description for the firewall rule. Changing this
updates the description of an existing firewall rule.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DestinationIpAddress
The destination IP address on which the
firewall rule operates. Changing this updates the destination_ip_address
of an existing firewall rule.
Declaration
public Input<string> DestinationIpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DestinationPort
The destination port on which the firewall
rule operates. Changing this updates the destination_port of an existing
firewall rule.
Declaration
public Input<string> DestinationPort { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Enabled
Enabled status for the firewall rule (must be "true"
or "false" if provided - defaults to "true"). Changing this updates the
enabled status of an existing firewall rule.
Declaration
public Input<bool> Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IpVersion
IP version, either 4 (default) or 6. Changing this
updates the ip_version of an existing firewall rule.
Declaration
public Input<int> IpVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
A unique name for the firewall rule. Changing this
updates the name of an existing firewall rule.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Protocol
The protocol type on which the firewall rule operates.
Valid values are: tcp, udp, icmp, and any. Changing this updates the
protocol of an existing firewall rule.
Declaration
public Input<string> Protocol { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The region in which to obtain the v1 Compute client.
A Compute client is needed to create a firewall rule. If omitted, the
region argument of the provider is used. Changing this creates a new
firewall rule.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceIpAddress
The source IP address on which the firewall
rule operates. Changing this updates the source_ip_address of an existing
firewall rule.
Declaration
public Input<string> SourceIpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourcePort
The source port on which the firewall
rule operates. Changing this updates the source_port of an existing
firewall rule.
Declaration
public Input<string> SourcePort { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TenantId
The owner of the firewall rule. Required if admin wants to create a firewall rule for another tenant. Changing this creates a new firewall rule.
Declaration
public Input<string> TenantId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ValueSpecs
Map of additional options.
Declaration
public InputMap<object> ValueSpecs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |