# Data Object - HostDiskPartitionAttributes(vim.host.DiskPartitionInfo.Partition)

Property of
  HostDiskPartitionSpec
Extends
  DynamicData
Since
  2.0

## Data Object Description

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.

Properties

Name | Type | Description
--- | --- | ---
attributes | xsd:byte | The attributes on the partition.
endSector | xsd:long | The end sector.
guid* | xsd:string | Globally Unique Identifier of the partition, as defined by the GUID Partition Table (GPT) format. This is available only for GPT formatted disks. Since vSphere API 5.0
logical | xsd:boolean | The flag to indicate whether or not the partition is logical. If true, the partition number should be greater than 4.
partition | xsd:int | The partition number. Must be a positive integer.
partitionAlignment* | xsd:long | Partition alignment in bytes. If unset, partition alignment value is unknown. Since vSphere API 5.0
startSector | xsd:long | The start sector.
type | xsd:string | 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
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostDiskPartitionAttributes"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="partition" type="xsd:int"/> <element name="startSector" type="xsd:long"/> <element name="endSector" type="xsd:long"/> <element name="type" type="xsd:string"/> <element name="guid" type="xsd:string" minOccurs="0"/> <element name="logical" type="xsd:boolean"/> <element name="attributes" type="xsd:byte"/> <element name="partitionAlignment" type="xsd:long" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>