Web Services Interface Guide

282 Dell Lifecycle Controller Web Services Interface Guide for Windows
SelectorSet
Selector: InstanceID = JID_001293705757, __cimnamespace = root/dcim
ReturnValue = 4096
19.4.2 Polling Job Completion
Use the Get() command to check the progress of the ApplyAttributes() method. It polls for job completion.
This method takes the InstanceID from the previous section ( 19.3.1) as input. The JobStatus value is either
“Successful” or “Failed”. If the job failed, the Message value contains more detailed error information on
the cause of the failure.
Run the Get() command on DCIM_LifecycleJob with the following parameters and syntax:
EXAMPLE:
winrm g http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LifecycleJob?InstanceID=[INSTANCE_ID] -u:[USER] -
p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
The input parameter is the InstanceID from the output of the ApplyAttributes() method. An example
InstanceID is as follows: InstanceID = JID_001293705757
OUTPUT:
DCIM_LifecycleJob
InstanceID = JID_001293705757
JobStartTime = TIME_NA
JobStatus = Completed
JobUntilTime = TIME_NA
Message = NA
MessageID = NA
Name = iDRACConfig:iDRAC.Embedded.1
PercentComplete = 100
19.4.3 Set Attribute Verification
To verify the changes made to the attributes, enumerate the DCIM_iDRACCardEnumeration class. For
more information, see Section 19.1.