You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/sessions-code-interpreter.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,9 +58,9 @@ az containerapp sessionpool create \
58
58
--resource-group <RESOURCE_GROUP> \
59
59
--location westus2 \
60
60
--container-type PythonLTS \
61
-
--max-concurrent-sessions 100 \
61
+
--max-sessions 100 \
62
62
--cooldown-period 300 \
63
-
--egress-enabled false
63
+
--network-status EgressDisabled
64
64
```
65
65
66
66
You can define the following settings when you create a session pool:
@@ -70,7 +70,7 @@ You can define the following settings when you create a session pool:
70
70
|`--container-type`| The type of code interpreter to use. The only supported value is `PythonLTS`. |
71
71
|`--max-concurrent-sessions`| The maximum number of allocated sessions allowed concurrently. The maximum value is `600`. |
72
72
|`--cooldown-period`| The number of allowed idle seconds before termination. The idle period is reset each time the session's API is called. The allowed range is between `300` and `3600`. |
73
-
|`--egress-enabled`| Designates whether outbound network traffic is allowed from the session. The default value is `false`. |
73
+
|`--network-status`| Designates whether outbound network traffic is allowed from the session. Valid values are `EgressDisabled` (default) and `EgressEnabled`. |
74
74
75
75
> [!IMPORTANT]
76
76
> If you enable egress, code running in the session can access the internet. Use caution when the code is untrusted as it can be used to perform malicious activities such as denial-of-service attacks.
0 commit comments