Host Storage System Remove Internet Scsi Static Targets
Removes static target entries from the host bus adapter discovery list.
The DiscoveryProperty.staticTargetDiscoveryEnabled 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",
"iScsiName": "string"
}
]
}
{
"iScsiHbaDevice": "string",
"targets": [
{
"_typeName": "string",
"address": "string",
"port": 0,
"iScsiName": "string",
"discoveryMethod": "string",
"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"
}
]
}
The device of the Internet SCSI HBA adapter.
An array of iSCSI static targets to remove.
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"
}
]
}