Skip to content

Commit b5ec4cb

Browse files
changes to match swagger spec
1 parent 74cb5d2 commit b5ec4cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/postgresql/migrate/how-to-migrate-single-to-flexible-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ az postgres flexible-server migration create [--subscription]
106106
|`resource-group` | Resource group of the Flexible Server target. |
107107
|`name` | Name of the Flexible Server target. |
108108
|`migration-name` | Unique identifier to migrations attempted to Flexible Server. This field accepts only alphanumeric characters and does not accept any special characters, except a hyphen (`-`). The name can't start with `-`, and no two migrations to a Flexible Server target can have the same name. |
109-
|`migration-mode` | Default value: Offline. Offline migration involves copying of your source databases at a point in time, to your target server. |
109+
|`migration-mode` | This is an optional parameter. Default value: Offline. Offline migration involves copying of your source databases at a point in time, to your target server. |
110110
|`properties` | Absolute path to a JSON file that has the information about the Single Server source. |
111111

112112
For example:
113113

114114
```azurecli-interactive
115-
az postgres flexible-server migration create --subscription 11111111-1111-1111-1111-111111111111 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --properties "C:\Users\Administrator\Documents\migrationBody.JSON"
115+
az postgres flexible-server migration create --subscription 11111111-1111-1111-1111-111111111111 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --migration-mode offline --properties "C:\Users\Administrator\Documents\migrationBody.JSON"
116116
```
117117

118118
The `migration-name` argument used in the `create` command will be used in other CLI commands, such as `update`, `delete`, and `show.` In all those commands, it uniquely identifies the migration attempt in the corresponding actions.

0 commit comments

Comments
 (0)