Package com.pulumi.gcp.compute.inputs
Class OrganizationSecurityPolicyRuleState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.inputs.OrganizationSecurityPolicyRuleState
-
public final class OrganizationSecurityPolicyRuleState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrganizationSecurityPolicyRuleState.Builder
-
Field Summary
Fields Modifier and Type Field Description static OrganizationSecurityPolicyRuleState
Empty
-
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 OrganizationSecurityPolicyRuleState.Builder
builder()
static OrganizationSecurityPolicyRuleState.Builder
builder(OrganizationSecurityPolicyRuleState defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
direction()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
enableLogging()
java.util.Optional<com.pulumi.core.Output<OrganizationSecurityPolicyRuleMatchArgs>>
match()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
policyId()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
preview()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
priority()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
targetResources()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
targetServiceAccounts()
-
-
-
Field Detail
-
Empty
public static final OrganizationSecurityPolicyRuleState Empty
-
-
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.
-
builder
public static OrganizationSecurityPolicyRuleState.Builder builder()
-
builder
public static OrganizationSecurityPolicyRuleState.Builder builder(OrganizationSecurityPolicyRuleState defaults)
-
-