service

package
v0.3.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirtualEthernetSwitchManagementService

type VirtualEthernetSwitchManagementService struct {
	*v2.Msvm_VirtualEthernetSwitchManagementService
	// contains filtered or unexported fields
}

func GetVirtualEthernetSwitchManagementService

func GetVirtualEthernetSwitchManagementService(whost *host.WmiHost) (mgmt *VirtualEthernetSwitchManagementService, err error)

GetVirtualEthernetSwitchManagementService gets the VMMS Switch Management Service

func (*VirtualEthernetSwitchManagementService) DeleteVirtualSwitch

func (vsms *VirtualEthernetSwitchManagementService) DeleteVirtualSwitch(vswitch *virtualswitch.VirtualSwitch) error

func (*VirtualEthernetSwitchManagementService) FindVirtualSwitchByName

func (vsms *VirtualEthernetSwitchManagementService) FindVirtualSwitchByName(vmName string) (*virtualswitch.VirtualSwitch, error)

FindVirtualSwitchByName

func (*VirtualEthernetSwitchManagementService) GetVirtualSwitches

GetVirtualSwitches would get all virtual machines

func (*VirtualEthernetSwitchManagementService) WaitForJobCompletion

func (vsms *VirtualEthernetSwitchManagementService) WaitForJobCompletion(result int32, jobType v2.ConcreteJob_JobType) error

Jump to

Keyboard shortcuts

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