vinfra location rename
Change the name of the location of the specified failure domain and identified by ID:
usage: vinfra location rename --fd <fd> --id <location-id> --name <location-name>
--fd <fd>
- Failure domain ID.
--id <location-id>
- ID of the location to rename.
--name <location-name>
- The new location name.
Example:
# vinfra location rename --fd 3 --id 2 --name row_renamed Operation successful.
This command renames the location 2
to row_renamed
.
Task outcome:
# vinfra location list --fd 3 +----+-------------+--------+----------+ | id | name | parent | children | +----+-------------+--------+----------+ | 0 | Default row | 0 | - 0 | | 2 | row_renamed | 1 | [] | +----+-------------+--------+----------+