HostDiagnosticPartitionCreateDescription
The diagnostic partition create description details what will be done to create a new diagnostic partition on a disk.
It contains a CreateSpec that can be submitted to create the partition and information that can be shown to the user.
{
"_typeName": "string",
"layout": {
"_typeName": "string",
"total": {
"_typeName": "string",
"blockSize": 0,
"block": 0
},
"partition": [
{
"_typeName": "string",
"partition": 0,
"type": "string",
"start": {
"_typeName": "string",
"blockSize": 0,
"block": 0
},
"end": {
"_typeName": "string",
"blockSize": 0,
"block": 0
}
}
]
},
"diskUuid": "string",
"spec": {
"_typeName": "string",
"storageType": "string",
"diagnosticType": "string",
"id": {
"_typeName": "string",
"diskName": "string",
"partition": 0
},
"partition": {
"_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
},
"active": false
}
}
Layout describing the format of the disk In releases after vSphere API 5.0, vSphere Servers might not generate property collector update notifications for this property.
To obtain the latest value of the property, you can use PropertyCollector methods RetrievePropertiesEx or WaitForUpdatesEx. If you use the PropertyCollector.WaitForUpdatesEx method, specify an empty string for the version parameter. Since this property is on a DataObject, an update returned by WaitForUpdatesEx may contain values for this property when some other property on the DataObject changes. If this update is a result of a call to WaitForUpdatesEx with a non-empty version parameter, the value for this property may not be current.
The UUID of the SCSI disk on which to create the diagnostic partition.
This disk UUID will match that found in the identification field of the creation spec.
See also HostScsiDisk, ScsiLun.uuid.
Creation specification for diagnostic partition