Files
deb-python-pyvmomi/docs/vim/host/DiskPartitionInfo/Partition.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

1.6 KiB

vim.host.DiskPartitionInfo.Partition

Information about a single disk partition. A partition is a contiguous set of blocks on a disk that is marked for use. The typeId identifies the purpose of the data in the partition.

extends

vmodl.DynamicData

Attributes:

partition (int):

The partition number. Must be a positive integer.

startSector (long):

The start sector.

endSector (long):

The end sector.

type (str):

Type of data in the partition. If it is a well-known partition type, it will be one of the defined types. If it is not, then it will be reported as a hexadecimal number. For example, "none", "vmfs", "linux", and "0x20" are all valid values.See HostDiskPartitionInfoType

guid (str, optional):

Globally Unique Identifier of the partition, as defined by the GUID Partition Table (GPT) format. This is available only for GPT formatted disks.

logical (bool):

The flag to indicate whether or not the partition is logical. If true, the partition number should be greater than 4.

attributes (int):

The attributes on the partition.

partitionAlignment (long, optional):

Partition alignment in bytes. If unset, partition alignment value is unknown.