NSX-T Data Center REST API
Update the upgrade unit group
Update the specified upgrade unit group. Removal of upgrade units from thegroup using this is not allowed. An error will be returned in that case.
Request:
Method:
PUT
URI Path(s):
/api/v1/upgrade/upgrade-unit-groups/{group-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
UpgradeUnitGroup+
Example Request:
{ "id": "d00d6a39-5ff2-4ddc-a63f-672b4e9ecc5", "display_name": "esx55HostsGroup", "type": "HOST", "parallel": "true", "enabled": "false", "upgrade_units": [ { "id": "a95be8d6-4a76-46fe-9c9c-341e89973da7", }, { "id": "1f64e9f4-eeb3-4ebd-af78-e08757e593cf", } ], "extended_configuration": [ { "key": "upgrade_mode", "value": "maintenance_mode" } ] }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
UpgradeUnitGroup+