Skip to content

Commit

Permalink
Update docs to reflect added fields
Browse files Browse the repository at this point in the history
  • Loading branch information
89Q12 committed Oct 24, 2024
1 parent 0ec7d96 commit bd941fe
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/resources/virtual_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ resource "anxcloud_virtual_server" "example" {
# Set network interface
network {
vlan_id = anxcloud_vlan.example.id
ips = [anxcloud_ip_address.v4.id, anxcloud_ip_address.v6.id]
nic_type = "virtio"
vlan_id = anxcloud_vlan.example.id
ips = [anxcloud_ip_address.v4.id, anxcloud_ip_address.v6.id]
nic_type = "virtio"
bandwidth_limit = 1000
}
# Disk 1
Expand Down Expand Up @@ -158,8 +159,8 @@ Required:

Optional:

- `ips` (List of String) Requested list of IPs and IPs identifiers. IPs are ignored when using template_type 'from_scratch'. Defaults to free IPs from IP pool attached to VLAN.

- `bandwidth_limit` (Number) Network interface bandwidth limit in Megabit/s, default: 1000
- `ips` (Set of String) Requested set of IPs and IPs identifiers. IPs are ignored when using template_type 'from_scratch'. Defaults to free IPs from IP pool attached to VLAN.

<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Expand Down Expand Up @@ -220,5 +221,6 @@ Read-Only:
- `mac_address` (String) MAC address of the NIC.
- `nic` (Number) NIC type number.
- `vlan` (String) VLAN identifier.
- `bandwidth_limit` (Number) Network interface bandwidth limit in Megabit/s, default: 1000


0 comments on commit bd941fe

Please sign in to comment.