packer-cn/vendor/github.com/hyperonecom/h1-client-go/model_vm_create.go

28 lines
962 B
Go
Raw Normal View History

2019-02-08 05:15:45 -05:00
/*
* 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"`
}