Host Storage System Compute Disk Partition Info For Resize
Computes the disk partition information for the purpose of resizing a given partition.
See also HostDiskPartitionInfoPartitionFormatEnum.
Required privileges: Host.Config.Storage
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostStorageSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"ComputeDiskPartitionInfoForResizeRequestType Object"
The disk partition to resize.
Specifies the desired block range for the resized partition. The start of the block range specified should match that of the current partition.
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.
resized disk partition information
"HostDiskPartitionInfo Object"
The device name of the disk to which this partition information corresponds.
The detailed disk partition specification.
Use this specification for manipulating the file system.
See also HostStorageSystem.RetrieveDiskPartitionInfo, HostStorageSystem.UpdateDiskPartitions.
A convenient format for describing disk layout.
This layout specification can be converted to a Specification object.
See also HostStorageSystem.ComputeDiskPartitionInfo.
NotFound: if the device could not be found.
InvalidArgument: if blockRange or partition is invalid.
HostConfigFault: if unable to get the current partition information for the device.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostStorageSystem/{moId}/ComputeDiskPartitionInfoForResize