Iscsi Manager Query Migration Dependencies

Iscsi Manager Query Migration Dependencies

Query the dependency table for a migration operation of a given Physical NIC.

Required privileges: Host.Config.Storage

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/IscsiManager/{moId}/QueryMigrationDependencies
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.3.0 APIs.


Request Body
QueryMigrationDependenciesRequestType of type(s) application/json
Required

Show optional properties

{
    "pnicDevice": [
        {}
    ]
}
{
    "pnicDevice": [
        "string"
    ]
}
array of string
pnicDevice
Required

List of Physical NICs to be migrated

Authentication
This operation uses the following authentication methods.
Responses
200

Dependency table, as described in IscsiMigrationDependency, providing the user of all the Virtual NIC and iSCSI resources affected.

Returns IscsiMigrationDependency of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "migrationAllowed": false,
    "disallowReason": {
        "_typeName": "string",
        "reason": [
            {
                "_typeName": "string",
                "faultCause": "MethodFault Object",
                "faultMessage": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "arg": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "value": {
                                    "_typeName": "string"
                                }
                            }
                        ],
                        "message": "string"
                    }
                ]
            }
        ]
    },
    "dependency": [
        {
            "_typeName": "string",
            "pnicDevice": "string",
            "vnicDevice": "string",
            "vmhbaName": "string"
        }
    ]
}
boolean
migrationAllowed
Required

Indicates whether migration can be safely performed If migrationAllowed is False, the disallowReason will contain the specific condition that makes the migration attempt unsafe.

disallowReason
Optional

The IscsiStatus data object describes the status of an operation.

dependency
Optional

Details of all the resources affected by migration.