Search

Class VcTask

Extends com.vmware.vmo.plugin.vi4.model.VimExtensibleManagedObject
A task is used to monitor and potentially cancel long running operations.

Attributes

Name Type Description
availableField VcCustomFieldDef[] List of custom field definitions that are valid for the object's type. The fields are sorted by <a href="VcCustomFieldDef.html#name">VcCustomFieldDef</a>.
id String returns the id of this ManagedObject
info VcTaskInfo Detailed information about this task.
initialProperties String[]
reference VcManagedObjectReference returns the ManagedObjectReference of this ManagedObject
sdkConnection VcSdkConnection returns the parent SdkConnection
TRIGGER_ENDOFTASK_FILTER String
TRIGGER_ENDOFTASK_NAME String
TRIGGER_ENDOFTASK_SYNC String
value VcCustomFieldValue[] List of custom field values. Each value uses a key to associate an instance of a <a href="VcCustomFieldStringValue.html">VcCustomFieldStringValue</a> with a custom field definition.
vimHost VcSdkConnection returns the parent SdkConnection (deprecated)
vimType String returns the type of this ManagedObject

Methods

Name Returns
VcTask(com.vmware.vmo.plugin.vi4.model.IVimObjectFactory , VcManagedObjectReference , String ) constructor
cancelTask() void
createEndOfTaskTrigger(Number timeout) Trigger
createTrigger(Number timeout, String filter, String condition, String filterToSync) Trigger
getCreationDate() Number
getName() String
getSdkId() String
getSdkType() String
setCustomValue(String key, String value) void
setTaskDescription(VcLocalizableMessage description) void
setTaskState(VcTaskInfoState state, Object result, VcMethodFault fault) void
setTaskState(VcTaskInfoState , Object , com.vmware.vim.vi4.MethodFault ) void
updateProgress(Number percentDone) void

Returned by

Method Returns
com.vmware.vmo.plugin.vi4.model.VimManagedEntity.destroy_Task() VcTask
com.vmware.vmo.plugin.vi4.model.VimManagedEntity.rename_Task(String ) VcTask
VcClusterComputeResource.addHost_Task(VcHostConnectSpec spec, boolean asConnected, VcResourcePool resourcePool, String license) VcTask
VcClusterComputeResource.destroy_Task() VcTask
VcClusterComputeResource.moveHostInto_Task(VcHostSystem host, VcResourcePool resourcePool) VcTask
VcClusterComputeResource.moveInto_Task(VcHostSystem[] host) VcTask
VcClusterComputeResource.reconfigureCluster_Task(VcClusterConfigSpec spec, boolean modify) VcTask
VcClusterComputeResource.reconfigureComputeResource_Task(VcComputeResourceConfigSpec spec, boolean modify) VcTask
VcClusterComputeResource.rename_Task(String newName) VcTask
VcClusterComputeResource.stampAllRulesWithUuid_Task() VcTask
VcClusterProfile.checkProfileCompliance_Task(VcManagedEntity[] entity) VcTask
VcComputeResource.destroy_Task() VcTask
VcComputeResource.reconfigureComputeResource_Task(VcComputeResourceConfigSpec spec, boolean modify) VcTask
VcComputeResource.rename_Task(String newName) VcTask
VcDatacenter.destroy_Task() VcTask
VcDatacenter.powerOnMultiVM_Task(VcVirtualMachine[] vm, VcOptionValue[] option) VcTask
VcDatacenter.reconfigureDatacenter_Task(VcDatacenterConfigSpec spec, boolean modify) VcTask
VcDatacenter.rename_Task(String newName) VcTask
VcDatastore.datastoreExitMaintenanceMode_Task() VcTask
VcDatastore.destroy_Task() VcTask
VcDatastore.rename_Task(String newName) VcTask
VcDatastore.updateVirtualMachineFiles_Task(VcDatastoreMountPathDatastorePair[] mountPathDatastoreMapping) VcTask
VcDiagnosticManager.generateLogBundles_Task(boolean includeDefault, VcHostSystem[] host) VcTask
VcDistributedVirtualPortgroup.destroy_Task() VcTask
VcDistributedVirtualPortgroup.DVPortgroupRollback_Task(VcEntityBackupConfig entityBackup) VcTask
VcDistributedVirtualPortgroup.reconfigureDVPortgroup_Task(VcDVPortgroupConfigSpec spec) VcTask
VcDistributedVirtualPortgroup.rename_Task(String newName) VcTask
VcDistributedVirtualSwitch.addDVPortgroup_Task(VcDVPortgroupConfigSpec[] spec) VcTask
VcDistributedVirtualSwitch.createDVPortgroup_Task(VcDVPortgroupConfigSpec spec) VcTask
VcDistributedVirtualSwitch.destroy_Task() VcTask
VcDistributedVirtualSwitch.dvsReconfigureVmVnicNetworkResourcePool_Task(com.vmware.vim.vi4.DvsVmVnicResourcePoolConfigSpec[] ) VcTask
VcDistributedVirtualSwitch.DVSRollback_Task(VcEntityBackupConfig entityBackup) VcTask
VcDistributedVirtualSwitch.mergeDvs_Task(VcDistributedVirtualSwitch dvs) VcTask
VcDistributedVirtualSwitch.moveDVPort_Task(String[] portKey, String destinationPortgroupKey) VcTask
VcDistributedVirtualSwitch.performDvsProductSpecOperation_Task(String operation, VcDistributedVirtualSwitchProductSpec productSpec) VcTask
VcDistributedVirtualSwitch.reconfigureDVPort_Task(VcDVPortConfigSpec[] port) VcTask
VcDistributedVirtualSwitch.reconfigureDvs_Task(VcDVSConfigSpec spec) VcTask
VcDistributedVirtualSwitch.rectifyDvsHost_Task(VcHostSystem[] hosts) VcTask
VcDistributedVirtualSwitch.rename_Task(String newName) VcTask
VcDistributedVirtualSwitch.updateDVSHealthCheckConfig_Task(VcDVSHealthCheckConfig[] healthCheckConfig) VcTask
VcDistributedVirtualSwitchManager.DVSManagerExportEntity_Task(VcSelectionSet[] selectionSet) VcTask
VcDistributedVirtualSwitchManager.DVSManagerImportEntity_Task(VcEntityBackupConfig[] entityBackup, String importType) VcTask
VcDistributedVirtualSwitchManager.rectifyDvsOnHost_Task(VcHostSystem[] hosts) VcTask
VcFileManager.copyDatastoreFile_Task(String sourceName, VcDatacenter sourceDatacenter, String destinationName, VcDatacenter destinationDatacenter, boolean force) VcTask
VcFileManager.deleteDatastoreFile_Task(String name, VcDatacenter datacenter) VcTask
VcFileManager.moveDatastoreFile_Task(String sourceName, VcDatacenter sourceDatacenter, String destinationName, VcDatacenter destinationDatacenter, boolean force) VcTask
VcFolder.addStandaloneHost_Task(VcHostConnectSpec spec, VcComputeResourceConfigSpec compResSpec, boolean addConnected, String license) VcTask
VcFolder.createDVS_Task(VcDVSCreateSpec spec) VcTask
VcFolder.createVM_Task(VcVirtualMachineConfigSpec config, VcResourcePool pool, VcHostSystem host) VcTask
VcFolder.destroy_Task() VcTask
VcFolder.moveIntoFolder_Task(VcManagedEntity[] list) VcTask
VcFolder.moveIntoFolder_Task(com.vmware.vmo.plugin.vi4.model.VimManagedEntity[] ) VcTask
VcFolder.registerVM_Task(String path, String name, boolean asTemplate, VcResourcePool pool, VcHostSystem host) VcTask
VcFolder.rename_Task(String newName) VcTask
VcFolder.unregisterAndDestroy_Task() VcTask
VcHostActiveDirectoryAuthentication.importCertificateForCAM_Task(String certPath, String camServer) VcTask
VcHostActiveDirectoryAuthentication.joinDomain_Task(String domainName, String userName, String password) VcTask
VcHostActiveDirectoryAuthentication.joinDomainWithCAM_Task(String domainName, String camServer) VcTask
VcHostActiveDirectoryAuthentication.leaveCurrentDomain_Task(boolean force) VcTask
VcHostCacheConfigurationManager.configureHostCache_Task(VcHostCacheConfigurationSpec spec) VcTask
VcHostDatastoreBrowser.searchDatastore_Task(String datastorePath, VcHostDatastoreBrowserSearchSpec searchSpec) VcTask
VcHostDatastoreBrowser.searchDatastoreSubFolders_Task(String datastorePath, VcHostDatastoreBrowserSearchSpec searchSpec) VcTask
VcHostDatastoreSystem.removeDatastoreEx_Task(VcDatastore[] ) VcTask
VcHostDatastoreSystem.resignatureUnresolvedVmfsVolume_Task(VcHostUnresolvedVmfsResignatureSpec resolutionSpec) VcTask
VcHostPatchManager.checkHostPatch_Task(String[] metaUrls, String[] bundleUrls, VcHostPatchManagerPatchManagerOperationSpec spec) VcTask
VcHostPatchManager.installHostPatch_Task(VcHostPatchManagerLocator repository, String updateID, boolean force) VcTask
VcHostPatchManager.installHostPatchV2_Task(String[] metaUrls, String[] bundleUrls, String[] vibUrls, VcHostPatchManagerPatchManagerOperationSpec spec) VcTask
VcHostPatchManager.queryHostPatch_Task(VcHostPatchManagerPatchManagerOperationSpec spec) VcTask
VcHostPatchManager.scanHostPatch_Task(VcHostPatchManagerLocator repository, String[] updateID) VcTask
VcHostPatchManager.scanHostPatchV2_Task(String[] metaUrls, String[] bundleUrls, VcHostPatchManagerPatchManagerOperationSpec spec) VcTask
VcHostPatchManager.stageHostPatch_Task(String[] metaUrls, String[] bundleUrls, String[] vibUrls, VcHostPatchManagerPatchManagerOperationSpec spec) VcTask
VcHostPatchManager.uninstallHostPatch_Task(String[] bulletinIds, VcHostPatchManagerPatchManagerOperationSpec spec) VcTask
VcHostProfile.checkProfileCompliance_Task(VcManagedEntity[] entity) VcTask
VcHostProfileManager.applyHostConfig_Task(VcHostSystem host, VcHostConfigSpec configSpec, VcProfileDeferredPolicyOptionParameter[] userInput) VcTask
VcHostProfileManager.checkAnswerFileStatus_Task(VcHostSystem[] host) VcTask
VcHostProfileManager.exportAnswerFile_Task(VcHostSystem host) VcTask
VcHostProfileManager.generateHostProfileTaskList_Task(VcHostConfigSpec configSpec, VcHostSystem host) VcTask
VcHostProfileManager.updateAnswerFile_Task(VcHostSystem host, VcAnswerFileCreateSpec configSpec) VcTask
VcHostStorageSystem.resolveMultipleUnresolvedVmfsVolumesEx_Task(VcHostUnresolvedVmfsResolutionSpec[] resolutionSpec) VcTask
VcHostSystem.destroy_Task() VcTask
VcHostSystem.disconnectHost_Task() VcTask
VcHostSystem.enterMaintenanceMode_Task(Number timeout, boolean evacuatePoweredOffVms, VcHostMaintenanceSpec maintenanceSpec) VcTask
VcHostSystem.exitMaintenanceMode_Task(Number timeout) VcTask
VcHostSystem.powerDownHostToStandBy_Task(Number timeoutSec, boolean evacuatePoweredOffVms) VcTask
VcHostSystem.powerUpHostFromStandBy_Task(Number timeoutSec) VcTask
VcHostSystem.rebootHost_Task(boolean force) VcTask
VcHostSystem.reconfigureHostForDAS_Task() VcTask
VcHostSystem.reconnectHost_Task(VcHostConnectSpec cnxSpec, VcHostSystemReconnectSpec reconnectSpec) VcTask
VcHostSystem.rename_Task(String newName) VcTask
VcHostSystem.shutdownHost_Task(boolean force) VcTask
VcHostVFlashManager.configureVFlashResourceEx_Task(String[] devicePath) VcTask
VcHostVsanSystem.addDisks_Task(VcHostScsiDisk[] disk) VcTask
VcHostVsanSystem.evacuateVsanNode_Task(VcHostMaintenanceSpec , Number ) VcTask
VcHostVsanSystem.initializeDisks_Task(VcVsanHostDiskMapping[] mapping) VcTask
VcHostVsanSystem.recommissionVsanNode_Task() VcTask
VcHostVsanSystem.removeDisk_Task(VcHostScsiDisk[] disk) VcTask
VcHostVsanSystem.removeDisk_Task(VcHostScsiDisk[] , VcHostMaintenanceSpec , Number ) VcTask
VcHostVsanSystem.removeDiskMapping_Task(VcVsanHostDiskMapping[] mapping) VcTask
VcHostVsanSystem.removeDiskMapping_Task(VcVsanHostDiskMapping[] , VcHostMaintenanceSpec , Number ) VcTask
VcHostVsanSystem.unmountDiskMapping_Task(VcVsanHostDiskMapping[] ) VcTask
VcHostVsanSystem.updateVsan_Task(VcVsanHostConfigInfo config) VcTask
VcNetwork.destroy_Task() VcTask
VcNetwork.rename_Task(String newName) VcTask
VcOpaqueNetwork.destroy_Task() VcTask
VcOpaqueNetwork.rename_Task(String newName) VcTask
VcPlugin.getAllTasks(String[] additionalPropertyFilters, String query) VcTask[]
VcProfile.checkProfileCompliance_Task(VcManagedEntity[] entity) VcTask
VcProfile.checkProfileCompliance_Task(com.vmware.vmo.plugin.vi4.model.VimManagedEntity[] ) VcTask
VcProfileComplianceManager.checkCompliance_Task(VcProfile[] profile, VcManagedEntity[] entity) VcTask
VcProfileComplianceManager.checkCompliance_Task(VcProfile[] , com.vmware.vmo.plugin.vi4.model.VimManagedEntity[] ) VcTask
VcResourcePool.createChildVM_Task(VcVirtualMachineConfigSpec config, VcHostSystem host) VcTask
VcResourcePool.destroy_Task() VcTask
VcResourcePool.registerChildVM_Task(String path, String name, VcHostSystem host) VcTask
VcResourcePool.rename_Task(String newName) VcTask
VcSdkConnection.getAllTasks(String[] additionalPropertyFilters, String query) VcTask[]
VcStoragePod.addStandaloneHost_Task(VcHostConnectSpec spec, VcComputeResourceConfigSpec compResSpec, boolean addConnected, String license) VcTask
VcStoragePod.createDVS_Task(VcDVSCreateSpec spec) VcTask
VcStoragePod.createVM_Task(VcVirtualMachineConfigSpec config, VcResourcePool pool, VcHostSystem host) VcTask
VcStoragePod.destroy_Task() VcTask
VcStoragePod.moveIntoFolder_Task(VcManagedEntity[] list) VcTask
VcStoragePod.registerVM_Task(String path, String name, boolean asTemplate, VcResourcePool pool, VcHostSystem host) VcTask
VcStoragePod.rename_Task(String newName) VcTask
VcStoragePod.unregisterAndDestroy_Task() VcTask
VcStorageResourceManager.applyStorageDrsRecommendation_Task(String[] key) VcTask
VcStorageResourceManager.applyStorageDrsRecommendationToPod_Task(VcStoragePod pod, String key) VcTask
VcStorageResourceManager.configureDatastoreIORM_Task(VcDatastore datastore, VcStorageIORMConfigSpec spec) VcTask
VcStorageResourceManager.configureStorageDrsForPod_Task(VcStoragePod pod, VcStorageDrsConfigSpec spec, boolean modify) VcTask
VcVirtualApp.cloneVApp_Task(String name, VcResourcePool target, VcVAppCloneSpec spec) VcTask
VcVirtualApp.createChildVM_Task(VcVirtualMachineConfigSpec config, VcHostSystem host) VcTask
VcVirtualApp.destroy_Task() VcTask
VcVirtualApp.powerOffVApp_Task(boolean force) VcTask
VcVirtualApp.powerOnVApp_Task() VcTask
VcVirtualApp.registerChildVM_Task(String path, String name, VcHostSystem host) VcTask
VcVirtualApp.rename_Task(String newName) VcTask
VcVirtualApp.suspendVApp_Task() VcTask
VcVirtualApp.unregisterVApp_Task() VcTask
VcVirtualDiskManager.copyVirtualDisk_Task(String sourceName, VcDatacenter sourceDatacenter, String destName, VcDatacenter destDatacenter, VcVirtualDiskSpec destSpec, boolean force) VcTask
VcVirtualDiskManager.createVirtualDisk_Task(String name, VcDatacenter datacenter, VcVirtualDiskSpec spec) VcTask
VcVirtualDiskManager.defragmentVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask
VcVirtualDiskManager.deleteVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask
VcVirtualDiskManager.eagerZeroVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask
VcVirtualDiskManager.extendVirtualDisk_Task(String name, VcDatacenter datacenter, Number newCapacityKb, boolean eagerZero) VcTask
VcVirtualDiskManager.inflateVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask
VcVirtualDiskManager.moveVirtualDisk_Task(String sourceName, VcDatacenter sourceDatacenter, String destName, VcDatacenter destDatacenter, boolean force, VcVirtualMachineProfileSpec[] profile) VcTask
VcVirtualDiskManager.shrinkVirtualDisk_Task(String name, VcDatacenter datacenter, boolean copy) VcTask
VcVirtualDiskManager.zeroFillVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask
VcVirtualMachine.cloneVM_Task(VcFolder folder, String name, VcVirtualMachineCloneSpec spec) VcTask
VcVirtualMachine.consolidateVMDisks_Task() VcTask
VcVirtualMachine.createScreenshot_Task() VcTask
VcVirtualMachine.createSecondaryVM_Task(VcHostSystem host) VcTask
VcVirtualMachine.createSnapshot_Task(String name, String description, boolean memory, boolean quiesce) VcTask
VcVirtualMachine.customizeVM_Task(VcCustomizationSpec spec) VcTask
VcVirtualMachine.destroy_Task() VcTask
VcVirtualMachine.disableSecondaryVM_Task(VcVirtualMachine vm) VcTask
VcVirtualMachine.enableSecondaryVM_Task(VcVirtualMachine vm, VcHostSystem host) VcTask
VcVirtualMachine.estimateStorageForConsolidateSnapshots_Task() VcTask
VcVirtualMachine.makePrimaryVM_Task(VcVirtualMachine vm) VcTask
VcVirtualMachine.migrateVM_Task(VcResourcePool pool, VcHostSystem host, VcVirtualMachineMovePriority priority, VcVirtualMachinePowerState state) VcTask
VcVirtualMachine.powerOffVM_Task() VcTask
VcVirtualMachine.powerOnVM_Task(VcHostSystem host) VcTask
VcVirtualMachine.promoteDisks_Task(boolean unlink, VcVirtualDisk[] disks) VcTask
VcVirtualMachine.reconfigVM_Task(VcVirtualMachineConfigSpec spec) VcTask
VcVirtualMachine.reloadVirtualMachineFromPath_Task(String configurationPath) VcTask
VcVirtualMachine.relocateVM_Task(VcVirtualMachineRelocateSpec spec, VcVirtualMachineMovePriority priority) VcTask
VcVirtualMachine.removeAllSnapshots_Task(boolean consolidate) VcTask
VcVirtualMachine.rename_Task(String newName) VcTask
VcVirtualMachine.resetVM_Task() VcTask
VcVirtualMachine.revertToCurrentSnapshot_Task(VcHostSystem host, boolean suppressPowerOn) VcTask
VcVirtualMachine.startRecording_Task(String name, String description) VcTask
VcVirtualMachine.startReplaying_Task(VcVirtualMachineSnapshot replaySnapshot) VcTask
VcVirtualMachine.stopRecording_Task() VcTask
VcVirtualMachine.stopReplaying_Task() VcTask
VcVirtualMachine.suspendVM_Task() VcTask
VcVirtualMachine.terminateFaultTolerantVM_Task(VcVirtualMachine vm) VcTask
VcVirtualMachine.turnOffFaultToleranceForVM_Task() VcTask
VcVirtualMachine.upgradeTools_Task(String installerOptions) VcTask
VcVirtualMachine.upgradeVM_Task(String version) VcTask
VcVirtualMachineCompatibilityChecker.checkCompatibility_Task(VcVirtualMachine vm, VcHostSystem host, VcResourcePool pool, String[] testType) VcTask
VcVirtualMachineProvisioningChecker.checkMigrate_Task(VcVirtualMachine vm, VcHostSystem host, VcResourcePool pool, VcVirtualMachinePowerState state, String[] testType) VcTask
VcVirtualMachineProvisioningChecker.checkRelocate_Task(VcVirtualMachine vm, VcVirtualMachineRelocateSpec spec, String[] testType) VcTask
VcVirtualMachineProvisioningChecker.queryVMotionCompatibilityEx_Task(VcVirtualMachine[] vm, VcHostSystem[] host) VcTask
VcVirtualMachineSnapshot.removeSnapshot_Task(boolean removeChildren, boolean consolidate) VcTask
VcVirtualMachineSnapshot.revertToSnapshot_Task(VcHostSystem host, boolean suppressPowerOn) VcTask
VcVmwareDistributedVirtualSwitch.addDVPortgroup_Task(VcDVPortgroupConfigSpec[] spec) VcTask
VcVmwareDistributedVirtualSwitch.createDVPortgroup_Task(VcDVPortgroupConfigSpec spec) VcTask
VcVmwareDistributedVirtualSwitch.destroy_Task() VcTask
VcVmwareDistributedVirtualSwitch.DVSRollback_Task(VcEntityBackupConfig entityBackup) VcTask
VcVmwareDistributedVirtualSwitch.mergeDvs_Task(VcDistributedVirtualSwitch dvs) VcTask
VcVmwareDistributedVirtualSwitch.moveDVPort_Task(String[] portKey, String destinationPortgroupKey) VcTask
VcVmwareDistributedVirtualSwitch.performDvsProductSpecOperation_Task(String operation, VcDistributedVirtualSwitchProductSpec productSpec) VcTask
VcVmwareDistributedVirtualSwitch.reconfigureDVPort_Task(VcDVPortConfigSpec[] port) VcTask
VcVmwareDistributedVirtualSwitch.reconfigureDvs_Task(VcDVSConfigSpec spec) VcTask
VcVmwareDistributedVirtualSwitch.rectifyDvsHost_Task(VcHostSystem[] hosts) VcTask
VcVmwareDistributedVirtualSwitch.rename_Task(String newName) VcTask
VcVmwareDistributedVirtualSwitch.updateDVSHealthCheckConfig_Task(VcDVSHealthCheckConfig[] healthCheckConfig) VcTask
VcVmwareDistributedVirtualSwitch.updateDVSLacpGroupConfig_Task(VcVMwareDvsLacpGroupSpec[] lacpGroupSpec) VcTask

Referenced in

None