From 0c36e39c9f0d625a740bd9fa4b208b0d1c434780 Mon Sep 17 00:00:00 2001 From: Anthony Salemo Date: Mon, 17 Nov 2025 10:05:47 -0500 Subject: [PATCH] updating help docs for 'az containerapp sessionpool create' when using a CustomContainer --- src/containerapp/azext_containerapp/_help.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/containerapp/azext_containerapp/_help.py b/src/containerapp/azext_containerapp/_help.py index b3e0a806bc6..d3220fd25c3 100644 --- a/src/containerapp/azext_containerapp/_help.py +++ b/src/containerapp/azext_containerapp/_help.py @@ -2113,27 +2113,27 @@ text: | az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\ --container-type CustomContainer --environment MyEnvironment \\ - --cpu 0.5 --memory 1Gi --target-port 80 --image MyImage \\ + --cpu 0.5 --memory 1Gi --target-port 80 --image myregistry.azurecr.io/MyImage:Tag \\ --env-vars GREETING="Hello, world" SECRETENV=secretref:anothersecret \\ --secrets mysecret=secretvalue1 anothersecret="secret value 2" --location eastasia - name: Create or update a Session Pool with container type CustomContainer that from private registry text: | az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\ - --container-type CustomContainer --environment MyEnvironment --image MyImage \\ + --container-type CustomContainer --environment MyEnvironment --image myregistry.azurecr.io/MyImage:Tag \\ --cpu 0.5 --memory 1Gi --target-port 80 --registry-server myregistry.azurecr.io \\ --registry-username myregistry --registry-password $REGISTRY_PASSWORD \\ --location eastasia - name: Create or update a Session Pool with container type CustomContainer and Managed Identity to authenticate Azure container registry text: | az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\ - --container-type CustomContainer --environment MyEnvironment --image MyImage \\ + --container-type CustomContainer --environment MyEnvironment --image myregistry.azurecr.io/MyImage:Tag \\ --cpu 0.5 --memory 1Gi --target-port 80 --registry-server myregistry.azurecr.io \\ --registry-identity MyUserIdentityResourceId \\ --location eastasia - name: Create or update a Session Pool with container type CustomContainer with system assigned and user assigned identity. text: | az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\ - --container-type CustomContainer --environment MyEnvironment --image MyImage \\ + --container-type CustomContainer --environment MyEnvironment --image myregistry.azurecr.io/MyImage:Tag \\ --cpu 0.5 --memory 1Gi --target-port 80 \\ --mi-system-assigned --mi-user-assigned MyUserIdentityResourceId \\ --location eastasia