
Detailed Command Descriptions 94
storageDomainName=MegaTechXP12000-Primary
migrationGroupName=MG011
targetStorageTierName=MegaTech-HighCost
eraseData=No
totalCapacityInGB=19
description=
D:\>
Example (3): In this example, to obtain summary information for all the tasks that finished 5 days ago or
before among the tasks in the storage domain MegaTechXP12000-Secondary, the GetTasks command
is executed. However, no task that matches the conditions exists.
D:\>htsmcli GetTasks storagedomainname="MegaTechXP12000-Primary" status="End"
datetype="Creation" daystobase="5" direction="Before"
Output (3):
RESPONSE:
(Command completed; empty list returned)
D:\>
4-4-4 ModifyTask
The ModifyTask command can be used to change task information (the description).
Task information cannot be changed in the following statuses:
• Task has ended (End).
• Task is in a storage domain that is being refreshed.
Command Syntax
htsmcli server-location ModifyTask
{ -u | --username } user-name
{ -p | --password } { password | @name-of-password-file }
[ { -o | --output } name-of-the-standard-output-redirect-file ]
[ { -d | --detail } ]
id =task-ID
[newdescription=description-of-the-task ]
Table 4-60 Options of the ModifyTask Command
Option Name Option Arguments Optional or Required Description
-d or
--detail
None Optional Specify this to output the changed task information to the
standard output, after command execution.
If this is omitted, nothing is output to the standard output.
Table 4-61 Parameters of the ModifyTask Command
Parameter Name Optional or Required Description
id Required Specify the task ID.
newdescription Optional
Modify a description of the task. If this is omitted, the task description does
not change.
If an empty character string is specified, the task description that was
previously set is deleted.
Comentarios a estos manuales