Class OrganizationSecurityPolicyRuleState


  • public final class OrganizationSecurityPolicyRuleState
    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. Can currently be either "allow", "deny" or "goto_next".
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        A description of the rule.
      • direction

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> direction()
        Returns:
        The direction in which this rule applies. If unspecified an INGRESS rule is created. Possible values are: `INGRESS`, `EGRESS`.
      • 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.
      • match

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policyId()
        Returns:
        The ID of the OrganizationSecurityPolicy this rule applies to.
      • preview

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> preview()
        Returns:
        If set to true, the specified action is not 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 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.
      • 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.