28 lines
962 B
Go
28 lines
962 B
Go
|
/*
|
||
|
* HyperOne API
|
||
|
*
|
||
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||
|
*
|
||
|
* API version: 0.0.2
|
||
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
||
|
*/
|
||
|
|
||
|
package openapi
|
||
|
|
||
|
type VmCreate struct {
|
||
|
Name string `json:"name,omitempty"`
|
||
|
Image string `json:"image,omitempty"`
|
||
|
Iso string `json:"iso,omitempty"`
|
||
|
Service string `json:"service"`
|
||
|
Username string `json:"username,omitempty"`
|
||
|
Password VmCreatePassword `json:"password,omitempty"`
|
||
|
// - user credential (by id or name) - project credential (by id or name) - raw openssh public key (starting with `ssh-rsa `)
|
||
|
SshKeys []string `json:"sshKeys,omitempty"`
|
||
|
UserMetadata string `json:"userMetadata,omitempty"`
|
||
|
Disk []VmCreateDisk `json:"disk,omitempty"`
|
||
|
Netadp []VmCreateNetadp `json:"netadp,omitempty"`
|
||
|
Boot bool `json:"boot,omitempty"`
|
||
|
Cloud string `json:"cloud,omitempty"`
|
||
|
Tag map[string]interface{} `json:"tag,omitempty"`
|
||
|
}
|