Class NetworkFirewallPolicyRuleState


  • public final class NetworkFirewallPolicyRuleState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • action

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> action()
        Returns:
        The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        An optional description for this resource.
      • direction

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> direction()
        Returns:
        The direction in which this rule applies. Possible values: INGRESS, EGRESS
      • disabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disabled()
        Returns:
        Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.
      • enableLogging

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableLogging()
        Returns:
        Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules.
      • firewallPolicy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> firewallPolicy()
        Returns:
        The firewall policy of the resource.
      • kind

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kind()
        Returns:
        Type of the resource. Always `compute#firewallPolicyRule` for firewall policy rules
      • match

        public java.util.Optional<com.pulumi.core.Output<NetworkFirewallPolicyRuleMatchArgs>> match()
        Returns:
        A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
      • priority

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> priority()
        Returns:
        An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The project for the resource
      • ruleName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ruleName()
        Returns:
        An optional name for the rule. This field is not a unique identifier and can be updated.
      • ruleTupleCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ruleTupleCount()
        Returns:
        Calculation of the complexity of a single firewall policy rule.
      • targetSecureTags

        public java.util.Optional<com.pulumi.core.Output<java.util.List<NetworkFirewallPolicyRuleTargetSecureTagArgs>>> targetSecureTags()
        Returns:
        A list of secure tags that controls which instances the firewall rule applies to. If <code>targetSecureTag</code> are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. <code>targetSecureTag</code> may not be set at the same time as <code>targetServiceAccounts</code>. If neither <code>targetServiceAccounts</code> nor <code>targetSecureTag</code> are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
      • targetServiceAccounts

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> targetServiceAccounts()
        Returns:
        A list of service accounts indicating the sets of instances that are applied with this rule.