FirewallRuleArgs class
The set of arguments for FirewallRule. The set of arguments for FirewallRule.
Constructors
-
FirewallRuleArgs({required Input<
String> action, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<int?> ? priority, Input<String?> ? project, required Input<String> sourceRange}) -
Creates a new FirewallRuleArgs.
actionThe action to take if this rule matches.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional string description of this rule.priorityA positive integer that defines the order of rule evaluation.projectThe ID of the project in which the resource belongs.sourceRangeIP address or range, defined using CIDR notation, of requests that this rule applies to.const -
FirewallRuleArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
action
→ Input<
String> -
The action to take if this rule matches.
Possible values are:
UNSPECIFIED_ACTION,ALLOW,DENY.final -
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
An optional string description of this rule.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
priority
→ Input<
int?> ? -
A positive integer that defines the order of rule evaluation.
Rules with the lowest priority are evaluated first.
A default rule at priority Int32.MaxValue matches all IPv4 and
IPv6 traffic when no previous rule matches. Only the action of
this rule can be modified by the user.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceRange
→ Input<
String> -
IP address or range, defined using CIDR notation, of requests that this rule applies to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited