pub struct FirewallPolicyRuleResult {Show 15 fields
pub action: Output<String>,
pub creation_timestamp: Output<String>,
pub description: Output<Option<String>>,
pub direction: Output<String>,
pub disabled: Output<Option<bool>>,
pub enable_logging: Output<Option<bool>>,
pub firewall_policy: Output<String>,
pub kind: Output<String>,
pub match_: Output<FirewallPolicyRuleMatch>,
pub priority: Output<i32>,
pub rule_tuple_count: Output<i32>,
pub security_profile_group: Output<Option<String>>,
pub target_resources: Output<Option<Vec<String>>>,
pub target_service_accounts: Output<Option<Vec<String>>>,
pub tls_inspect: Output<Option<bool>>,
}
Fields§
§action: Output<String>
The Action to perform when the client connection triggers the rule. Valid actions are “allow”, “deny”, “goto_next” and “apply_security_profile_group”.
creation_timestamp: Output<String>
Creation timestamp in RFC3339 text format.
description: Output<Option<String>>
An optional description for this resource.
direction: Output<String>
The direction in which this rule applies.
Possible values are: INGRESS
, EGRESS
.
disabled: Output<Option<bool>>
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.
enable_logging: Output<Option<bool>>
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.
firewall_policy: Output<String>
The firewall policy of the resource.
kind: Output<String>
Type of the resource. Always compute#firewallPolicyRule
for firewall policy rules
match_: Output<FirewallPolicyRuleMatch>
A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding ‘action’ is enforced. Structure is documented below.
priority: Output<i32>
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.
rule_tuple_count: Output<i32>
Calculation of the complexity of a single firewall policy rule.
security_profile_group: Output<Option<String>>
A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action = ‘apply_security_profile_group’ and cannot be specified for other actions.
target_resources: Output<Option<Vec<String>>>
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.
target_service_accounts: Output<Option<Vec<String>>>
A list of service accounts indicating the sets of instances that are applied with this rule.
tls_inspect: Output<Option<bool>>
Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = ‘apply_security_profile_group’ and cannot be set for other actions.