Host Storage System Delete Scsi Lun State
For previously detached SCSI Lun, remove the state information from host.
Detach SCSI Lun marks the device where I/Os are not allowed. Host still maintains the entry of this device and its state. If a LUN is detached using detachScsiLun, ESX will not automatically attach this LUN durng a rescan or after a reboot. See DetachScsiLun. Please note: The API takes 'canonicalName' of the ScsiLun object instead of the ScsiLun.uuid.
See also canonicalName.
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.
"DeleteScsiLunStateRequestType Object"
The 'canonicalName' of the ScsiLun whose state needs to be deleted.
No Content
HostConfigFault: for any configuration failures.
"HostConfigFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostStorageSystem/{moId}/DeleteScsiLunState