Host Diagnostic System Query Partition Create Options
Retrieves a list of disks that can be used to contain a diagnostic partition.
This list will contain disks that have sufficient space to contain a diagnostic partition of the specific type.
The choices will be returned in the order that is most preferable as determined by the system.
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.
"QueryPartitionCreateOptionsRequestType Object"
storageType
diagnosticType
OK
[
"HostDiagnosticPartitionCreateOption Object"
]
NotSupported: if the host is not an ESX Server.
InvalidArgument: if an invalid storage type is specified.
HostConfigFault: on some internal failure while querying the create options.
"HostConfigFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostDiagnosticSystem/{moId}/QueryPartitionCreateOptions