Represents an entity accessible through Splunk's REST API.
package | Splunk |
---|
getContent() : array
array
The properties of this entity.getName() : string
string
The name of this entity.
This name can be used to lookup this entity
from its collection.getNamespace() : \Splunk_Namespace
\Splunk_Namespace
The non-wildcarded namespace in which this
entity resides.offsetExists(string $key) : string
string
The name of an entity property.
string
Whether the specified entity property exists.offsetGet(string $key) : string
string
The name of an entity property.
string
The value of the specified entity property.sendDelete(string $relativePath, array $args) : \Splunk_HttpResponse
see | \Splunk_Http::delete() |
---|---|
inherited_from | \Splunk_Endpoint::sendDelete() |
string
relative URL path.
array
(optional) query parameters, merged with {
namespace: (optional) namespace to use, or NULL to use
the context's default namespace.
}
\Splunk_IOException |
---|
\Splunk_HttpResponse
sendGet(string $relativePath, array $args) : \Splunk_HttpResponse
see | \Splunk_Http::get() |
---|---|
inherited_from | \Splunk_Endpoint::sendGet() |
string
relative URL path.
array
(optional) query parameters, merged with {
namespace: (optional) namespace to use, or NULL to use
the context's default namespace.
}
\Splunk_IOException |
---|
\Splunk_HttpResponse
sendPost(string $relativePath, array $args) : \Splunk_HttpResponse
see | \Splunk_Http::post() |
---|---|
inherited_from | \Splunk_Endpoint::sendPost() |
string
relative URL path.
array
(optional) form parameters to send in the request
body, merged with {
namespace: (optional) namespace to use, or NULL to use
the context's default namespace.
}
\Splunk_IOException |
---|
\Splunk_HttpResponse
update(array $args) : \Splunk_Entity
Note that the "name" property cannot be updated.
array
Dictionary of properties that will be changed, along with their new values.
\Splunk_IOException |
---|
\Splunk_Entity
This entity.extractEntryFromRootXmlElement($xml)
fetch($fetchArgs)
getSearchNamespace() : \Splunk_Namespace | NULL
\Splunk_Namespace
NULL
The namespace in which this endpoint
resides, or NULL to use the context's
default namespace.
Possibly a non-exact namespace.getTitle() : string
string
The title of this entity in the REST API.isLoaded()
validate($fetchArgs) : \Splunk_Entity
Returns self.
\Splunk_IOException |
---|
\Splunk_Entity
This entity.parseContentsFromEntry()
sendSimpleRequest($method, $relativePath, $args)
inherited_from | \Splunk_Endpoint::sendSimpleRequest() |
---|
$path
inherited_from | \Splunk_Endpoint::$$path |
---|
$service
inherited_from | \Splunk_Endpoint::$$service |
---|
$content
$entry
$loaded
$namespace