Class RuleV2State
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.openstack.firewall.inputs.RuleV2State
-
public final class RuleV2State extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuleV2State.Builder
-
Field Summary
Fields Modifier and Type Field Description static RuleV2StateEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>action()static RuleV2State.Builderbuilder()static RuleV2State.Builderbuilder(RuleV2State defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>description()java.util.Optional<com.pulumi.core.Output<java.lang.String>>destinationIpAddress()java.util.Optional<com.pulumi.core.Output<java.lang.String>>destinationPort()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>enabled()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>ipVersion()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()java.util.Optional<com.pulumi.core.Output<java.lang.String>>projectId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>protocol()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>shared()java.util.Optional<com.pulumi.core.Output<java.lang.String>>sourceIpAddress()java.util.Optional<com.pulumi.core.Output<java.lang.String>>sourcePort()java.util.Optional<com.pulumi.core.Output<java.lang.String>>tenantId()
-
-
-
Field Detail
-
Empty
public static final RuleV2State Empty
-
-
Method Detail
-
action
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> action()
- Returns:
- Action to be taken (must be "allow", "deny" or "reject") when the firewall rule matches. Changing this updates the `action` of an existing firewall rule. Default is `deny`.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- A description for the firewall rule. Changing this updates the `description` of an existing firewall rule.
-
destinationIpAddress
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> destinationIpAddress()
- Returns:
- The destination IP address on which the firewall rule operates. Changing this updates the `destination_ip_address` of an existing firewall rule.
-
destinationPort
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> destinationPort()
- Returns:
- The destination port on which the firewall rule operates. Changing this updates the `destination_port` of an existing firewall rule. Require not `any` or empty protocol.
-
enabled
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enabled()
- Returns:
- 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.
-
ipVersion
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipVersion()
- Returns:
- IP version, either 4 or 6. Changing this updates the `ip_version` of an existing firewall rule. Default is `4`.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- A unique name for the firewall rule. Changing this updates the `name` of an existing firewall rule.
-
projectId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> projectId()
- Returns:
- This argument conflicts and is interchangeable with `tenant_id`. The owner of the firewall rule. Required if admin wants to create a firewall rule for another project. Changing this creates a new firewall rule.
-
protocol
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> protocol()
- Returns:
- (Optional; Required if `source_port` or `destination_port` is not empty) 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. Default is `any`.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- The region in which to obtain the v2 networking client. A networking 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.
-
shared
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> shared()
- Returns:
- Sharing status of the firewall rule (must be "true" or "false" if provided). If this is "true" the policy is visible to, and can be used in, firewalls in other tenants. Changing this updates the `shared` status of an existing firewall policy. On
-
sourceIpAddress
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceIpAddress()
- Returns:
- The source IP address on which the firewall rule operates. Changing this updates the `source_ip_address` of an existing firewall rule.
-
sourcePort
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourcePort()
- Returns:
- The source port on which the firewall rule operates. Changing this updates the `source_port` of an existing firewall rule. Require not `any` or empty protocol.
-
tenantId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> tenantId()
- Returns:
- This argument conflicts and is interchangeable with `project_id`. 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.
-
builder
public static RuleV2State.Builder builder()
-
builder
public static RuleV2State.Builder builder(RuleV2State defaults)
-
-