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.2.0 APIs.
"AttachScsiLunRequestType Object"
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.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostStorageSystem/{moId}/AttachScsiLun