public class ViPRSystemClient
extends java.lang.Object
Constructor and Description |
---|
ViPRSystemClient() |
ViPRSystemClient(ClientConfig config) |
ViPRSystemClient(java.lang.String host)
Convenience method for calling constructor with new ClientConfig().withHost(host)
|
ViPRSystemClient(java.lang.String host,
boolean ignoreCertificates)
Convenience method for calling constructor with new ClientConfig().withHost(host).withIgnoringCertificates(ignoreCertificates)
|
Modifier and Type | Method and Description |
---|---|
AuthClient |
auth() |
Backup |
backup() |
CallHome |
callHome() |
Config |
config() |
Control |
control() |
HealthMonitor |
health() |
IPsec |
ipsec() |
Licensing |
license() |
Logs |
logs() |
Password |
password() |
void |
setAuthToken(java.lang.String authToken)
Sets the authentication token to be used for this client.
|
Upgrade |
upgrade() |
ViPRSystemClient |
withAuthToken(java.lang.String token)
Sets the authentication token and returns the updated client.
|
ViPRSystemClient |
withLogin(java.lang.String username,
java.lang.String password)
Performs an authentication login and returns the updated client.
|
public ViPRSystemClient()
public ViPRSystemClient(java.lang.String host)
host
- Hostname or IP address for the Virtual IP of the target environment.public ViPRSystemClient(java.lang.String host, boolean ignoreCertificates)
host
- Hostname or IP address for the Virtual IP of the target environment.ignoreCertificates
- True if SSL certificates should be ignored.public ViPRSystemClient(ClientConfig config)
public void setAuthToken(java.lang.String authToken)
authToken
- The authentication token to set.public ViPRSystemClient withAuthToken(java.lang.String token)
token
- The authentication token to set.setAuthToken(String)
public ViPRSystemClient withLogin(java.lang.String username, java.lang.String password)
username
- The username.password
- The password.AuthClient.login(String, String)
public AuthClient auth()
public CallHome callHome()
public Config config()
public Control control()
public HealthMonitor health()
public Licensing license()
public Logs logs()
public Password password()
public Upgrade upgrade()
public Backup backup()
public IPsec ipsec()