You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/disk.html.markdown
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ description: |-
10
10
11
11
Provides a Cloud Disk resource.
12
12
13
-
~> **Note** If the disk have attached to the instance, the instance will reboot automatically to make the change take effect when update the `disk_size`.
13
+
~> **Note** If the disk have attached to the instance and reboot_instance_for_resizing is not set to false, the instance will reboot automatically to make the change take effect when update the `disk_size` by default.
14
14
15
15
## Example Usage
16
16
@@ -35,11 +35,12 @@ The following arguments are supported:
35
35
36
36
- - -
37
37
38
-
*`name` - (Optional) The name of disk, should have 6-63 characters and only support Chinese, English, numbers, '-', '_'. If not specified, terraform will auto-generate a name beginning with `tf-disk`.
38
+
*`name` - (Optional) The name of disk, should have 6-63 characters and only support Chinese, English, numbers, '-', '_'. If not specified, terraform will auto-generate a name beginning with `tf-disk`.
39
39
*`disk_type` - (Optional, ForceNew) The type of disk. Possible values are: `data_disk`as cloud disk, `ssd_data_disk` as ssd cloud disk, `rssd_data_disk` as RDMA-SSD cloud disk.(Default: `data_disk`).
40
40
*`charge_type` - (Optional, ForceNew) Charge type of disk. Possible values are: `year` as pay by year, `month` as pay by month, `dynamic` as pay by hour. (Default: `month`).
41
41
*`duration` - (Optional, ForceNew) The duration that you will buy the resource. (Default: `1`). It is not required when `dynamic` (pay by hour), the value is `0` when `month`(pay by month) and the disk will be vaild till the last day of that month.
42
42
*`tag` - (Optional, ForceNew) A tag assigned to VPC, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`).
43
+
*`reboot_instance_for_resizing` - (Optional) Whether the attached instance of the disk will be rebooted automatically to make the change take effect when update the `disk_size`. (Default: `"true"`).
0 commit comments