Host Storage System Update Scsi Lun Display Name
Update the mutable display name associated with a ScsiLun.
The ScsiLun to be updated is identified using the specified uuid.
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.
"UpdateScsiLunDisplayNameRequestType Object"
The uuid of the ScsiLun to update.
The new name to assign to the ScsiLun object.
No Content
NotFound: if the device could not be found.
InvalidName: if the name does not meet name restrictions such as an 80 character limit.
DuplicateName: if the name does not name uniqueness restrictions. Name uniqueness restrictions will vary based on the context in which this method is invoked.
When this method is invoked on a host directly, no uniqueness checks will be performed on the name.
When this method is invoked on a VC server, uniqueness checks will be performed on the name. The uniqueness check will ensure that the name is unique with respect to the entire VC instance.
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}/UpdateScsiLunDisplayName