vinfra service compute server set

Modify virtual machine parameters:

usage: vinfra service compute server set [--name <name>]
                                         [--description <description>]
                                         [--ha-enabled <ha_enabled>]
                                         [--no-placements | --placement placement]
                                         [--allow-live-resize | --deny-live-resize]
                                         <server>
--name <name>
A new name for the virtual machine
--description <description>
A new description for the virtual machine
--ha-enabled {true,false}
Enable or disable HA for the virtual machine.
--no-placements
Clean up placements from the virtual machine.
--placement placement
Placement name or ID to add the virtual machine to. Specify this option multiple times to add the virtual machine to multiple placements.
--allow-live-resize
Allow online resize for the virtual machine.
--deny-live-resize
Deny online resize for the virtual machine.
<server>
Virtual machine ID or name

Example:

# vinfra service compute server set myvm --description "My new VM" --ha-enabled false
+-------------------+--------------------------------------------+
| Field             | Value                                      |
+-------------------+--------------------------------------------+
| allow_live_resize | False                                      |
| config_drive      |                                            |
| created           | 2019-05-29T11:24:04Z                       |
| description       | My new VM                                  |
| flavor            | disk: 0                                    |
|                   | ephemeral: 0                               |
|                   | extra_specs: {}                            |
|                   | original_name: tiny                        |
|                   | ram: 512                                   |
|                   | swap: 0                                    |
|                   | vcpus: 1                                   |
| ha_enabled        | False                                      |
| host              | node001.vstoragedomain                     |
| id                | 8cd29296-8bee-4efb-828d-0e522d816c6e       |
| key_name          |                                            |
| metadata          | {}                                         |
| name              | myvm                                       |
| networks          | - id: 79b3da71-c6a2-49e8-97f8-9431a065bed7 |
|                   |   ipam_enabled: true                       |
|                   |   ips:                                     |
|                   |   - 192.168.128.100                        |
|                   |   mac_addr: fa:16:3e:d8:42:f6              |
|                   |   name: private                            |
|                   |   spoofing_protection: true                |
| orig_hostname     | node001                                    |
| placements        | []                                         |
| power_state       | RUNNING                                    |
| project_id        | b4267de6fd0c442da99542cd20f5932c           |
| status            | ACTIVE                                     |
| task_state        |                                            |
| updated           | 2019-05-29T11:24:21Z                       |
| user_data         |                                            |
| vm_state          | active                                     |
| volumes           | - delete_on_termination: false             |
|                   |   id: edd3df0a-95f5-4892-9053-2793a3976f94 |
+-------------------+--------------------------------------------+

This command adds a description to the virtual machine myvm and disables HA for it.