File: Partition.rst

package info (click to toggle)
python-pyvmomi 6.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 14,984 kB
  • sloc: python: 9,206; xml: 77; makefile: 11
file content (43 lines) | stat: -rw-r--r-- 1,681 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.. _int: https://docs.python.org/2/library/stdtypes.html

.. _str: https://docs.python.org/2/library/stdtypes.html

.. _long: https://docs.python.org/2/library/stdtypes.html

.. _bool: https://docs.python.org/2/library/stdtypes.html

.. _vmodl.DynamicData: ../../../vmodl/DynamicData.rst

.. _HostDiskPartitionInfoType: ../../../vim/host/DiskPartitionInfo/Type.rst


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.