CmdID

CmdID / az / az containerapp

az containerapp sessionpool

Commands to manage session pools. Azure CLI extensions reference

5 commands 24 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Commands

5, each with its page

Options

24 in the Azure CLI extensions reference
--argsA list of container startup command argument(s).
--commandA list of supported commands on the container that will executed during startup.
--container-nameName of the container.
--cooldown-periodPeriod (in seconds), after which the session will be deleted, this is only applicable for lifecycle type 'Timed', default=300
--cpuRequired CPU in cores from 0.25 - 2.0, e.g. 0.5
--env-varsA list of environment variable(s) for the container.
--environmentName or resource ID of the container app's environment.
--image, -iContainer image, e.g. publisher/image-name:tag.
--max-alive-periodPeriod (in seconds), before the session be deleted if its container was not exited earlier, this is only applicable for lifecycle type 'OnContainerExit', default=3600
--max-sessionsMax count of sessions can be run at the same time.
--memoryRequired memory from 0.5 - 4.0 ending with "Gi", e.g. 1.0Gi
--mi-system-assignedBoolean indicating whether to assign system-assigned identity.
--mi-user-assignedSpace-separated user identities to be assigned.
--name, -nThe Session Pool name.
--network-statusEgress is enabled for the Sessions or not.
--probe-yamlPath to a .yaml file with the configuration of the container probes.
--ready-sessionsThe number of sessions that will be ready in the session pool all the time.
--registry-identityThe managed identity with which to authenticate to the Azure Container Registry (instead of username/password).
--registry-passwordThe password to log in to container registry.
--registry-serverThe container registry server hostname, e.g. myregistry.azurecr.io.
--registry-usernameThe username to log in to container registry.
--resource-group, -gName of resource group.
--secrets, -sA list of secret(s) for the session pool.
--target-portThe session port used for ingress traffic.