Skip to content

Commit 870546e

Browse files
author
greyworld
committed
feat(workspace): update desktop resource for batch modify volume QOS
1 parent 5d5ea4b commit 870546e

File tree

2 files changed

+256
-99
lines changed

2 files changed

+256
-99
lines changed

docs/resources/workspace_desktop.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ The `root_volume` and `data_volume` block supports:
154154
The valid values are as follows:
155155
+ **SAS**: High I/O disk type.
156156
+ **SSD**: Ultra-high I/O disk type.
157+
+ **GPSSD**: General purpose SSD disk type.
158+
+ **GPSSD2**: General purpose SSD V2 disk type.
157159

158160
-> Updates are not supported for this parameter. Changing this will not create a new resource, but will throw an
159161
error.
@@ -162,6 +164,15 @@ The `root_volume` and `data_volume` block supports:
162164
+ For root volume, the valid value is range from `80` to `1,020`.
163165
+ For data volume, the valid value is range from `10` to `8,200`.
164166

167+
* `iops` - (Optional, Int) Specifies the IOPS of the volume, which is the number of read and write
168+
operations per second. This parameter is only valid for GPSSD2 type volumes.
169+
170+
* `throughput` - (Optional, Int) Specifies the throughput of the volume, which is the amount of data
171+
successfully transmitted per second (read and write data), in MiB/s. This parameter is only valid
172+
for GPSSD2 type volumes.
173+
174+
* `kms_id` - (Optional, String) Specifies the KMS key ID used to encrypt the volume.
175+
165176
<a name="desktop_nic"></a>
166177
The `nic` block supports:
167178

@@ -192,6 +203,13 @@ The `root_volume` and `data_volume` block supports:
192203

193204
* `created_at` - The time that the volume was created.
194205

206+
* `iops` - The IOPS of the volume, which is the number of read and write operations per second.
207+
208+
* `throughput` - The throughput of the volume, which is the amount of data successfully transmitted
209+
per second (read and write data), in MiB/s.
210+
211+
* `kms_id` - The KMS key ID used to encrypt the volume.
212+
195213
## Timeouts
196214

197215
This resource provides the following timeouts configuration options:

0 commit comments

Comments
 (0)