Host Diagnostic System Query Available Partition

Host Diagnostic System Query Available Partition

Retrieves a list of available diagnostic partitions.

The server will provide the list in order of preference. In general, local diagnostic partitions are better than shared diagnostic partitions because of the impossibility of multiple servers sharing the same partition. The most preferred diagnostic partition will be first in the array.

Required privileges: Host.Config.Storage

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostDiagnosticSystem/{moId}/QueryAvailablePartition
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.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of HostDiagnosticPartition of type(s) application/json
[
    {
        "_typeName": "string",
        "storageType": "string",
        "diagnosticType": "string",
        "slots": 0,
        "id": {
            "_typeName": "string",
            "diskName": "string",
            "partition": 0
        }
    }
]

500

NotSupported: if the host is not an ESX Server.

HostConfigFault: on some internal failure while setting the active partition.

Returns HostConfigFault of type(s) application/json
This response body class contains all of the following: VimFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}