RegionNetworkPolicyTrafficClassificationRuleState class
Input properties used for looking up and filtering RegionNetworkPolicyTrafficClassificationRule resources.
Constructors
-
RegionNetworkPolicyTrafficClassificationRuleState({Input<
RegionNetworkPolicyTrafficClassificationRuleAction?> ? action, Input<String?> ? creationTimestamp, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<bool?> ? disabled, Input<String?> ? kind, Input<RegionNetworkPolicyTrafficClassificationRuleMatch?> ? match, Input<String?> ? networkPolicy, Input<int?> ? priority, Input<String?> ? project, Input<String?> ? region, Input<String?> ? ruleName, Input<int?> ? ruleTupleCount, Input<List< ? targetSecureTags, Input<RegionNetworkPolicyTrafficClassificationRuleTargetSecureTag> ?>List< ? targetServiceAccounts})String> ?> -
Creates a new RegionNetworkPolicyTrafficClassificationRuleState.
actionThe Action to perform when the client connection triggers the rule.creationTimestampCreation timestamp in RFC3339 text format.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description for this resource.disabledDenotes whether the network policy rule is disabled.kindType of the resource. Alwayscompute#networkPolicyTrafficClassificationRule for network policy traffic classification rulesmatchA match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.networkPolicyThe firewall policy of the resource.priorityAn integer indicating the priority of a rule in the list. The priority must be a positive value between 1 and 2147482647.projectThe ID of the project in which the resource belongs.regionThe location of this resource.ruleNameAn optional name for the rule. This field is not a unique identifier and can be updated.ruleTupleCountCalculation of the complexity of a single network policy rule.targetSecureTagsA list of secure tags that controls which instances the traffic classification rule applies to.targetServiceAccountsA list of service accounts indicating the sets of instances that are applied with this rule.const -
RegionNetworkPolicyTrafficClassificationRuleState.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
-
creationTimestamp
→ Input<
String?> ? -
Creation timestamp in RFC3339 text format.
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
-
kind
→ Input<
String?> ? -
Type of the resource. Alwayscompute#networkPolicyTrafficClassificationRule for network policy traffic classification rules
final
-
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
-
ruleTupleCount
→ Input<
int?> ? -
Calculation of the complexity of a single network policy rule.
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