SDK reference / Models / Network

FirewallRuleMergePatchUpdateReplaceOnly

Kind: class

Namespace: Egulu.Sdk.Models.Network

One rule inside a FirewallPolicy (ADR-0601: deny always wins over allow regardless of order).

Properties

NameTypeJSON nameDescription
ActionModels.Network.FirewallAction?actionRule verdict (ALLOW or DENY; DENY always wins over ALLOW per ADR-0601).
Descriptionstring?descriptionOptional human-readable description.
DestinationCidrsList<string>?destinationCidrsDestination IPv4/IPv6 CIDR blocks matched by the rule.
DestinationTagsList<string>?destinationTagsDestination workload tags matched by the rule.
DirectionModels.Network.FirewallDirection?directionTraffic direction (INGRESS or EGRESS).
Loggedbool?loggedWhether matching packets emit a flow log record.
Portsstring?portsOptional port or port range (for example "443", "8000-8080", or "*").
ProtocolModels.Network.FirewallProtocol?protocolIP protocol (TCP, UDP, ICMP, or ALL).
RuleIdstring?ruleIdStable identifier for the rule within the policy.
SourceCidrsList<string>?sourceCidrsSource IPv4/IPv6 CIDR blocks matched by the rule.
SourceTagsList<string>?sourceTagsSource workload tags matched by the rule.