PoolsClient Interface
public interface PoolsClient
An instance of this class provides access to all the operations defined in PoolsClient.
Method Summary
Method Details
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String poolName)
Deletes the specified pool.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String poolName, Context context)
Deletes the specified pool.
Parameters:
Returns:
create
public abstract PoolInner create(String resourceGroupName, String accountName, String poolName, PoolInner parameters)
Creates a new pool inside the specified account.
Parameters:
Returns:
createWithResponse
public abstract PoolsCreateResponse createWithResponse(String resourceGroupName, String accountName, String poolName, PoolInner parameters, String ifMatch, String ifNoneMatch, Context context)
Creates a new pool inside the specified account.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String accountName, String poolName)
Deletes the specified pool.
Parameters:
delete
public abstract void delete(String resourceGroupName, String accountName, String poolName, Context context)
Deletes the specified pool.
Parameters:
disableAutoScale
public abstract PoolInner disableAutoScale(String resourceGroupName, String accountName, String poolName)
Disables automatic scaling for a pool.
Parameters:
Returns:
disableAutoScaleWithResponse
public abstract PoolsDisableAutoScaleResponse disableAutoScaleWithResponse(String resourceGroupName, String accountName, String poolName, Context context)
Disables automatic scaling for a pool.
Parameters:
Returns:
get
public abstract PoolInner get(String resourceGroupName, String accountName, String poolName)
Gets information about the specified pool.
Parameters:
Returns:
getWithResponse
public abstract PoolsGetResponse getWithResponse(String resourceGroupName, String accountName, String poolName, Context context)
Gets information about the specified pool.
Parameters:
Returns:
listByBatchAccount
public abstract PagedIterable<PoolInner> listByBatchAccount(String resourceGroupName, String accountName)
Lists all of the pools in the specified account.
Parameters:
Returns:
listByBatchAccount
public abstract PagedIterable<PoolInner> listByBatchAccount(String resourceGroupName, String accountName, Integer maxresults, String select, String filter, Context context)
Lists all of the pools in the specified account.
Parameters:
Returns:
stopResize
public abstract PoolInner stopResize(String resourceGroupName, String accountName, String poolName)
Stops an ongoing resize operation on the pool. This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.
Parameters:
Returns:
stopResizeWithResponse
public abstract PoolsStopResizeResponse stopResizeWithResponse(String resourceGroupName, String accountName, String poolName, Context context)
Stops an ongoing resize operation on the pool. This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.
Parameters:
Returns:
update
public abstract PoolInner update(String resourceGroupName, String accountName, String poolName, PoolInner parameters)
Updates the properties of an existing pool.
Parameters:
Returns:
updateWithResponse
public abstract PoolsUpdateResponse updateWithResponse(String resourceGroupName, String accountName, String poolName, PoolInner parameters, String ifMatch, Context context)
Updates the properties of an existing pool.
Parameters:
Returns: