Some checks failed
CI / build (push) Failing after 33s
- 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>
43 lines
1.0 KiB
Markdown
43 lines
1.0 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "virtfusion_server Data Source - virtfusion"
|
|
subcategory: ""
|
|
description: |-
|
|
Use this data source to read a single VirtFusion server by ID.
|
|
---
|
|
|
|
# virtfusion_server (Data Source)
|
|
|
|
Use this data source to read a single VirtFusion server by ID.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "virtfusion_server" "example" {
|
|
id = 1
|
|
}
|
|
|
|
output "server_name" {
|
|
value = data.virtfusion_server.example.name
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `id` (Number) The server ID.
|
|
|
|
### Read-Only
|
|
|
|
- `cpu_cores` (Number) The number of CPU cores.
|
|
- `hostname` (String) The server hostname.
|
|
- `hypervisor_id` (Number) The hypervisor ID where the server is hosted.
|
|
- `memory` (Number) The memory size in MB.
|
|
- `name` (String) The server display name.
|
|
- `owner_id` (Number) The owner (user) ID who owns the server.
|
|
- `storage` (Number) The storage size in GB.
|
|
- `suspended` (Boolean) Whether the server is suspended.
|
|
- `uuid` (String) The server UUID.
|