code: func (v VirtualMachine) EditDevice(ctx context.Context, device ...types.BaseVirtualDevice) error {
  	return v.configureDevice(ctx, types.VirtualDeviceConfigSpecOperationEdit, types.VirtualDeviceConfigSpecFileOperationReplace, device...)
  }
docs: // EditDevice edits the given (existing) devices on the VirtualMachine