hmc_delete_vios
Delete a VIOS partition permanently by UUID. The VIOS must be powered off (state 'not activated') before deletion. Returns a confirmation string.
Instructions
Delete (destroy) a VIOS partition by UUID.
The VIOS must be powered off first (use hmc_power_off_vios and confirm with hmc_lpars(vios_uuid=..., state_only=True)). This tool refuses to delete a VIOS whose current state is anything other than 'not activated', matching the precondition check pattern used by hmc_remove_memory_pool. This permanently removes the VIOS and its profiles from the HMC — it is irreversible. Confirm the UUID with hmc_vios before calling. Returns a confirmation string (immediate delete — no job to poll).
Raises: HMCError: If the VIOS state is not 'not activated' (HTTP 409).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vios_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |