test converting import data to db params
This commit is contained in:
@@ -64,6 +64,21 @@ type CloudEventReceived struct {
|
||||
} `json:"cloudEvent"`
|
||||
}
|
||||
|
||||
type ImportReceived struct {
|
||||
Name string `json:"Name"`
|
||||
Vcenter string `json:"Vcenter"`
|
||||
VmId string `json:"VmId"`
|
||||
InitialRam int `json:"InitialRam"`
|
||||
PowerState int `json:"PowerState"`
|
||||
CreationTime int `json:"CreationTime"`
|
||||
InitialVcpus int `json:"InitialVcpus"`
|
||||
ProvisionedDisk float64 `json:"ProvisionedDisk"`
|
||||
Folder string `json:"Folder"`
|
||||
ResourcePool string `json:"ResourcePool"`
|
||||
Datacenter string `json:"Datacenter"`
|
||||
Cluster string `json:"Cluster"`
|
||||
}
|
||||
|
||||
type ConfigChangesReceived struct {
|
||||
Modified string `json:"modified"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user