Search
Plugins > vCenter Server 6.0.2 > VcHostStorageSystem > computeDiskPartitionInfoForResize

Method computeDiskPartitionInfoForResize(VcHostScsiDiskPartition partition, VcHostDiskPartitionBlockRange blockRange, String partitionFormat)

Computes the disk partition information for the purpose of resizing a given partition.
See VcHostDiskPartitionInfoPartitionFormat

Returns

VcHostDiskPartitionInfo

Arguments

Name Type Description
partition VcHostScsiDiskPartition The disk partition to resize.<br>See <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostDiskPartitionInfoPartitionFormat.html">VcHostDiskPartitionInfoPartitionFormat</a><br>
blockRange VcHostDiskPartitionBlockRange Specifies the desired block range for the resized partition. The start of the block range specified should match that of the current partition.<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>