Skip to content

Commit 13b3b01

Browse files
author
Samuel Chong
committed
update doco for IOPS
1 parent 3f13918 commit 13b3b01

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PROVIDER_NAME = ddcloud
22

3-
VERSION = 2.3.0
3+
VERSION = 2.3.1
44
VERSION_INFO_FILE = ./$(PROVIDER_NAME)/version-info.go
55

66
BIN_DIRECTORY = _bin

docs/resource_types/server.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ resource "ddcloud_server" "myserver" {
3333
size_gb = 10
3434
speed = "STANDARD"
3535
}
36+
37+
disk {
38+
scsi_unit_id = 1
39+
size_gb = 5
40+
speed = "PROVISIONEDIOPS"
41+
iops = 20
42+
}
3643
}
3744
```
3845

@@ -66,7 +73,8 @@ If specified, must be `os`, `customer`, or `auto` (default).
6673
Additionally, if your server has (or is likely to have) multiple storage controllers (i.e. SCSI buses) then you should define one or more [ddcloud\_storage\_controller](storage_controller.md) resources and declare your disks there instead.
6774
* `scsi_unit_id` - (Required) The SCSI Logical Unit Number (LUN) for the disk. Must be unique across the server's disks.
6875
* `size_gb` - (Required) The size (in GB) of the disk. This value can be increased (to expand the disk) but not decreased.
69-
* `speed` - (Required) The disk speed. Usually one of `STANDARD`, `ECONOMY`, or `HIGHPERFORMANCE` (but varies between data centres).
76+
* `speed` - (Required) The disk speed. Usually one of `ECONOMY`, `HIGHPERFORMANCE` or `PROVISIONEDIOPS` (but varies between data centres).
77+
* `iops` - (ONLY Required for disk speed PROVISIONEDIOPS) Specify Only if `PROVISIONEDIOPS` is specified as disk speed
7078
* `networkdomain` - (Required) The Id of the network domain in which the server is deployed.
7179
* `primary_network_adapter` - (Required) The primary network adapter attached to the server
7280
* `vlan` - (Optional) The Id of the VLAN that the primary network adapter is attached to.

docs/resource_types/storage_controller.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ resource "ddcloud_storage_controller "myserver_controller_0" {
4848
size_gb = 500
4949
speed = "ECONOMY"
5050
}
51+
52+
disk {
53+
scsi_unit_id = 2
54+
size_gb = 5
55+
speed = "PROVISIONEDIOPS"
56+
iops = 20
57+
}
5158
}
5259
```
5360

@@ -67,8 +74,8 @@ Default value: `LSI_LOGIC_PARALLEL`.
6774
**Note**: If you list _any_ of the controller's disks here, you must specify _all_ of its disks.
6875
* `scsi_unit_id` - (Required) The SCSI Logical Unit Number (LUN) for the disk. Must be unique across the controller's disks.
6976
* `size_gb` - (Required) The size (in GB) of the disk. This value can be increased (to expand the disk) but not decreased.
70-
* `speed` - (Required) The disk speed. Usually one of `STANDARD`, `ECONOMY`, or `HIGHPERFORMANCE` (but varies between data centres).
71-
77+
* `speed` - (Required) The disk speed. Usually one of `STANDARD`, `ECONOMY`, `HIGHPERFORMANCE` or `PROVISIONEDIOPS` (but varies between data centres).
78+
* `iops` - (ONLY Required for disk speed PROVISIONEDIOPS) Specify Only if `PROVISIONEDIOPS` is specified as disk speed
7279
## Attribute Reference
7380

7481
This resource does not expose any additional attributes.

0 commit comments

Comments
 (0)