Example, Request, Response – HP Intelligent Management Center Licenses User Manual

Page 174

Advertising
background image

sshParamTemplate sub-elements

Authentication mode description.

authTypeStr

String type.

Username.

userName

String type.

Timeout time.

timeout

Integer type.

Number of retries.

retries

Integer type.

Password.

password

String type.

Port.

port

Integer type.

Key file name for key authentication.

keyFileName

String type.

Key phrase for key authentication.

keyPhrase

String type.

Super password.

superPassword

String type.

Example

Query SSH template information with the template ID 101.

Request

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

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<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>

174

Network Resource Management

Advertising