@@ -69,12 +69,14 @@ def create(
6969 name: The human-readable name for the NetworkPolicy. Must be unique within the
7070 account.
7171
72- allow_all: If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults to false.
73-
74- allow_devbox_to_devbox: If true, allows traffic between the account's own devboxes via tunnels. Defaults
72+ allow_all: (Optional) If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults
7573 to false.
7674
77- allowed_hostnames: DNS-based allow list with wildcard support. Examples: ['github.com',
75+ allow_devbox_to_devbox: (Optional) If true, allows traffic between the account's own devboxes via
76+ tunnels. Defaults to false. If allow_all is true, this is automatically set to
77+ true.
78+
79+ allowed_hostnames: (Optional) DNS-based allow list with wildcard support. Examples: ['github.com',
7880 '*.npmjs.org'].
7981
8082 description: Optional description for the NetworkPolicy.
@@ -353,12 +355,14 @@ async def create(
353355 name: The human-readable name for the NetworkPolicy. Must be unique within the
354356 account.
355357
356- allow_all: If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults to false.
357-
358- allow_devbox_to_devbox: If true, allows traffic between the account's own devboxes via tunnels. Defaults
358+ allow_all: (Optional) If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults
359359 to false.
360360
361- allowed_hostnames: DNS-based allow list with wildcard support. Examples: ['github.com',
361+ allow_devbox_to_devbox: (Optional) If true, allows traffic between the account's own devboxes via
362+ tunnels. Defaults to false. If allow_all is true, this is automatically set to
363+ true.
364+
365+ allowed_hostnames: (Optional) DNS-based allow list with wildcard support. Examples: ['github.com',
362366 '*.npmjs.org'].
363367
364368 description: Optional description for the NetworkPolicy.
0 commit comments