Begin work

This commit is contained in:
Andrew Murray
2023-10-26 00:06:40 -04:00
parent a3a16f46fa
commit c11122bc62
4 changed files with 515 additions and 5 deletions

View File

@@ -0,0 +1,76 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "virtfusion_server Data Source - terraform-provider-virtfusion"
subcategory: ""
description: |-
The Virtfusion Server data source allows access to the details of a server. This data source can be used to read information about an existing server.
---
# virtfusion_server (Data Source)
The Virtfusion Server data source allows access to the details of a server. This data source can be used to read information about an existing server.
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `id` (Number) Server ID
### Read-Only
- `build_failed` (Boolean) Build failed
- `built` (String) Built
- `commission_status` (Number) Commission status
- `config_level` (Number) Config level
- `created` (String) Created
- `delete_level` (Number) Delete level
- `hostname` (String) Server hostname
- `hypervisor_id` (Number) Hypervisor ID
- `migrate_level` (Number) Migrate level
- `name` (String) Server name
- `network` (Attributes) Network interfaces (see [below for nested schema](#nestedatt--network))
- `owner_id` (Number) Owner ID
- `primary_network_dhcp4` (Boolean) Primary network DHCP4
- `primary_network_dhcp6` (Boolean) Primary network DHCP6
- `protected` (Boolean) Protected
- `rebuild` (Boolean) Rebuild
- `state` (String) Server state
- `suspended` (Boolean) Suspended
- `updated` (String) Updated
- `uuid` (String) Server UUID
<a id="nestedatt--network"></a>
### Nested Schema for `network`
Read-Only:
- `interfaces` (Attributes) Network interfaces (see [below for nested schema](#nestedatt--network--interfaces))
<a id="nestedatt--network--interfaces"></a>
### Nested Schema for `network.interfaces`
Read-Only:
- `enabled` (Boolean) Enabled
- `ipv4` (Attributes) IPv4 (see [below for nested schema](#nestedatt--network--interfaces--ipv4))
- `mac` (String) MAC
- `name` (String) Name
- `type` (String) Type
<a id="nestedatt--network--interfaces--ipv4"></a>
### Nested Schema for `network.interfaces.ipv4`
Read-Only:
- `address` (String) Address
- `enabled` (Boolean) Enabled
- `gateway` (String) Gateway
- `id` (Number) ID
- `mac` (String) MAC
- `netmask` (String) Netmask
- `rdns` (String) RDNS
- `resolver_one` (String) Resolver one
- `resolver_two` (String) Resolver two