public class DeploymentServer extends Entity
DeploymentServer
class represents a Splunk deployment server,
and provides access to the configurations of all deployment servers.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getWhitelistByIndex(int index)
Returns inclusive criteria for determining deployment client access to
this deployment server.
|
void |
setDisabled(boolean disabled)
Sets whether the deployment server is enabled or disabled.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
public java.lang.String getWhitelistByIndex(int index)
index
- The index of the whitelist entry to return.null
if not
specified.public void setDisabled(boolean disabled)
Note: Using this method requires you to restart Splunk before this
setting takes effect. To avoid restarting Splunk, use the
Entity.disable
and Entity.enable
methods instead, which
take effect immediately.
disabled
- true
to disable the deployment client,
false
to enable it.Entity.disable()
,
Entity.enable()