Class FirewallPolicyRuleState


  • public final class FirewallPolicyRuleState
    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<FirewallPolicyRuleMatchArgs>> 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.
      • ruleTupleCount

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

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> targetResources()
        Returns:
        A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.
      • 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.