Host Storage System Update Disk Partitions
Changes the partitions on the disk by supplying a partition specification and the device name.
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.
"UpdateDiskPartitionsRequestType Object"
The name of the device path for the specific disk.
A data object that describes the disk partition table specification used to configure the partitions on a disk.
No Content
NotFound: if the device could not be found.
InvalidArgument: if the spec is invalid.
HostConfigFault: for all other configuration failures.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostStorageSystem/{moId}/UpdateDiskPartitions