Represents the nebius.vpc.v1.SecurityRuleSpec protobuf message.
Represents the nebius.vpc.v1.SecurityRuleSpec protobuf message.
Optional[customReturns a safe value for JSON logs.
Returns a safe value for JSON logs.
Optional[unknownPreserves protobuf fields that this SDK version does not recognize.
Contains the fully qualified protobuf type name.
Access action for the rule. Required. Determines whether matching traffic is allowed or denied.
OptionalmatchIndicating whether the rule matches incoming or outgoing traffic.
Contains the case.
Contains the ingress.
Contains the case.
Contains the egress.
Priority of the rule. Valid range: 0-1000. Optional. If not specified or set to 0, defaults to 500. Rules are evaluated in priority order (lower numbers first) using a first-match algorithm: only the first matching rule takes effect (ALLOW or DENY), and subsequent rules are skipped.
When multiple rules share the same priority, DENY rules are evaluated before ALLOW rules. The final evaluation order is reflected in 'effective_priority' (see SecurityRuleStatus).
Protocol used in the rule. Supported values: ANY, TCP, UDP, ICMP.
Type of the rule (STATEFUL or STATELESS) Default value is STATEFUL
Represents the
nebius.vpc.v1.SecurityRuleSpecprotobuf message.