Search
Plugins > vCenter Server 6.0.2 > VcHostStorageSystem > computeDiskPartitionInfo

Method computeDiskPartitionInfo(String devicePath, VcHostDiskPartitionLayout layout, String partitionFormat)

Computes the disk partition information given the desired disk layout. The server computes a new partition information object for a specific disk representing the desired layout.
See VcHostDiskPartitionInfoPartitionFormat

Returns

VcHostDiskPartitionInfo

Arguments

Name Type Description
devicePath String The name of the device path for the specific disk.<br>See <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostDiskPartitionInfoPartitionFormat.html">VcHostDiskPartitionInfoPartitionFormat</a><br>
layout VcHostDiskPartitionLayout A data object that describes the disk partition layout.<br>See <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostDiskPartitionInfoPartitionFormat.html">VcHostDiskPartitionInfoPartitionFormat</a><br>
partitionFormat String Specifies the desired partition format to be computed from the block range. If partitionFormat is not specified, the existing partitionFormat on disk is used, if the disk is not blank and mbr otherwise.<br>See <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostDiskPartitionInfoPartitionFormat.html">VcHostDiskPartitionInfoPartitionFormat</a><br>