Versions in this module Expand all Collapse all v1 v1.0.2 Jul 30, 2023 v1.0.1 Jul 25, 2023 Changes in this version + func New(clientConfig *ClientConfig) (*api.Provider, error) + type ClientConfig struct + WinRmClient winrm_helper.Client + func (c *ClientConfig) CreateOrUpdateVhd(ctx context.Context, path string, source string, sourceVm string, ...) (err error) + func (c *ClientConfig) CreateOrUpdateVmDvdDrives(ctx context.Context, vmName string, dvdDrives []api.VmDvdDrive) (err error) + func (c *ClientConfig) CreateOrUpdateVmFirmware(ctx context.Context, vmName string, bootOrders []api.Gen2BootOrder, ...) (err error) + func (c *ClientConfig) CreateOrUpdateVmFirmwares(ctx context.Context, vmName string, vmFirmwares []api.VmFirmware) (err error) + func (c *ClientConfig) CreateOrUpdateVmHardDiskDrives(ctx context.Context, vmName string, hardDiskDrives []api.VmHardDiskDrive) (err error) + func (c *ClientConfig) CreateOrUpdateVmIntegrationServices(ctx context.Context, vmName string, ...) (err error) + func (c *ClientConfig) CreateOrUpdateVmNetworkAdapters(ctx context.Context, vmName string, networkAdapters []api.VmNetworkAdapter) (err error) + func (c *ClientConfig) CreateOrUpdateVmProcessor(ctx context.Context, vmName string, compatibilityForMigrationEnabled bool, ...) (err error) + func (c *ClientConfig) CreateOrUpdateVmProcessors(ctx context.Context, vmName string, vmProcessors []api.VmProcessor) (err error) + func (c *ClientConfig) CreateVMSwitch(ctx context.Context, name string, notes string, allowManagementOS bool, ...) (err error) + func (c *ClientConfig) CreateVm(ctx context.Context, name string, path string, generation int, ...) (err error) + func (c *ClientConfig) CreateVmDvdDrive(ctx context.Context, vmName string, controllerNumber int, ...) (err error) + func (c *ClientConfig) CreateVmHardDiskDrive(ctx context.Context, vmName string, controllerType api.ControllerType, ...) (err error) + func (c *ClientConfig) CreateVmNetworkAdapter(ctx context.Context, vmName string, name string, switchName string, ...) (err error) + func (c *ClientConfig) DeleteVMSwitch(ctx context.Context, name string) (err error) + func (c *ClientConfig) DeleteVhd(ctx context.Context, path string) (err error) + func (c *ClientConfig) DeleteVm(ctx context.Context, name string) (err error) + func (c *ClientConfig) DeleteVmDvdDrive(ctx context.Context, vmName string, controllerNumber int, ...) (err error) + func (c *ClientConfig) DeleteVmHardDiskDrive(ctx context.Context, vmname string, controllerNumber int32, ...) (err error) + func (c *ClientConfig) DeleteVmNetworkAdapter(ctx context.Context, vmName string, index int) (err error) + func (c *ClientConfig) DisableVmIntegrationService(ctx context.Context, vmName string, name string) (err error) + func (c *ClientConfig) EnableVmIntegrationService(ctx context.Context, vmName string, name string) (err error) + func (c *ClientConfig) GetNoVmFirmwares(ctx context.Context) (result []api.VmFirmware) + func (c *ClientConfig) GetVMSwitch(ctx context.Context, name string) (result api.VmSwitch, err error) + func (c *ClientConfig) GetVhd(ctx context.Context, path string) (result api.Vhd, err error) + func (c *ClientConfig) GetVm(ctx context.Context, name string) (result api.Vm, err error) + func (c *ClientConfig) GetVmDvdDrives(ctx context.Context, vmName string) (result []api.VmDvdDrive, err error) + func (c *ClientConfig) GetVmFirmware(ctx context.Context, vmName string) (result api.VmFirmware, err error) + func (c *ClientConfig) GetVmFirmwares(ctx context.Context, vmName string) (result []api.VmFirmware, err error) + func (c *ClientConfig) GetVmHardDiskDrives(ctx context.Context, vmName string) (result []api.VmHardDiskDrive, err error) + func (c *ClientConfig) GetVmIntegrationServices(ctx context.Context, vmName string) (result []api.VmIntegrationService, err error) + func (c *ClientConfig) GetVmNetworkAdapters(ctx context.Context, vmName string, ...) (result []api.VmNetworkAdapter, err error) + func (c *ClientConfig) GetVmProcessor(ctx context.Context, vmName string) (result api.VmProcessor, err error) + func (c *ClientConfig) GetVmProcessors(ctx context.Context, vmName string) (result []api.VmProcessor, err error) + func (c *ClientConfig) GetVmStatus(ctx context.Context, vmName string) (result api.VmStatus, err error) + func (c *ClientConfig) ResizeVhd(ctx context.Context, path string, size uint64) (err error) + func (c *ClientConfig) UpdateVMSwitch(ctx context.Context, switchId string, switchName string, notes string, ...) (err error) + func (c *ClientConfig) UpdateVm(ctx context.Context, name string, ...) (err error) + func (c *ClientConfig) UpdateVmDvdDrive(ctx context.Context, vmName string, controllerNumber int, ...) (err error) + func (c *ClientConfig) UpdateVmHardDiskDrive(ctx context.Context, vmName string, controllerNumber int32, ...) (err error) + func (c *ClientConfig) UpdateVmNetworkAdapter(ctx context.Context, vmName string, index int, name string, switchName string, ...) (err error) + func (c *ClientConfig) UpdateVmStatus(ctx context.Context, vmName string, timeout uint32, pollPeriod uint32, ...) (err error) + func (c *ClientConfig) VMSwitchExists(ctx context.Context, name string) (result api.VmSwitchExists, err error) + func (c *ClientConfig) VhdExists(ctx context.Context, path string) (result api.VhdExists, err error) + func (c *ClientConfig) VmExists(ctx context.Context, name string) (result api.VmExists, err error) + func (c *ClientConfig) WaitForVmNetworkAdaptersIps(ctx context.Context, vmName string, timeout uint32, pollPeriod uint32, ...) (err error)