com.splunk
Class LicensePoolCollection
java.lang.Object
com.splunk.Resource
com.splunk.ResourceCollection<T>
com.splunk.EntityCollection<LicensePool>
com.splunk.LicensePoolCollection
- All Implemented Interfaces:
- java.util.Map<java.lang.String,LicensePool>
public class LicensePoolCollection
- extends EntityCollection<LicensePool>
The LicensePoolCollection
class represents a collection of license
pools.
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Method Summary |
LicensePool |
create(java.lang.String name,
java.lang.String quota,
java.lang.String stackId)
Creates a license pool. |
LicensePool |
create(java.lang.String name,
java.lang.String quota,
java.lang.String stackId,
java.util.Map args)
Creates a license pool. |
Methods inherited from class com.splunk.ResourceCollection |
clear, containsKey, containsKey, containsValue, createItem, createItem, entrySet, equals, get, get, hashCode, isEmpty, itemKey, itemPath, keySet, list, put, putAll, refresh, remove, size, validate, values, valueSize |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
create
public LicensePool create(java.lang.String name,
java.lang.String quota,
java.lang.String stackId)
- Creates a license pool.
- Parameters:
name
- The name of the new license pool.quota
- The indexing quota of this license pool, specified as:
- number
- number followed by "MB" or "GB" (for example, "10GB")
- "MAX" (Only one license pool can have "MAX" size in a stack.)
stackId
- The stack ID corresponding to this license pool.
- Returns:
- The new license pool.
create
public LicensePool create(java.lang.String name,
java.lang.String quota,
java.lang.String stackId,
java.util.Map args)
- Creates a license pool.
- Parameters:
name
- The name of the new license pool.quota
- The indexing quota of this license pool, specified as:
- number
- number followed by "MB" or "GB" (for example, "10GB")
- "MAX" (Only one license pool can have "MAX" size in a stack.)
stackId
- The stack ID corresponding to this license pool.args
- Optional arguments ("description" and "slaves").
- Returns:
- The new license pool.