HostDiskPartitionInfo
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.
{
"_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
}
}
]
}
}
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.