Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListAllVM ¶
func ListAllVM() (vm []compute.VirtualMachine, err error)
Types ¶
type DisksIn ¶
type SnapshotIn ¶
type SnapshotIn struct { ResourceGroup string SnapshotName string `json:"snapshotname,omitempty"` SourceImageID string `json:"sourceimageid,omitempty"` Location string `json:"location,omitempty"` }
func (SnapshotIn) CreateSnapshot ¶
func (s SnapshotIn) CreateSnapshot() (ss compute.Snapshot, err error)
func (SnapshotIn) DeleteSnapshot ¶
func (s SnapshotIn) DeleteSnapshot() (ar autorest.Response, err error)
func (SnapshotIn) GetSnapshot ¶
func (s SnapshotIn) GetSnapshot() (ss compute.Snapshot, err error)
type VMIn ¶
type VMIn struct { ResourceGroup string VmName string `json:"vmname,omitempty"` NicID string `json:"nicid,omitempty"` UserName string `json:"username,omitempty"` Password string `json:"password,omitempty"` Flavour string `json:"os,omitempty"` SSHPublicKeyPath string `json:"sshkeypath,omitempty"` Location string `json:"location,omitempty"` }
Click to show internal directories.
Click to hide internal directories.