Host Storage System Retrieve Disk Partition Info
Gets the partition information for the disks named by the device names.
Required privileges: System.Read
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.1.0.0 APIs.
Show optional properties
{
"devicePath": [
{}
]
}
{
"devicePath": [
"string"
]
}
An array of device path names that identify disks. See ScsiDisk.
An array of information about the partitions.
[
{
"_typeName": "string",
"deviceName": "string",
"spec": {
"_typeName": "string",
"partitionFormat": "string",
"chs": {
"_typeName": "string",
"cylinder": 0,
"head": 0,
"sector": 0
},
"totalSectors": 0,
"partition": [
{
"_typeName": "string",
"partition": 0,
"startSector": 0,
"endSector": 0,
"type": "string",
"guid": "string",
"logical": false,
"attributes": 0,
"partitionAlignment": 0
}
],
"sectorSize": 0
},
"layout": {
"_typeName": "string",
"total": {
"_typeName": "string",
"blockSize": 0,
"block": 0
},
"partition": [
{
"_typeName": "string",
"partition": 0,
"type": "string",
"start": {
"_typeName": "string",
"blockSize": 0,
"block": 0
},
"end": {
"_typeName": "string",
"blockSize": 0,
"block": 0
}
}
]
}
}
]
Information about the partitions on a disk.
A DiskPartitionInfo object provides two different views into the partitions on a disk:
- A detailed specification that is used to create the partition table.
- A convenient view that shows the allocations of blocks as a contiguous sequence of block ranges.
See also RetrieveDiskPartitionInfo, ComputeDiskPartitionInfo, UpdateDiskPartitions.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"devicePath":["string"]}' https://{api_host}/sdk/vim25/{release}/HostStorageSystem/{moId}/RetrieveDiskPartitionInfo