Web Services Interface Guide

162 Dell Lifecycle Controller Web Services Interface Guide for Windows
When this method is executed, a jobid or an error message is returned.
CreatePartitionUsingImage_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_001268833219, __cimnamespace = root/dcim
ReturnValue = 0
Reference Section 13.2 to fix an uninitialized media device error:
CreatePartitionUsingImage_OUTPUT
Message = SD card not initialized
MessageID = VF017
ReturnValue = 2
13.6 Delete Partition
This method is for deleting a partition on a storage device. When this method is successfully executed, the
instance of DCIM_OpaqueManagementData representing the desired partition along with the association
instance of DCIM_ServiceAffectsElement will be deleted. The AvailableSize property of the associated
storage media will increase by the size of the deleted partition.
Invoke DeletePartition() with the following parameters and syntax:
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance that
represents the partition to be removed.
1 to 16
EXAMPLE:
winrm i DeletePartition http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_PersistentStorageService +SystemName=DCIM:ComputerSystem
+Name=DCIM:PersistentStorageService -r:https://[IPADDRESS]:443/wsman