Skip to content
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/containerapp/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ upcoming
* 'az containerapp env premium-ingress': Deprecate `--min-replicas` and `--max-replicas` parameters, use workload profile scale instead.
* 'az containerapp sessionpool create/update': Support `--probe-yaml`
* 'az containerapp session stop': Support stop session for custom container sessions
* 'az containerapp sessionpool create': Add `Shell` and `GpuBase` container types

1.2.0b3
++++++
Expand Down
8 changes: 8 additions & 0 deletions src/containerapp/azext_containerapp/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -1967,6 +1967,14 @@
text: |
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
--location eastasia
- name: Create or update a Session Pool with container type Shell default settings.
text: |
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
--container-type Shell --location westus3
- name: Create or update a Session Pool with container type GpuBase default settings.
text: |
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
--container-type GpuBase --location westus3
- name: Create or update a Session Pool with container type PythonLTS, with max concurrent sessions is 30, ready session instances 20.
text: |
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
Expand Down
2 changes: 1 addition & 1 deletion src/containerapp/azext_containerapp/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def load_arguments(self, _):
c.argument('network_status', arg_type=get_enum_type(["EgressEnabled", "EgressDisabled"]), help="Egress is enabled for the Sessions or not.")

with self.argument_context('containerapp sessionpool create', arg_group='Configuration') as c:
c.argument('container_type', arg_type=get_enum_type(["CustomContainer", "PythonLTS", "NodeLTS"]), help="The pool type of the Session Pool, default='PythonLTS'")
c.argument('container_type', arg_type=get_enum_type(["CustomContainer", "PythonLTS", "NodeLTS", "Shell", "GpuBase"]), help="The pool type of the Session Pool, default='PythonLTS'")
c.argument('lifecycle_type', arg_type=get_enum_type(["Timed", "OnContainerExit"]), help="The lifecycle type of the Session Pool", default='Timed')

with self.argument_context('containerapp sessionpool update', arg_group='Configuration') as c:
Expand Down
Loading
Loading