pcm-openstack/internal/pkg/structs/server.go

21 lines
444 B
Go

package structs
type CreateServerReq struct {
Platform string `json:"platform,omitempty"`
CrServer CrServer `json:"crServer,omitempty"`
}
type CrServer struct {
Server Server `json:"server,omitempty"`
}
type Server struct {
flavorRef string `json:"flavorRef,omitempty"`
name string `json:"name,omitempty"`
networks []Networks `json:"networks,omitempty"`
}
type Networks struct {
uuid string `json:"uuid,omitempty"`
}