POST /admin/extension/host/{id}/action/disable
- Operation:
- POST /admin/extension/host/{id}/action/disable
- Description:
- Disables a host.
The host could be disabled to prevent vApps from starting up on it. Virtual
machines that are already
running on the host are not affected. To perform maintenance on a host,
migrate all vApps off of the host or
stop all vApps and then disable the host.
If you want to disable a host you should first enable it from this operation:
POST .../api/v1.0/admin/extension/host//action/enable
In the current implementation there is a bug
[http://bugzilla.eng.vmware.com/show_bug.cgi?id=564237 564237],
that this operation actually returns a task, but it is not exposed through the API.
- Since:
- 0.9
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
- Produce media type(s):
- application/vnd.vmware.vcloud.task+xml
- Output type:
- TaskType
- Examples
-