HostDiskPartitionSpec

HostDiskPartitionSpec
HostDiskPartitionSpec

This data object type describes the disk partition table specification used to configure the partitions on a disk.

This data object represents the fundamental data needed to specify a partition table.

AllOf
This class requires all of the following:
JSON Example
{
    "_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
        }
    ]
}
string
partitionFormat
Optional

Partition format type on the disk.

chs
Optional

This data object type describes dimensions using the cylinder, head, sector (CHS) coordinate system.

This coordinate system is generally needed for partitioning for legacy reasons. When defining partitions, many partitioning utilities do not function correctly when certain CHS constraints are not met.

integer As int64 As int64
totalSectors
Optional

Disk dimensions expressed in total number of 512-byte sectors.

partition
Optional

List of partitions on the disk.