Enter to send·Shift+Enter new line
Firewall()
BaseModel
Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Generates a JSON string representing this model as it would be received from or sent to the API (but with indentation).
Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump
Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json
AllowHTTP is whether outbound plain HTTP is allowed in addition to HTTPS.
AllowedCidrs maps each IPv4 CIDR that workloads may reach to the TCP ports allowed on it.
AllowedDomains are the domains that workloads may reach.