Regenerate docs, update CHANGELOG for v1.0.0, clean up registry manifest
Some checks failed
CI / build (push) Failing after 33s
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>
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_build Resource - terraform-provider-virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Virtfusion Server Build Resource
|
||||
---
|
||||
|
||||
# virtfusion_build (Resource)
|
||||
|
||||
Virtfusion Server Build Resource
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
resource "virtfusion_build" "node1" {
|
||||
server_id = virtfusion_server.node1.id
|
||||
name = "node1-demo"
|
||||
hostname = "node1.example.com"
|
||||
osid = 1
|
||||
vnc = true
|
||||
ipv6 = true
|
||||
ssh_keys = [virtfusion_ssh.dummy_key.id]
|
||||
email = true
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `name` (String) Server Name
|
||||
- `osid` (Number) Server Operating System ID
|
||||
- `server_id` (Number) Server ID
|
||||
|
||||
### Optional
|
||||
|
||||
- `email` (Boolean) Server Email
|
||||
- `hostname` (String) Server Hostname
|
||||
- `ipv6` (Boolean) Server IPv6
|
||||
- `ssh_keys` (List of Number) Server SSH Keys IDs
|
||||
- `vnc` (Boolean) Server VNC
|
||||
28
docs/resources/ip_block_range.md
Normal file
28
docs/resources/ip_block_range.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_ip_block_range Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Adds an IPv4 address range to a VirtFusion IP block. This is a create-only resource — ranges cannot be deleted via the API.
|
||||
---
|
||||
|
||||
# virtfusion_ip_block_range (Resource)
|
||||
|
||||
Adds an IPv4 address range to a VirtFusion IP block. This is a create-only resource — ranges cannot be deleted via the API.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `end_ip` (String) The ending IP address of the range.
|
||||
- `gateway` (String) The gateway address for the range.
|
||||
- `ip_block_id` (Number) The ID of the IP block to add the range to.
|
||||
- `netmask` (String) The netmask for the range.
|
||||
- `start_ip` (String) The starting IP address of the range.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The identifier of the IP block range.
|
||||
26
docs/resources/self_service_credit.md
Normal file
26
docs/resources/self_service_credit.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_self_service_credit Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages self-service credit in VirtFusion. Deleting this resource cancels the credit.
|
||||
---
|
||||
|
||||
# virtfusion_self_service_credit (Resource)
|
||||
|
||||
Manages self-service credit in VirtFusion. Deleting this resource cancels the credit.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `amount` (Number) The credit amount.
|
||||
- `currency_code` (String) The currency code (e.g. `USD`, `EUR`).
|
||||
- `user_id` (Number) The ID of the user to add credit to.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (Number) The identifier of the credit entry.
|
||||
26
docs/resources/self_service_hourly_group_profile.md
Normal file
26
docs/resources/self_service_hourly_group_profile.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_self_service_hourly_group_profile Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages a self-service hourly group profile assignment in VirtFusion.
|
||||
---
|
||||
|
||||
# virtfusion_self_service_hourly_group_profile (Resource)
|
||||
|
||||
Manages a self-service hourly group profile assignment in VirtFusion.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `group_id` (Number) The ID of the hypervisor group.
|
||||
- `profile_id` (Number) The ID of the hourly profile.
|
||||
- `user_id` (Number) The ID of the user.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The composite identifier of the hourly group profile (userId/groupId/profileId).
|
||||
26
docs/resources/self_service_hourly_resource_pack.md
Normal file
26
docs/resources/self_service_hourly_resource_pack.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_self_service_hourly_resource_pack Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Sets the hourly resource pack for a user and group in VirtFusion self-service. Changing any attribute forces recreation.
|
||||
---
|
||||
|
||||
# virtfusion_self_service_hourly_resource_pack (Resource)
|
||||
|
||||
Sets the hourly resource pack for a user and group in VirtFusion self-service. Changing any attribute forces recreation.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `group_id` (Number) The ID of the group.
|
||||
- `resource_pack_id` (Number) The ID of the resource pack.
|
||||
- `user_id` (Number) The ID of the user.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The composite identifier for this hourly resource pack assignment.
|
||||
29
docs/resources/self_service_pack_servers_action.md
Normal file
29
docs/resources/self_service_pack_servers_action.md
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_self_service_pack_servers_action Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Performs an action on all servers in a self-service resource pack. This is a trigger-style resource — the action is executed on create and can be re-triggered by changing the triggers attribute.
|
||||
---
|
||||
|
||||
# virtfusion_self_service_pack_servers_action (Resource)
|
||||
|
||||
Performs an action on all servers in a self-service resource pack. 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 action to perform on the pack servers. Must be one of: `suspend`, `unsuspend`, `delete`.
|
||||
- `pack_id` (Number) The ID of the resource pack.
|
||||
|
||||
### Optional
|
||||
|
||||
- `triggers` (Map of String) A map of arbitrary strings that, when changed, will cause the action to be re-executed. Works like `triggers` in `terraform_data`.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The identifier for this pack servers action.
|
||||
26
docs/resources/self_service_resource_group_profile.md
Normal file
26
docs/resources/self_service_resource_group_profile.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_self_service_resource_group_profile Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Associates a resource group profile with a user in VirtFusion self-service. Changing any attribute forces recreation of the association.
|
||||
---
|
||||
|
||||
# virtfusion_self_service_resource_group_profile (Resource)
|
||||
|
||||
Associates a resource group profile with a user in VirtFusion self-service. Changing any attribute forces recreation of the association.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `group_id` (Number) The ID of the resource group.
|
||||
- `profile_id` (Number) The ID of the profile.
|
||||
- `user_id` (Number) The ID of the user.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The composite identifier for this resource group profile association.
|
||||
26
docs/resources/self_service_resource_pack.md
Normal file
26
docs/resources/self_service_resource_pack.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_self_service_resource_pack Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages a self-service resource pack in VirtFusion.
|
||||
---
|
||||
|
||||
# virtfusion_self_service_resource_pack (Resource)
|
||||
|
||||
Manages a self-service resource pack in VirtFusion.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `name` (String) The name of the resource pack.
|
||||
- `pack_id` (Number) The ID of the pack.
|
||||
- `user_id` (Number) The ID of the user who owns the resource pack.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (Number) The identifier of the resource pack.
|
||||
@@ -1,14 +1,14 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_server Resource - terraform-provider-virtfusion"
|
||||
page_title: "virtfusion_server Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Virtfusion Server Resource
|
||||
Manages a VirtFusion server.
|
||||
---
|
||||
|
||||
# virtfusion_server (Resource)
|
||||
|
||||
Virtfusion Server Resource
|
||||
Manages a VirtFusion server.
|
||||
|
||||
## Example Usage
|
||||
|
||||
@@ -27,6 +27,10 @@ resource "virtfusion_server" "node1" {
|
||||
storage_profile = 1
|
||||
network_profile = 1
|
||||
}
|
||||
|
||||
output "server_id" {
|
||||
value = virtfusion_server.node1.id
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
@@ -34,22 +38,36 @@ resource "virtfusion_server" "node1" {
|
||||
|
||||
### Required
|
||||
|
||||
- `hypervisor_id` (Number) Hypervisor Group ID
|
||||
- `package_id` (Number) Package ID
|
||||
- `user_id` (Number) User ID
|
||||
- `hypervisor_id` (Number) The hypervisor ID where the server will be created.
|
||||
- `package_id` (Number) The package ID for the server.
|
||||
- `user_id` (Number) The user ID who owns the server.
|
||||
|
||||
### Optional
|
||||
|
||||
- `cores` (Number) How many cores to allocate. Omit to use the default core count from the package.
|
||||
- `inbound_network_speed` (Number) Inbound network speed in kB/s. Omit to use the default inbound network speed from the package.
|
||||
- `ipv4` (Number) IPv4 Addresses to assign. Omit to use the default of 1 IPv4.
|
||||
- `memory` (Number) How much memory to allocate in MB. Omit to use the default memory size from the package.
|
||||
- `network_profile` (Number) Network profile ID. Omit to use the default network profile from the package.
|
||||
- `outbound_network_speed` (Number) Outbound network speed in kB/s. Omit to use the default outbound network speed from the package.
|
||||
- `storage` (Number) Primary storage size in GB. Omit to use the default storage size from the package.
|
||||
- `storage_profile` (Number) Storage profile ID. Omit to use the default storage profile from the package.
|
||||
- `traffic` (Number) How much traffic to allocate in GB. Omit to use the default traffic size from the package. 0=Unlimited
|
||||
- `additional_storage_1` (Number) Additional storage 1 size in GB.
|
||||
- `additional_storage_1_profile` (Number) Additional storage 1 profile ID.
|
||||
- `additional_storage_2` (Number) Additional storage 2 size in GB.
|
||||
- `additional_storage_2_profile` (Number) Additional storage 2 profile ID.
|
||||
- `backup_plan_id` (Number) Backup plan ID. Set to 0 to remove the backup plan.
|
||||
- `cores` (Number) Number of CPU cores override.
|
||||
- `cpu_throttle` (Number) CPU throttle percentage (0-100).
|
||||
- `custom_xml` (String) Custom XML configuration for the server.
|
||||
- `dry_run` (Boolean) If true, validates the request without creating the server.
|
||||
- `inbound_network_speed` (Number) Inbound network speed override in Mbps.
|
||||
- `ipv4` (Number) Number of IPv4 addresses to assign. Defaults to 1.
|
||||
- `memory` (Number) Memory size override in MB.
|
||||
- `name` (String) The server display name.
|
||||
- `network_profile` (Number) Network profile ID.
|
||||
- `outbound_network_speed` (Number) Outbound network speed override in Mbps.
|
||||
- `owner_user_id` (Number) The user ID to transfer ownership to.
|
||||
- `storage` (Number) Storage size override in GB.
|
||||
- `storage_profile` (Number) Storage profile ID.
|
||||
- `suspended` (Boolean) Whether the server is suspended.
|
||||
- `traffic` (Number) Traffic limit override in GB.
|
||||
- `vnc_enabled` (Boolean) Whether VNC is enabled on the server.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (Number) Server ID
|
||||
- `hostname` (String) The server hostname.
|
||||
- `id` (Number) The server ID.
|
||||
- `uuid` (String) The server UUID.
|
||||
|
||||
47
docs/resources/server_build.md
Normal file
47
docs/resources/server_build.md
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_server_build Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Builds a VirtFusion server with an operating system. This is a one-time operation — once a server is built, it stays built.
|
||||
---
|
||||
|
||||
# virtfusion_server_build (Resource)
|
||||
|
||||
Builds a VirtFusion server with an operating system. This is a one-time operation — once a server is built, it stays built.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
resource "virtfusion_server_build" "node1_build" {
|
||||
server_id = virtfusion_server.node1.id
|
||||
name = "my-server"
|
||||
hostname = "my-server.example.com"
|
||||
osid = 1
|
||||
vnc = true
|
||||
ipv6 = false
|
||||
ssh_keys = [virtfusion_ssh_key.mykey.id]
|
||||
email = false
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `name` (String) The name for the server build.
|
||||
- `osid` (Number) The operating system ID to install.
|
||||
- `server_id` (Number) The ID of the server to build.
|
||||
|
||||
### Optional
|
||||
|
||||
- `email` (Boolean) Whether to send a notification email after build.
|
||||
- `hostname` (String) The hostname for the server.
|
||||
- `ipv6` (Boolean) Whether to enable IPv6.
|
||||
- `ssh_keys` (List of Number) List of SSH key IDs to add to the server.
|
||||
- `vnc` (Boolean) Whether to enable VNC access.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The identifier of the server build (same as server_id).
|
||||
40
docs/resources/server_firewall.md
Normal file
40
docs/resources/server_firewall.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_server_firewall Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages a VirtFusion server firewall.
|
||||
---
|
||||
|
||||
# virtfusion_server_firewall (Resource)
|
||||
|
||||
Manages a VirtFusion server firewall.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `server_id` (Number) The ID of the server.
|
||||
|
||||
### Optional
|
||||
|
||||
- `interface_name` (String) The network interface name. Defaults to `eth0`.
|
||||
- `rules` (Attributes List) The firewall rules. (see [below for nested schema](#nestedatt--rules))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) Composite identifier in the format `server_id/interface_name`.
|
||||
|
||||
<a id="nestedatt--rules"></a>
|
||||
### Nested Schema for `rules`
|
||||
|
||||
Required:
|
||||
|
||||
- `action` (String) The action for the rule (e.g. `accept`, `drop`).
|
||||
- `direction` (String) The direction for the rule (e.g. `in`, `out`).
|
||||
- `ip` (String) The IP address or CIDR for the rule.
|
||||
- `port` (String) The port or port range for the rule.
|
||||
- `protocol` (String) The protocol for the rule (e.g. `tcp`, `udp`).
|
||||
28
docs/resources/server_ipv4.md
Normal file
28
docs/resources/server_ipv4.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_server_ipv4 Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Adds IPv4 addresses to a VirtFusion server.
|
||||
---
|
||||
|
||||
# virtfusion_server_ipv4 (Resource)
|
||||
|
||||
Adds IPv4 addresses to a VirtFusion server.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `server_id` (Number) The ID of the server. Changing this forces a new resource to be created.
|
||||
|
||||
### Optional
|
||||
|
||||
- `quantity` (Number) The number of IPv4 addresses to add. Defaults to `1`. Changing this forces a new resource to be created.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) Resource identifier.
|
||||
25
docs/resources/server_network_whitelist.md
Normal file
25
docs/resources/server_network_whitelist.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_server_network_whitelist Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages a VirtFusion server network whitelist entry.
|
||||
---
|
||||
|
||||
# virtfusion_server_network_whitelist (Resource)
|
||||
|
||||
Manages a VirtFusion server network whitelist entry.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `ip` (String) The IP address to whitelist. Changing this forces a new resource to be created.
|
||||
- `server_id` (Number) The ID of the server. Changing this forces a new resource to be created.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) Composite identifier in the format `server_id/ip`.
|
||||
30
docs/resources/server_password_reset.md
Normal file
30
docs/resources/server_password_reset.md
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_server_password_reset Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Resets the password for a VirtFusion server. This is a trigger-style resource — the reset is executed on create and can be re-triggered by changing the triggers attribute.
|
||||
---
|
||||
|
||||
# virtfusion_server_password_reset (Resource)
|
||||
|
||||
Resets the password for a VirtFusion server. This is a trigger-style resource — the reset is executed on create and can be re-triggered by changing the `triggers` attribute.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `server_id` (Number) The ID of the server to reset the password for.
|
||||
- `user` (String) The user to reset the password for. Must be `root` (Linux) or `Administrator` (Windows).
|
||||
|
||||
### Optional
|
||||
|
||||
- `triggers` (Map of String) A map of arbitrary strings that, when changed, will cause the password reset to be re-executed. Works like `triggers` in `terraform_data`.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The identifier for this password reset.
|
||||
- `password` (String, Sensitive) The new password generated by the reset operation.
|
||||
29
docs/resources/server_power_action.md
Normal file
29
docs/resources/server_power_action.md
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
# 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.
|
||||
25
docs/resources/server_traffic_block.md
Normal file
25
docs/resources/server_traffic_block.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_server_traffic_block Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages a traffic block on a VirtFusion server.
|
||||
---
|
||||
|
||||
# virtfusion_server_traffic_block (Resource)
|
||||
|
||||
Manages a traffic block on a VirtFusion server.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `server_id` (Number) The ID of the server to add the traffic block to.
|
||||
- `type` (String) The type of traffic block (e.g. `inbound` or `outbound`).
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (Number) The identifier of the traffic block.
|
||||
@@ -1,39 +0,0 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_ssh Resource - terraform-provider-virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Virtfusion SSH Resource
|
||||
---
|
||||
|
||||
# virtfusion_ssh (Resource)
|
||||
|
||||
Virtfusion SSH Resource
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
resource "virtfusion_ssh" "dummy_key" {
|
||||
# This is what is displayed in the UI on the SSH keys page.
|
||||
name = "dummy_key"
|
||||
|
||||
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCRM5gzj6BpVbTEZ8XX5meQOC9X+znTMCQbXTfdqm9IP3HY2JbqH+yfCBWSsLpXim6WvsYtfkAhrtrkdmaX66Wn1uo6XvARwi/5D1VRTM94vwoitJb0rne4OorpwGIGCpDIi1iRA/ERIbAIQpw/2PJfm7q+fEj9TS+n/MzYOOmwTaKPEJ8+wHwXbjcSNoBQmEPonafbQKQN5PXe5rwnTNAqJWhGPHqF2t7lvZy+m7Sl7X1vUVlw+7iZzOVm9iDXmUInc8A0kz18l/O+4ELhRxxzjmSX5/KkN0GG7wS7CHlq9MS2741MS6p0ZNMgTT/04RfsY5JXoOa1gCeAdnXQST9ylvBd6hXubV95lRM8AXAhEJFHpa0Xn1gHMJ4F0cjjvmBIDx39QztuYsNJPk8veBBQwhOzhnJ3Zh2IYTQD+Mwu5yUrJzUt7ia8X5fhjbrYlfUgdH+siBbvJRzyXwnZdHArher55U4xPCJO4qRrFr72Jn+WGzkcY53oLnW5K3NnPaYViCJD2BgJZU1YF8oA3RyEG+2GS7Ksqs2nXXlZ1c+RXLUXM0pxDrwqvYrE3Ae+O/PtZ0cqpesyjxDfH/R2cj86jjdEi7S8nhgkumHwkoac8LCJnoAeC9S7sxmI99VBHcNwCazx3ZL2UAI3Ik/DQBZXcCPXw9MfY25SyQwEYftMKw== dummy_key"
|
||||
|
||||
# This is the user ID that the key will be associated with.
|
||||
user_id = 1
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `name` (String) Key Name
|
||||
- `public_key` (String) Public Key
|
||||
- `user_id` (Number) User ID
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (Number) SSH Key ID
|
||||
- `public_key_hash` (String) Public Key Hash
|
||||
38
docs/resources/ssh_key.md
Normal file
38
docs/resources/ssh_key.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_ssh_key Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages a VirtFusion SSH key.
|
||||
---
|
||||
|
||||
# virtfusion_ssh_key (Resource)
|
||||
|
||||
Manages a VirtFusion SSH key.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
resource "virtfusion_ssh_key" "mykey" {
|
||||
user_id = 1
|
||||
name = "my-ssh-key"
|
||||
public_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample user@example.com"
|
||||
}
|
||||
|
||||
output "ssh_key_id" {
|
||||
value = virtfusion_ssh_key.mykey.id
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `name` (String) The name of the SSH key.
|
||||
- `public_key` (String) The public key content.
|
||||
- `user_id` (Number) The ID of the user who owns this SSH key.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (Number) The ID of the SSH key.
|
||||
35
docs/resources/user.md
Normal file
35
docs/resources/user.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_user Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages a VirtFusion user.
|
||||
---
|
||||
|
||||
# virtfusion_user (Resource)
|
||||
|
||||
Manages a VirtFusion user.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
resource "virtfusion_user" "customer1" {
|
||||
name = "John Doe"
|
||||
email = "john@example.com"
|
||||
ext_relation_id = "cust-12345"
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `email` (String) The email address of the user.
|
||||
- `ext_relation_id` (String) The external relation ID used to look up the user. Changing this forces a new resource to be created.
|
||||
- `name` (String) The name of the user.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `enabled` (Boolean) Whether the user is enabled.
|
||||
- `id` (Number) The numeric ID of the user.
|
||||
30
docs/resources/user_auth_token.md
Normal file
30
docs/resources/user_auth_token.md
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_user_auth_token Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Generates an authentication token for a VirtFusion user. This is a trigger-style resource — the token is generated on create and can be re-generated by changing the triggers attribute.
|
||||
---
|
||||
|
||||
# virtfusion_user_auth_token (Resource)
|
||||
|
||||
Generates an authentication token for a VirtFusion user. This is a trigger-style resource — the token is generated on create and can be re-generated by changing the `triggers` attribute.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `ext_relation_id` (String) The external relation ID of the user to generate the auth token for.
|
||||
|
||||
### Optional
|
||||
|
||||
- `triggers` (Map of String) A map of arbitrary strings that, when changed, will cause the auth token to be re-generated. Works like `triggers` in `terraform_data`.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The identifier for this auth token generation.
|
||||
- `token` (String, Sensitive) The generated authentication token.
|
||||
- `url` (String, Sensitive) The authentication URL for the generated token.
|
||||
28
docs/resources/user_password_reset.md
Normal file
28
docs/resources/user_password_reset.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_user_password_reset Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Resets the password for a VirtFusion user by external relation ID. This is a trigger-style resource — the reset is executed on create and can be re-triggered by changing the triggers attribute.
|
||||
---
|
||||
|
||||
# virtfusion_user_password_reset (Resource)
|
||||
|
||||
Resets the password for a VirtFusion user by external relation ID. This is a trigger-style resource — the reset is executed on create and can be re-triggered by changing the `triggers` attribute.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `ext_relation_id` (String) The external relation ID of the user to reset the password for.
|
||||
|
||||
### Optional
|
||||
|
||||
- `triggers` (Map of String) A map of arbitrary strings that, when changed, will cause the password reset to be re-executed. Works like `triggers` in `terraform_data`.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The identifier for this password reset.
|
||||
31
docs/resources/user_server_auth_token.md
Normal file
31
docs/resources/user_server_auth_token.md
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "virtfusion_user_server_auth_token Resource - virtfusion"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Generates a server-scoped authentication token for a VirtFusion user. This is a trigger-style resource — the token is generated on create and can be re-generated by changing the triggers attribute.
|
||||
---
|
||||
|
||||
# virtfusion_user_server_auth_token (Resource)
|
||||
|
||||
Generates a server-scoped authentication token for a VirtFusion user. This is a trigger-style resource — the token is generated on create and can be re-generated by changing the `triggers` attribute.
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `ext_relation_id` (String) The external relation ID of the user to generate the server auth token for.
|
||||
- `server_id` (Number) The ID of the server to scope the auth token to.
|
||||
|
||||
### Optional
|
||||
|
||||
- `triggers` (Map of String) A map of arbitrary strings that, when changed, will cause the server auth token to be re-generated. Works like `triggers` in `terraform_data`.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The identifier for this server auth token generation.
|
||||
- `token` (String, Sensitive) The generated server authentication token.
|
||||
- `url` (String, Sensitive) The authentication URL for the generated server token.
|
||||
Reference in New Issue
Block a user