Iscsi Manager Unbind Vnic

Iscsi Manager Unbind Vnic

Unbind Virtual NIC binding from an iSCSI adapter.

Required privileges: Host.Config.Storage

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/IscsiManager/{moId}/UnbindVnic
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
UnbindVnicRequestType of type(s) application/json
Required
{
    "iScsiHbaName": "string",
    "vnicDevice": "string",
    "force": false
}
string
iScsiHbaName
Required

iSCSI adapter name for which the Virtual NIC to be removed.

string
vnicDevice
Required

Virtual NIC that is to be removed from the iSCSI HBA

boolean
force
Required

force

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

500

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

Returns VimFault of type(s) application/json
This response body class contains all of the following: MethodFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}