Host Diagnostic System Query Partition Create Options

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

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HostDiagnosticSystem/{moId}/QueryPartitionCreateOptions
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
QueryPartitionCreateOptionsRequestType of type(s) application/json
Required
"QueryPartitionCreateOptionsRequestType Object"
string
storageType
Required

storageType

string
diagnosticType
Required

diagnosticType

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of HostDiagnosticPartitionCreateOption of type(s) application/json
[
    "HostDiagnosticPartitionCreateOption Object"
]

500

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.

Returns HostConfigFault of type(s) application/json
"HostConfigFault Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostDiagnosticSystem/{moId}/QueryPartitionCreateOptions