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>
49 lines
1.3 KiB
Markdown
49 lines
1.3 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "virtfusion_packages Data Source - virtfusion"
|
|
subcategory: ""
|
|
description: |-
|
|
Fetches all VirtFusion packages.
|
|
---
|
|
|
|
# virtfusion_packages (Data Source)
|
|
|
|
Fetches all VirtFusion packages.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "virtfusion_packages" "all" {}
|
|
|
|
output "package_names" {
|
|
value = [for p in data.virtfusion_packages.all.packages : p.name]
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Optional
|
|
|
|
- `results` (Number) Maximum number of results to return. Defaults to 300.
|
|
|
|
### Read-Only
|
|
|
|
- `packages` (Attributes List) List of packages. (see [below for nested schema](#nestedatt--packages))
|
|
|
|
<a id="nestedatt--packages"></a>
|
|
### Nested Schema for `packages`
|
|
|
|
Read-Only:
|
|
|
|
- `cpu_cores` (Number) The number of CPU cores in the package.
|
|
- `enabled` (Boolean) Whether the package is enabled.
|
|
- `id` (Number) The package ID.
|
|
- `ipv4` (Number) The number of IPv4 addresses in the package.
|
|
- `memory` (Number) The amount of memory in the package.
|
|
- `name` (String) The package name.
|
|
- `network_speed_inbound` (Number) The inbound network speed in the package.
|
|
- `network_speed_outbound` (Number) The outbound network speed in the package.
|
|
- `storage` (Number) The amount of storage in the package.
|
|
- `traffic` (Number) The traffic limit in the package.
|