Skip to content

Commit beeaed2

Browse files
committed
updates the example
1 parent bc51307 commit beeaed2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/postgresql/flexible-server/how-to-perform-major-version-upgrade-cli.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,20 @@ You can run the following command to perform major version upgrade on an existin
4949
```azurecli
5050
az postgres flexible-server upgrade --version {16, 15, 14, 13, 12}
5151
[--ids]
52-
[--name]
53-
[--resource-group]
52+
[--name] [-n]
53+
[--resource-group] [-g]
5454
[--subscription]
55-
[--yes]
55+
[--version] [-v]
56+
[--yes] [-y]
57+
5658
```
5759

5860
### Example
5961

6062
**Upgrade server 'testsvr' to PostgreSQL major version 16**
6163

6264
```azurecli
63-
az postgres flexible-server upgrade -g testgroup -n testsvr -v 16
65+
az postgres flexible-server upgrade -g testgroup -n testsvr -v 16 -y
6466
6567
```
6668

0 commit comments

Comments
 (0)