PoolsImpl Class
- java.
lang. Object - com.
microsoft. azure. management. resources. fluentcore. arm. collection. implementation. ExternalChildResourcesCachedImpl<PoolImpl, Pool, PoolInner, BatchAccountImpl, BatchAccount> - com.
microsoft. azure. management. batch. implementation. PoolsImpl
- com.
- com.
public class PoolsImpl
Represents a pool collection associated with a batch account.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
addPool(PoolImpl pool)
Add a new pool. |
Map<String, Pool> |
asMap()
Return pool collection as map. |
Pool |
define(String name)
Define a new pool. |
List<Pool |
listChildResources() |
Pool |
newChildResource(String name) |
void |
remove(String name)
Remove the pool. |
Pool |
update(String name)
Update the pool. |
Method Details
addPool
public void addPool(PoolImpl pool)
Add a new pool.
Parameters:
asMap
public Map
Return pool collection as map.
Returns:
define
public PoolImpl define(String name)
Define a new pool.
Parameters:
Returns:
listChildResources
protected List
newChildResource
protected PoolImpl newChildResource(String name)
Parameters:
remove
public void remove(String name)
Remove the pool.
Parameters:
update
public PoolImpl update(String name)
Update the pool.
Parameters:
Returns:
Applies to
Azure SDK for Java