Host Diagnostic System Query Partition Create Desc
For a disk, query for the diagnostic partition creation description.
The description details how the diagnostic partition will be created on the disk and provides a creation specification that is needed to invoke the create operation.
See also HostScsiDisk, uuid.
Required privileges: Host.Config.Storage
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostDiagnosticSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"diskUuid": "string",
"diagnosticType": "string"
}
diskUuid
diagnosticType
OK
{
"_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
}
]
},
"active": false
}
}
This data object type describes the disk partition layout specified as a list of ordered BlockRanges.
This view of the disk partitions shows the data on the disk as a contiguous set of BlockRanges.
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.
The diagnostic create specification is used by the system to create a new diagnostic partition on a SCSI disk.
NotSupported: if the host is not an ESX Server.
NotFound: if the specified disk cannot be found.
InvalidArgument: if an invalid storage type is specified or the specified disk is unable to accommodate a new diagnostic partition.
HostConfigFault: on some internal failure while trying to query information about the disk.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}