Host Storage System Add Internet Scsi Static Targets
Adds Static Target entries to the host bus adapter discovery list.
The DiscoveryProperty.staticTargetDiscoveryEnabled must be set to true.
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.
"AddInternetScsiStaticTargetsRequestType Object"
The device of the Internet SCSI HBA adapter.
An array of iSCSI static targets to add.
No Content
NotFound: if the host bus adaptor discovery list was not found.
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}/AddInternetScsiStaticTargets