HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 53 Message Body JSON Objects for Host Modification Request (continued)
DescriptionIgnored ValuesAPI TypeJSON TypeMember
The ID of the persona
to modify the host’s
persona to.
Zero and negative
values
hostPersona Enumnumberpersona
(Since WSAPI 1.2)
The description of the
host.
Nulldescriptors objectHostDescriptorsdescriptors
(Since WSAPI 1.2)
Add or remove.Zero and negative
values
hostEditOperation EnumnumberchapOperation
(Since WSAPI 1.2)
Initiator or target.Zero and negative
values
hostChapOperationMode
Enum
numberchapOperationMode
(Since WSAPI 1.2)
The chap name.NullName223stringchapName
(Since WSAPI 1.2)
The chap secret for
the host or the target
NullstringstringchapSecret
(Since WSAPI 1.2)
If True, then
chapSecret is
treated as Hex.
NoneBooleanchapSecretHex
(Since WSAPI 1.2)
if True, then remove
target chap only.
NoneBooleanchapRemoveTargetOnly
(Since WSAPI 1.2)
Table 54 (page 76) shows the hostEditOperation enumeration for the chapOperation and
pathOperation JSON objects.
Table 54 Host hostEditOperation Enumeration
DescriptionValueSymbol
Add host chap or path.1ADD
(Since WSAPI 1.2)
Remove host chap or path.2REMOVE
(Since WSAPI 1.2)
Table 55 (page 76) shows the enumeration for the chapOperationMode JSON object.
Table 55 Host chapOperationMode Enumeration
DescriptionValueSymbol
Set the initiator CHAP authentication
information on the host.
1INITIATOR
(Since WSAPI 1.2)
Set the target CHAP authentication
information on the host.
2TARGET
(Since WSAPI 1.2)
76 Working with Hosts