Host Storage System Attach Scsi Lun
Allow I/O issue to the specified detached ScsiLun.
The ScsiLun is administratively configured on, if the attach operation is successful. See DetachScsiLun.
attachScsiLun is part of the Unmount, Detach workflow used when a device will be permanently removed. See also UnmountVmfsVolume.
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.3.0 APIs.
{
"lunUuid": "string"
}
The uuid of the ScsiLun to update.
No Content
NotFound: if the device could not be found.
InvalidState: if
- The device is already attached. i.e. Device state is not 'off' in operationalState.
- The device is unreachable. See operationalState.
HostConfigFault: for all other configuration failures.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}