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 9.0.0.0 APIs.
"QueryPartitionCreateDescRequestType Object"
diskUuid
diagnosticType
OK
"HostDiagnosticPartitionCreateDescription Object"
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
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.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostDiagnosticSystem/{moId}/QueryPartitionCreateDesc