Files
terraform-provider-virtfusion/docs/resources/server_power_action.md
Andrew 5b1dd07063
Some checks failed
CI / build (push) Failing after 33s
Regenerate docs, update CHANGELOG for v1.0.0, clean up registry manifest
- Regenerated docs/ via tfplugindocs: 51 files covering all 20 resources
  and 30 data sources with auto-extracted schemas and examples
- Removed stale docs for old resources (build.md, ssh.md)
- CHANGELOG.md: added v1.0.0 entry with full feature list, breaking
  changes, and security notes
- terraform-registry-manifest.json: confirmed protocol_versions ["6.0"]
  is correct for Terraform Plugin Framework

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 02:14:11 -04:00

30 lines
1.1 KiB
Markdown

---
# 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 generated by tfplugindocs -->
## 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.