NSX-T Data Center REST API
Create a group
Create a group of migration units.Request:
Method:
POST
URI Path(s):
/api/v1/migration/migration-unit-groups
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
MigrationUnitGroup+
Example Request:
{ "display_name": "esx55Hosts", "type": "HOST", "parallel": "false", "enabled": "true", "migration_units": [ { "id": "a95be8d6-4a76-46fe-9c9c-341e89973da7", }, { "id": "1f64e9f4-eeb3-4ebd-af78-e08757e593cf", } ], "extended_configuration": [ { "key": "disable_vm_migration", "value": "true" } ] }Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
MigrationUnitGroup+