--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "virtfusion_server_power_action Resource - virtfusion" subcategory: "" description: |- Performs a power action on a VirtFusion server. This is a trigger-style resource — the action is executed on create and can be re-triggered by changing the triggers attribute. --- # virtfusion_server_power_action (Resource) Performs a power action on a VirtFusion server. This is a trigger-style resource — the action is executed on create and can be re-triggered by changing the `triggers` attribute. ## Schema ### Required - `action` (String) The power action to perform. Must be one of: `boot`, `shutdown`, `restart`, `poweroff`. - `server_id` (Number) The ID of the server to perform the power action on. ### Optional - `triggers` (Map of String) A map of arbitrary strings that, when changed, will cause the power action to be re-executed. Works like `triggers` in `terraform_data`. ### Read-Only - `id` (String) The identifier for this power action.