hmc_power_off_lpar
Submit a PowerOff job for a logical partition on IBM HMC. Specify LPAR by name or UUID, optionally force immediate shutdown, and wait for job completion.
Instructions
Submit a PowerOff job for a logical partition.
lpar_name_or_uuid: accepts either a PartitionName or a UUID. immediate=True forces an immediate power off (no graceful OS shutdown). Returns the submitted job. This changes the state of a real partition.
Set wait=True to block until the job reaches a terminal state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| immediate | No | ||
| poll_interval | No | ||
| timeout_seconds | No | ||
| lpar_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |