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
        }
    ],
    "sectorSize": 0
}
string
partitionFormat
Optional

Partition format type on the disk.

chs
Optional

Disk dimensions expressed as cylinder, head, sector (CHS) coordinates.

integer As int64 As int64
totalSectors
Optional

Disk dimensions expressed as a total number of sectors.

For sector size, see the sectorSize field.

partition
Optional

List of partitions on the disk.

integer As int32 As int32
sectorSize
Optional

The sector size in bytes.

The typical values are 512 and 4096. If unset, the value should be considered 512.

Since: vSphere API Release 9.0.0.0