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

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.

PoolImpl define(String name)

Define a new pool.

List<PoolImpl> listChildResources()
PoolImpl newChildResource(String name)
void remove(String name)

Remove the pool.

PoolImpl update(String name)

Update the pool.

Method Details

addPool

public void addPool(PoolImpl pool)

Add a new pool.

Parameters:

pool - the pool to add

asMap

public Map asMap()

Return pool collection as map.

Returns:

the map of pool.

define

public PoolImpl define(String name)

Define a new pool.

Parameters:

name - pool name value

Returns:

poolImpl

listChildResources

protected List listChildResources()

newChildResource

protected PoolImpl newChildResource(String name)

Parameters:

name

remove

public void remove(String name)

Remove the pool.

Parameters:

name - pool name value

update

public PoolImpl update(String name)

Update the pool.

Parameters:

name - pool name value

Returns:

poolImpl

Applies to