Skip to content

Commit 0c36e39

Browse files
committed
updating help docs for 'az containerapp sessionpool create' when using a CustomContainer
1 parent ef668ae commit 0c36e39

File tree

1 file changed

+4
-4
lines changed
  • src/containerapp/azext_containerapp

1 file changed

+4
-4
lines changed

src/containerapp/azext_containerapp/_help.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,27 +2113,27 @@
21132113
text: |
21142114
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
21152115
--container-type CustomContainer --environment MyEnvironment \\
2116-
--cpu 0.5 --memory 1Gi --target-port 80 --image MyImage \\
2116+
--cpu 0.5 --memory 1Gi --target-port 80 --image myregistry.azurecr.io/MyImage:Tag \\
21172117
--env-vars GREETING="Hello, world" SECRETENV=secretref:anothersecret \\
21182118
--secrets mysecret=secretvalue1 anothersecret="secret value 2" --location eastasia
21192119
- name: Create or update a Session Pool with container type CustomContainer that from private registry
21202120
text: |
21212121
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
2122-
--container-type CustomContainer --environment MyEnvironment --image MyImage \\
2122+
--container-type CustomContainer --environment MyEnvironment --image myregistry.azurecr.io/MyImage:Tag \\
21232123
--cpu 0.5 --memory 1Gi --target-port 80 --registry-server myregistry.azurecr.io \\
21242124
--registry-username myregistry --registry-password $REGISTRY_PASSWORD \\
21252125
--location eastasia
21262126
- name: Create or update a Session Pool with container type CustomContainer and Managed Identity to authenticate Azure container registry
21272127
text: |
21282128
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
2129-
--container-type CustomContainer --environment MyEnvironment --image MyImage \\
2129+
--container-type CustomContainer --environment MyEnvironment --image myregistry.azurecr.io/MyImage:Tag \\
21302130
--cpu 0.5 --memory 1Gi --target-port 80 --registry-server myregistry.azurecr.io \\
21312131
--registry-identity MyUserIdentityResourceId \\
21322132
--location eastasia
21332133
- name: Create or update a Session Pool with container type CustomContainer with system assigned and user assigned identity.
21342134
text: |
21352135
az containerapp sessionpool create -n mysessionpool -g MyResourceGroup \\
2136-
--container-type CustomContainer --environment MyEnvironment --image MyImage \\
2136+
--container-type CustomContainer --environment MyEnvironment --image myregistry.azurecr.io/MyImage:Tag \\
21372137
--cpu 0.5 --memory 1Gi --target-port 80 \\
21382138
--mi-system-assigned --mi-user-assigned MyUserIdentityResourceId \\
21392139
--location eastasia

0 commit comments

Comments
 (0)