add vmid to instance

This commit is contained in:
2026-07-07 16:42:07 +00:00
parent 78e6de32d7
commit 05519694e1
+1
View File
@@ -21,6 +21,7 @@ const VM InstanceType = "VM"
const CT InstanceType = "CT" const CT InstanceType = "CT"
type Instance struct { type Instance struct {
VMID InstanceID `json:"vmid" mapstructure:"vmid"`
Type InstanceType `json:"type" mapstructure:"type"` Type InstanceType `json:"type" mapstructure:"type"`
Name string `json:"name" mapstructure:"name"` Name string `json:"name" mapstructure:"name"`
Proctype string `json:"cpu" mapstructure:"cpu"` Proctype string `json:"cpu" mapstructure:"cpu"`