@@ -89,18 +89,20 @@ export interface NetworkPolicyCreateParameters {
8989 name : string ;
9090
9191 /**
92- * If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults to false.
92+ * (Optional) If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults
93+ * to false.
9394 */
9495 allow_all ?: boolean | null ;
9596
9697 /**
97- * If true, allows traffic between the account's own devboxes via tunnels. Defaults
98- * to false.
98+ * (Optional) If true, allows traffic between the account's own devboxes via
99+ * tunnels. Defaults to false. If allow_all is true, this is automatically set to
100+ * true.
99101 */
100102 allow_devbox_to_devbox ?: boolean | null ;
101103
102104 /**
103- * DNS-based allow list with wildcard support. Examples: ['github.com',
105+ * (Optional) DNS-based allow list with wildcard support. Examples: ['github.com',
104106 * '*.npmjs.org'].
105107 */
106108 allowed_hostnames ?: Array < string > | null ;
@@ -231,18 +233,20 @@ export interface NetworkPolicyCreateParams {
231233 name : string ;
232234
233235 /**
234- * If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults to false.
236+ * (Optional) If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults
237+ * to false.
235238 */
236239 allow_all ?: boolean | null ;
237240
238241 /**
239- * If true, allows traffic between the account's own devboxes via tunnels. Defaults
240- * to false.
242+ * (Optional) If true, allows traffic between the account's own devboxes via
243+ * tunnels. Defaults to false. If allow_all is true, this is automatically set to
244+ * true.
241245 */
242246 allow_devbox_to_devbox ?: boolean | null ;
243247
244248 /**
245- * DNS-based allow list with wildcard support. Examples: ['github.com',
249+ * (Optional) DNS-based allow list with wildcard support. Examples: ['github.com',
246250 * '*.npmjs.org'].
247251 */
248252 allowed_hostnames ?: Array < string > | null ;
0 commit comments