Solarwinds Orion SDK
为Java返回设备列表。这个
sample
代码为:
package com.solarwinds.orionsdk.discovery;
public class Credential {
private int credentialId;
private int order;
public Credential(int credentialId, int order) {
setCredentialId(credentialId);
setOrder(order);
}
public int getCredentialId() {
return credentialId;
}
public void setCredentialId(int credentialId) {
this.credentialId = credentialId;
}
public int getOrder() {
return order;
}
public void setOrder(int order) {
this.order = order;
}
}
1)我需要一个
ssh
authenticate
,或者只是我的用户密码?
2.)只需在用于GUI管理的服务器上运行这个命令?
3)需要采取哪些措施来允许
API
或
SDK
访问服务器?
然而,我甚至不确定我是否在寻找合适的示例代码。