Skip to content

Commit dc27838

Browse files
Incorporated all the review comments and fixed the issues.
1 parent 9d66257 commit dc27838

File tree

1 file changed

+34
-36
lines changed

1 file changed

+34
-36
lines changed

articles/container-apps/revisions-manage.md

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Manage revisions in Azure Container Apps
3-
description: Manage revisions in Azure Container Apps.
3+
description: Manage revisions in Azure Container Apps
44
services: container-apps
55
author: craigshoemaker
66
ms.service: container-apps
@@ -12,20 +12,18 @@ ms.author: cshoe
1212

1313
# Manage revisions in Azure Container Apps
1414

15-
Azure Container Apps allows you to manage the versioning of your container app, which supports multiple revisions. With this feature, you can activate and deactivate revisions, and control the amount of [traffic sent to each revision](#traffic-splitting). To learn more about revisions, see [Revisions in Azure Container Apps](revisions.md).
15+
Azure Container Apps allows your container app to support multiple revisions. With this feature, you can activate and deactivate revisions, and control the amount of [traffic sent to each revision](#traffic-splitting). To learn more about revisions, see [Revisions in Azure Container Apps](revisions.md).
1616

1717
A revision is created when you first deploy your application. New revisions are created when you [update](#updating-your-container-app) your application with [revision-scope changes](revisions.md#revision-scope-changes). You can also update your container app based on a specific revision.
1818

19-
This article described the commands to manage your container app's revisions. For more information about Container Apps commands, see [`az containerapp`](/cli/azure/containerapp). For more information about commands to manage revisions, see [`az containerapp revision`](/cli/azure/containerapp/revision).
19+
This article describes the commands to manage your container app's revisions. For more information about Container Apps commands, see [`az containerapp`](/cli/azure/containerapp). For more information about commands to manage revisions, see [`az containerapp revision`](/cli/azure/containerapp/revision).
2020

2121
## Updating your container app
2222

23-
To update a container app, use the `az containerapp update` command. With this command you can modify environment variables, compute resources, scale parameters, and deploy a different image. If your container app update includes [revision-scope changes](revisions.md#revision-scope-changes), a new revision is generated.
23+
To update a container app, use the [`az containerapp update`](/cli/azure/containerapp#az-containerapp-update) command. With this command you can modify environment variables, compute resources, scale parameters, and deploy a different image. If your container app update includes [revision-scope changes](revisions.md#revision-scope-changes), a new revision is generated.
2424

2525
# [Bash](#tab/bash)
2626

27-
You can also use a YAML file to define these and other configuration options and parameters. For more information regarding this command, see [`az containerapp revision copy`](/cli/azure/containerapp#az-containerapp-update).
28-
2927
This example updates the container image. Replace the \<PLACEHOLDERS\> with your values.
3028

3129
```azurecli
@@ -37,7 +35,7 @@ az containerapp update \
3735

3836
# [PowerShell](#tab/powershell)
3937

40-
Replace the \<Placeholders\> with your values.
38+
Replace the \<PLACEHOLDERS\> with your values.
4139

4240
```azurepowershell
4341
$ImageParams = @{
@@ -75,12 +73,12 @@ az containerapp revision list \
7573

7674
# [PowerShell](#tab/powershell)
7775

78-
Replace the \<Placeholders\> with your values.
76+
Replace the \<PLACEHOLDERS\> with your values.
7977

8078
```azurecli
8179
$CmdArgs = @{
82-
ContainerAppName = '<ContainerAppName>'
83-
ResourceGroupName = '<ResourceGroupName>'
80+
ContainerAppName = '<CONTAINER_APP_NAME>'
81+
ResourceGroupName = '<RESOURCE_GROUP_NAME>'
8482
}
8583
8684
Get-AzContainerAppRevision @CmdArgs
@@ -90,7 +88,7 @@ Get-AzContainerAppRevision @CmdArgs
9088

9189
## Revision show
9290

93-
Show details about a specific revision by using `az containerapp revision show`. For more information about this command, see [`az containerapp revision show`](/cli/azure/containerapp/revision#az-containerapp-revision-show).
91+
Show details about a specific revision by using the [`az containerapp revision show`](/cli/azure/containerapp/revision#az-containerapp-revision-show) command.
9492

9593
# [Bash](#tab/bash)
9694

@@ -105,13 +103,13 @@ az containerapp revision show \
105103

106104
# [PowerShell](#tab/powershell)
107105

108-
Replace the \<Placeholders\> with your values.
106+
Replace the \<PLACEHOLDERS\> with your values.
109107

110108
```azurecli
111109
$CmdArgs = @{
112-
ContainerAppName = '<ContainerAppName>'
113-
ResourceGroupName = '<ResourceGroupName>'
114-
RevisionName = '<RevisionName>'
110+
ContainerAppName = '<CONTAINER_APP_NAME>'
111+
ResourceGroupName = '<RESOURCE_GROUP_NAME>'
112+
RevisionName = '<REVISION_NAME>'
115113
}
116114
117115
$RevisionObject = (Get-AzContainerAppRevision @CmdArgs) | Select-Object -Property *
@@ -154,7 +152,7 @@ az containerapp revision copy `
154152

155153
## Revision activate
156154

157-
Activate a revision by using `az containerapp revision activate`. For more information about this command, see [`az containerapp revision activate`](/cli/azure/containerapp/revision#az-containerapp-revision-activate).
155+
Activate a revision by using the [`az containerapp revision activate`](/cli/azure/containerapp/revision#az-containerapp-revision-activate) command.
158156

159157
# [Bash](#tab/bash)
160158

@@ -168,13 +166,13 @@ az containerapp revision activate \
168166

169167
# [PowerShell](#tab/powershell)
170168

171-
Example: (Replace the \<Placeholders\> with your values.)
169+
Example: (Replace the \<PLACEHOLDERS\> with your values.)
172170

173171
```azurepowershell
174172
$CmdArgs = @{
175-
ContainerAppName = '<ContainerAppName>'
176-
ResourceGroupName = '<ResourceGroupName>'
177-
RevisionName = '<RevisionName>'
173+
ContainerAppName = '<CONTAINER_APP_NAME>'
174+
ResourceGroupName = '<RESOURCE_GROUP_NAME>'
175+
RevisionName = '<REVISION_NAME>'
178176
}
179177
180178
Enable-AzContainerAppRevision @CmdArgs
@@ -184,7 +182,7 @@ Enable-AzContainerAppRevision @CmdArgs
184182

185183
## Revision deactivate
186184

187-
Deactivate revisions that are no longer in use with `az containerapp revision deactivate`. Deactivation stops all running replicas of a revision. For more information, see [`az containerapp revision deactivate`](/cli/azure/containerapp/revision#az-containerapp-revision-deactivate).
185+
Deactivate revisions that are no longer in use with the [`az containerapp revision deactivate`](/cli/azure/containerapp/revision#az-containerapp-revision-deactivate) command. Deactivation stops all running replicas of a revision.
188186

189187
# [Bash](#tab/bash)
190188

@@ -198,13 +196,13 @@ az containerapp revision deactivate \
198196

199197
# [PowerShell](#tab/powershell)
200198

201-
Example: (Replace the \<Placeholders\> with your values.)
199+
Example: (Replace the \<PLACEHOLDERS\> with your values.)
202200

203201
```azurepowershell
204202
$CmdArgs = @{
205-
ContainerAppName = '<ContainerAppName>'
206-
ResourceGroupName = '<ResourceGroupName>'
207-
RevisionName = '<RevisionName>'
203+
ContainerAppName = '<CONTAINER_APP_NAME>'
204+
ResourceGroupName = '<RESOURCE_GROUP_NAME>'
205+
RevisionName = '<REVISION_NAME>'
208206
}
209207
210208
Disable-AzContainerAppRevision @CmdArgs
@@ -214,7 +212,7 @@ Disable-AzContainerAppRevision @CmdArgs
214212

215213
## Revision restart
216214

217-
This command restarts a revision. For more information about this command, see [`az containerapp revision restart`](/cli/azure/containerapp/revision#az-containerapp-revision-restart).
215+
The [`az containerapp revision restart`](/cli/azure/containerapp/revision#az-containerapp-revision-restart) command restarts a revision.
218216

219217
When you modify secrets in your container app, you need to restart the active revisions so they can access the secrets.
220218

@@ -230,13 +228,13 @@ az containerapp revision restart \
230228

231229
# [PowerShell](#tab/powershell)
232230

233-
Example: (Replace the \<Placeholders\> with your values.)
231+
Example: (Replace the \<PLACEHOLDERS\> with your values.)
234232

235233
```azurepowershell
236234
$CmdArgs = @{
237-
ContainerAppName = '<ContainerAppName>'
238-
ResourceGroupName = '<ResourceGroupName>'
239-
RevisionName = '<RevisionName>'
235+
ContainerAppName = '<CONTAINER_APP_NAME>'
236+
ResourceGroupName = '<RESOURCE_GROUP_NAME>'
237+
RevisionName = '<REVISION_NAME>'
240238
}
241239
242240
Restart-AzContainerAppRevision @CmdArgs
@@ -252,7 +250,7 @@ The default setting is *single revision mode*. For more information about this c
252250

253251
The mode values are `single` or `multiple`. Changing the revision mode doesn't create a new revision.
254252

255-
Example: (Replace the \<placeholders\> with your values.)
253+
Example: (Replace the \<PLACEHOLDERS\> with your values.)
256254

257255
# [Bash](#tab/bash)
258256

@@ -267,14 +265,14 @@ az containerapp revision set-mode \
267265

268266
# [PowerShell](#tab/powershell)
269267

270-
Example: (Replace the \<Placeholders\> with your values.)
268+
Example: (Replace the \<PLACEHOLDERS\> with your values.)
271269

272270
```azurecli
273271
$CmdArgs = @{
274-
Name = '<ContainerAppName>'
275-
ResourceGroupName = '<ResourceGroupName>'
276-
Location = '<Location>'
277-
ConfigurationActiveRevisionMode = '<RevisionMode>'
272+
Name = '<CONTAINER_APP_NAME>'
273+
ResourceGroupName = '<RESOURCE_GROUP_NAME>'
274+
Location = '<LOCATION>'
275+
ConfigurationActiveRevisionMode = '<REVISION_MODE>'
278276
}
279277
280278
Update-AzContainerApp @CmdArgs

0 commit comments

Comments
 (0)