Host Storage System Remove Internet Scsi Send Targets
Removes Send Target entries from the host bus adapter discovery list.
The DiscoveryProperty.sendTargetsDiscoveryEnabled must be set to true. If any of the targets provided as parameters are not found in the existing list, the other targets are removed and an exception is thrown.
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.3.0 APIs.
Show optional properties
{
"iScsiHbaDevice": "string",
"targets": [
{
"address": "string"
}
]
}
{
"iScsiHbaDevice": "string",
"targets": [
{
"_typeName": "string",
"address": "string",
"port": 0,
"authenticationProperties": {
"_typeName": "string",
"chapAuthEnabled": false,
"chapName": "string",
"chapSecret": "string",
"chapAuthenticationType": "string",
"chapInherited": false,
"mutualChapName": "string",
"mutualChapSecret": "string",
"mutualChapAuthenticationType": "string",
"mutualChapInherited": false
},
"digestProperties": {
"_typeName": "string",
"headerDigestType": "string",
"headerDigestInherited": false,
"dataDigestType": "string",
"dataDigestInherited": false
},
"supportedAdvancedOptions": [
{
"_typeName": "string",
"label": "string",
"summary": "string",
"key": "string",
"optionType": {
"_typeName": "string",
"valueIsReadonly": false
}
}
],
"advancedOptions": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
},
"isInherited": false
}
],
"parent": "string"
}
],
"force": false
}
The device of the Internet SCSI HBA adapter.
flag for forced removal of iSCSI send targets. If unset, force flag will be treated as false.
Since: vSphere API Release 7.0.1.0
No Content
NotFound: if at least one target was not found.
HostConfigFault: for all other configuration failures.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}