RegionNetworkPolicyTrafficClassificationRuleArgs class

The set of arguments for RegionNetworkPolicyTrafficClassificationRule. The set of arguments for RegionNetworkPolicyTrafficClassificationRule.

Constructors

RegionNetworkPolicyTrafficClassificationRuleArgs({Input<RegionNetworkPolicyTrafficClassificationRuleAction?>? action, Input<String?>? deletionPolicy, Input<String?>? description, Input<bool?>? disabled, required Input<RegionNetworkPolicyTrafficClassificationRuleMatch> match, required Input<String> networkPolicy, required Input<int> priority, Input<String?>? project, Input<String?>? region, Input<String?>? ruleName, Input<List<RegionNetworkPolicyTrafficClassificationRuleTargetSecureTag>?>? targetSecureTags, Input<List<String>?>? targetServiceAccounts})
Creates a new RegionNetworkPolicyTrafficClassificationRuleArgs. action The Action to perform when the client connection triggers the rule. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description for this resource. disabled Denotes whether the network policy rule is disabled. match A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. networkPolicy The firewall policy of the resource. priority An integer indicating the priority of a rule in the list. The priority must be a positive value between 1 and 2147482647. project The ID of the project in which the resource belongs. region The location of this resource. ruleName An optional name for the rule. This field is not a unique identifier and can be updated. targetSecureTags A list of secure tags that controls which instances the traffic classification rule applies to. targetServiceAccounts A list of service accounts indicating the sets of instances that are applied with this rule.
const
RegionNetworkPolicyTrafficClassificationRuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<RegionNetworkPolicyTrafficClassificationRuleAction?>?
The Action to perform when the client connection triggers the rule. Structure is documented below.
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 description for this resource.
final
disabled → Input<bool?>?
Denotes whether the network policy rule is disabled. When set to true, the network policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the network policy rule will be enabled.
final
hashCode → int
The hash code for this object.
no setterinherited
match → Input<RegionNetworkPolicyTrafficClassificationRuleMatch>
A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. Structure is documented below.
final
networkPolicy → Input<String>
The firewall policy of the resource.
final
priority → Input<int>
An integer indicating the priority of a rule in the list. The priority must be a positive value between 1 and 2147482647. The priority values from 2147482648 to 2147483647 (1000) are reserved for system default network policy rules. Rules are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority.
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
region → Input<String?>?
The location of this resource.
final
ruleName → Input<String?>?
An optional name for the rule. This field is not a unique identifier and can be updated.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetSecureTags → Input<List<RegionNetworkPolicyTrafficClassificationRuleTargetSecureTag>?>?
A list of secure tags that controls which instances the traffic classification rule applies to. If targetSecureTag are specified, then the traffic classification rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the targetSecureTag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256. Structure is documented below.
final
targetServiceAccounts → Input<List<String>?>?
A list of service accounts indicating the sets of instances that are applied with this rule.
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