Iscsi Manager Bind Vnic
Bind a Virtual NIC to be used for an iSCSI adapter
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 IscsiManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"BindVnicRequestType Object"
iSCSI adapter name for which the Virtual NIC to be added.
Virtual NIC that is to be bound to the iSCSI HBA
No Content
IscsiFaultVnicAlreadyBound: The given Virtual NIC is already bound to the HBA.
IscsiFaultVnicHasNoUplinks: The given Virtual NIC has no physical uplinks.
IscsiFaultVnicHasMultipleUplinks: The given Virtual NIC has multiple uplinks.
IscsiFaultVnicHasWrongUplink: The given Virtual NIC has the wrong uplink and it can't be used for iSCSI multi-pathing.
IscsiFaultVnicNotFound: The given Virtual NIC is not present on the system.
IscsiFaultInvalidVnic: The given Virtual NIC is not valid for the HBA.
PlatformConfigFault: For platform error that occurs during the operation.
IscsiFault: For any problem that is not handled with a more specific fault.
NotFound: If the given HBA is not found
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/IscsiManager/{moId}/BindVnic