Example – HP Intelligent Management Center Licenses User Manual

Page 172

Advertising
background image

Message body

<list>
<sshParamTemplate>
<id>101</id>
<type>2</type>
<name>101</name>
<authType>0</authType>
<authTypeStr>Password</authTypeStr>
<userName>admin</userName>
<password/>
<port>22</port>
<timeout>10</timeout>
<retries>3</retries>
<keyFileName/>
<keyPhrase/>
<superPassword/>
<link href="http://localhost:8080/imcrs/plat/res/ssh/101" op="GET" rel="self"/>
</sshParamTemplate>
...
<link rel="next" href="http://imc_host:port/imcrs/plat/res/ssh?start=10&size=10"/>
</list>

For the description on each field of the returned value, see “

Query SSH Template Information

.”

Example

Query SSH template information list.

Request

GET http://imc_host:8080/imcrs/plat/res/ssh
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<sshParamTemplate>
<id>101</id>
<type>2</type>
<name>101</name>
<authType>0</authType>
<authTypeStr>Password</authTypeStr>
<userName>admin</userName>
<password/>
<port>22</port>
<timeout>10</timeout>
<retries>3</retries>
<keyFileName/>
<keyPhrase/>
<superPassword/>
<link href="http://localhost:8080/imcrs/plat/res/ssh/101" op="GET" rel="self"/>
</sshParamTemplate>
...
</list>

172

Network Resource Management

Advertising