Host Storage System Compute Disk Partition Info
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 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.
"ComputeDiskPartitionInfoRequestType Object"
The name of the device path for the specific disk.
A data object that describes the disk partition layout.
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.
A data object that contains information about the partitions on a disk
"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 the layout 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}/ComputeDiskPartitionInfo