Host Storage System Connect Nvme Controller Ex Task
Establish a connection to one or more NVMe controllers.
This is an asynchronous, batch version of the connectNvmeController API. See ConnectNvmeController for details. If supported on the host in question, nvmeBatchOperationsSupported will be set to true. An attempt will be made to establish a connection using each of the provided specifications. There are no transactional guarantees - some of the connections may succeed and some may fail. In case of any failures, a fault containing information about the failed attempts to establish a connection will be thrown.
Since: vSphere API Release 7.0.3.0
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 HostStorageSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"connectSpec": [
{
"_typeName": "string",
"hbaName": "string",
"transportParameters": {
"_typeName": "string"
},
"subnqn": "string",
"controllerId": 0,
"adminQueueSize": 0,
"keepAliveTimeout": 0
}
]
}
A list of data objects, each specifying the parameters necessary to connect to an NVMe controller.
OK
{
"_typeName": "string",
"type": "string",
"value": "string"
}
NotSupported: if the batch API is not supported on the host in question.
HostConfigFault: if any of the attempted connections failed.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}