mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-09-27 21:46:01 +00:00
Merge pull request #125 from V-Paranoiaque/feature/mbps
Add parameters to the disk to set read/write limits
This commit is contained in:
commit
7adcc1b554
@ -248,6 +248,36 @@ func resourceVmQemu() *schema.Resource {
|
|||||||
Optional: true,
|
Optional: true,
|
||||||
Default: false,
|
Default: false,
|
||||||
},
|
},
|
||||||
|
//Maximum r/w speed in megabytes per second
|
||||||
|
"mbps": &schema.Schema{
|
||||||
|
Type: schema.TypeInt,
|
||||||
|
Optional: true,
|
||||||
|
Default: 0,
|
||||||
|
},
|
||||||
|
//Maximum read speed in megabytes per second
|
||||||
|
"mbps_rd": &schema.Schema{
|
||||||
|
Type: schema.TypeInt,
|
||||||
|
Optional: true,
|
||||||
|
Default: 0,
|
||||||
|
},
|
||||||
|
//Maximum unthrottled read pool in megabytes per second
|
||||||
|
"mbps_rd_max": &schema.Schema{
|
||||||
|
Type: schema.TypeInt,
|
||||||
|
Optional: true,
|
||||||
|
Default: 0,
|
||||||
|
},
|
||||||
|
//Maximum write speed in megabytes per second
|
||||||
|
"mbps_wr": &schema.Schema{
|
||||||
|
Type: schema.TypeInt,
|
||||||
|
Optional: true,
|
||||||
|
Default: 0,
|
||||||
|
},
|
||||||
|
//Maximum unthrottled write pool in megabytes per second
|
||||||
|
"mbps_wr_max": &schema.Schema{
|
||||||
|
Type: schema.TypeInt,
|
||||||
|
Optional: true,
|
||||||
|
Default: 0,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user