Iscsi Manager Unbind Vnic
Unbind Virtual NIC binding from 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.
"UnbindVnicRequestType Object"
iSCSI adapter name for which the Virtual NIC to be removed.
Virtual NIC that is to be removed from the iSCSI HBA
force
No Content
IscsiFaultVnicNotBound: The given Virtual NIC is not bound to the adapter
IscsiFaultVnicHasActivePaths: The given Virtual NIC is associated with "active" paths to the storage.
IscsiFaultVnicIsLastPath: The given Virtual NIC is associated with "only" paths to the storage.
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}/UnbindVnic