virtualmachine

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirtualMachineRequest

type VirtualMachineRequest struct {
	Prefix          string
	ComponentID     string
	ResourceGroup   *resources.ResourceGroup
	NetworkInteface *network.NetworkInterface
	VMSize          string
	Publisher       string
	Offer           string
	Sku             string
	SpotPrice       *float64
	// community galary image ID
	ImageID string
	// Windows required
	AdminUsername string
	// Linux required
	PrivateKey  *tls.PrivateKey
	AdminPasswd *random.RandomPassword
	// Linux optional
	Userdata string
	Location string
}

func (*VirtualMachineRequest) Create

Create virtual machine based on request + export to context adminusername and adminuserpassword

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL