File tree Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Read-Only:
32
32
- ` cpu_qty ` (Number)
33
33
- ` datacenter ` (String)
34
34
- ` description ` (String)
35
- - ` evc_mode ` (Number )
35
+ - ` evc_mode ` (String )
36
36
- ` id ` (String)
37
37
- ` memory_mb ` (Number)
38
38
- ` name ` (String)
Original file line number Diff line number Diff line change @@ -220,6 +220,12 @@ resource "dcloud_vm_start_order" "vm_start_order" {
220
220
delay_seconds = 20
221
221
vm_uid = dcloud_vm.vm2.id
222
222
}
223
+
224
+ start_positions {
225
+ position = 3
226
+ delay_seconds = 30
227
+ vm_uid = dcloud_vm.vm3.id
228
+ }
223
229
}
224
230
225
231
resource "dcloud_vm_stop_order" "vm_stop_order" {
@@ -235,6 +241,11 @@ resource "dcloud_vm_stop_order" "vm_stop_order" {
235
241
position = 2
236
242
vm_uid = dcloud_vm.vm1.id
237
243
}
244
+
245
+ stop_positions {
246
+ position = 3
247
+ vm_uid = dcloud_vm.vm3.id
248
+ }
238
249
}
239
250
240
251
resource "dcloud_hw_start_order" "hw_start_order" {
Original file line number Diff line number Diff line change @@ -206,11 +206,11 @@ resource "dcloud_vm_start_order" "vm_start_order" {
206
206
vm_uid = dcloud_vm. vm2 . id
207
207
}
208
208
209
- start_positions {
210
- position = 3
211
- delay_seconds = 30
212
- vm_uid = dcloud_vm. vm3 . id
213
- }
209
+ start_positions {
210
+ position = 3
211
+ delay_seconds = 30
212
+ vm_uid = dcloud_vm. vm3 . id
213
+ }
214
214
}
215
215
216
216
resource "dcloud_vm_stop_order" "vm_stop_order" {
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ func dataSourceInventoryVms() *schema.Resource {
66
66
Computed : true ,
67
67
},
68
68
"evc_mode" : {
69
- Type : schema .TypeInt ,
69
+ Type : schema .TypeString ,
70
70
Computed : true ,
71
71
},
72
72
"remote_access_rdp_auto_login" : {
You can’t perform that action at this time.
0 commit comments