Class RuleArgs


  • public final class RuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RuleArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static RuleArgs Empty  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.lang.String> action()  
      static RuleArgs.Builder builder()  
      static RuleArgs.Builder builder​(RuleArgs 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()  
      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.String>> sourceIpAddress()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourcePort()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> tenantId()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>>> valueSpecs()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Empty

        public static final RuleArgs Empty
    • Method Detail

      • action

        public com.pulumi.core.Output<java.lang.String> action()
        Returns:
        Action to be taken ( must be "allow" or "deny") when the firewall rule matches. Changing this updates the `action` of an existing firewall rule.
      • 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.
      • 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 (default) or 6. Changing this updates the `ip_version` of an existing firewall rule.
      • 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.
      • protocol

        public com.pulumi.core.Output<java.lang.String> protocol()
        Returns:
        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.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        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.
      • 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.
      • tenantId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> tenantId()
        Returns:
        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.
      • valueSpecs

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>>> valueSpecs()
        Returns:
        Map of additional options.