Web Services Interface Guide
312 Dell Lifecycle Controller Web Services Interface Guide for Windows
Note: When a user does not want to set a reboot type when creating a target job, users should comment
out the RebootJobType in the input xml. User should not enter “0” or give no parameter at all in the input
xml.
EXAMPLE:
winrm i CreateTargetedConfigJob http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_FCService ?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_FCService
+SystemName=DCIM:ComputerSystem
+Name=DCIM:FCService -u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
-file:apply_pending_fc.xml
The input file apply_pending_fc.xml is shown below:
<p:CreateTargetedConfigJob_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_FCService">
<p:Target>FC.Slot.2-2</p:Target> <p:RebootJobType>2</p:RebootJobType>
<p:ScheduledStartTime>TIME_NOW</p:ScheduledStartTime>
<p:UntilTime>20151111111111</p:UntilTime>
</p:CreateTargetedConfigJob_INPUT>
OUTPUT:
When this method is executed, a jobid or an error message is returned. The status of this jobid can be
checked within the job control provider in Section 10.
CreateTargetedConfigJob_OUTPUT
Job
Address = http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
ReferenceParameters
ResourceURI = http://schemas.dell.com/wbem /wscim/1/cim
schema/2/DCIM_LifecycleJob
SelectorSet
Selector: InstanceID = JID_001269609760, __cimnamespace = root/dcim
ReturnValue = 4096