Web Services Interface Guide
158 Dell Lifecycle Controller Web Services Interface Guide for Windows
13.3 Enable or Disable vFlash using vFlash State Change
This method is used to enable or disable the virtual flash media device. When the VFlashStateChange()
method is successfully executed, the change will be dictated in the VFlashEnabledState parameter as
shown in Section 13.2.1 and Section 13.2.3.
Invoke VFlashStateChange() with the following parameters and syntax:
RequestedState: The state to set to
Enable=1, Disable=2
EXAMPLE:
winrm i VFlashStateChange http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_PersistentStorageService +SystemName=DCIM:ComputerSystem
+Name=DCIM:PersistentStorageService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
-file:VFlashStateChange.xml
The input file VFlashStateChange.xml is shown below:
<p:VFlashStateChange_INPUT xmlns:p="http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService">
<p:RequestedState>1</p:RequestedState>
</p:VFlashStateChange_INPUT>
OUTPUT:
VFlashStateChange_OUTPUT
ReturnValue = 0
13.4 Create Partition
This method is used for creating a new partition on a storage device. When this method is successfully
executed, an instance of DCIM_OpaqueManagementData representing the desired partition will be
created (Section 13.1) and a reference to this instance is captured in the output parameter Job.
Invoke CreatePartition() with the following parameters and syntax:
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance that
represents the partition to be formatted.