PoolsInner Class
- java.
lang. Object - com.
microsoft. azure. management. batch. implementation. PoolsInner
- com.
public class PoolsInner
An instance of this class provides access to all the operations defined in Pools.
Constructor Summary
Constructor | Description |
---|---|
PoolsInner(Retrofit retrofit, BatchManagementClientImpl client) |
Initializes an instance of PoolsInner. |
Method Summary
Constructor Details
PoolsInner
public PoolsInner(Retrofit retrofit, BatchManagementClientImpl client)
Initializes an instance of PoolsInner.
Parameters:
Method Details
beginDelete
public void beginDelete(String resourceGroupName, String accountName, String poolName)
Deletes the specified pool.
Parameters:
Throws:
beginDeleteAsync
public Observable
Deletes the specified pool.
Parameters:
Returns:
Throws:
beginDeleteAsync
public ServiceFuture
Deletes the specified pool.
Parameters:
Returns:
Throws:
beginDeleteWithServiceResponseAsync
public Observable
Deletes the specified pool.
Parameters:
Returns:
Throws:
create
public PoolInner create(String resourceGroupName, String accountName, String poolName, PoolInner parameters)
Creates a new pool inside the specified account.
Parameters:
Returns:
Throws:
create
public PoolInner create(String resourceGroupName, String accountName, String poolName, PoolInner parameters, String ifMatch, String ifNoneMatch)
Creates a new pool inside the specified account.
Parameters:
Returns:
Throws:
createAsync
public Observable
Creates a new pool inside the specified account.
Parameters:
Returns:
Throws:
createAsync
public ServiceFuture
Creates a new pool inside the specified account.
Parameters:
Returns:
Throws:
createAsync
public Observable
Creates a new pool inside the specified account.
Parameters:
Returns:
Throws:
createAsync
public ServiceFuture
Creates a new pool inside the specified account.
Parameters:
Returns:
Throws:
createWithServiceResponseAsync
public Observable
Creates a new pool inside the specified account.
Parameters:
Returns:
Throws:
createWithServiceResponseAsync
public Observable
Creates a new pool inside the specified account.
Parameters:
Returns:
Throws:
delete
public void delete(String resourceGroupName, String accountName, String poolName)
Deletes the specified pool.
Parameters:
Throws:
deleteAsync
public Observable
Deletes the specified pool.
Parameters:
Returns:
Throws:
deleteAsync
public ServiceFuture
Deletes the specified pool.
Parameters:
Returns:
Throws:
deleteWithServiceResponseAsync
public Observable
Deletes the specified pool.
Parameters:
Returns:
Throws:
disableAutoScale
public PoolInner disableAutoScale(String resourceGroupName, String accountName, String poolName)
Disables automatic scaling for a pool.
Parameters:
Returns:
Throws:
disableAutoScaleAsync
public Observable
Disables automatic scaling for a pool.
Parameters:
Returns:
Throws:
disableAutoScaleAsync
public ServiceFuture
Disables automatic scaling for a pool.
Parameters:
Returns:
Throws:
disableAutoScaleWithServiceResponseAsync
public Observable
Disables automatic scaling for a pool.
Parameters:
Returns:
Throws:
get
public PoolInner get(String resourceGroupName, String accountName, String poolName)
Gets information about the specified pool.
Parameters:
Returns:
Throws:
getAsync
public Observable
Gets information about the specified pool.
Parameters:
Returns:
Throws:
getAsync
public ServiceFuture
Gets information about the specified pool.
Parameters:
Returns:
Throws:
getWithServiceResponseAsync
public Observable
Gets information about the specified pool.
Parameters:
Returns:
Throws:
listByBatchAccount
public PagedList
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccount
public PagedList
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountAsync
public Observable
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountAsync
public Observable
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountAsync
public ServiceFuture> listByBatchAccountAsync(final String resourceGroupName, final String accountName, final Integer maxresults, final String select, final String filter, final ListOperationCallback
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountAsync
public ServiceFuture> listByBatchAccountAsync(final String resourceGroupName, final String accountName, final ListOperationCallback
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountNext
public PagedList
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountNextAsync
public Observable
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountNextAsync
public ServiceFuture> listByBatchAccountNextAsync(final String nextPageLink, final ServiceFuture
> serviceFuture, final ListOperationCallback
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountNextSinglePageAsync
public Observable
Lists all of the pools in the specified account.
ServiceResponse<PageImpl<PoolInner>> *
Parameters:
Returns:
Throws:
listByBatchAccountNextWithServiceResponseAsync
public Observable
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountSinglePageAsync
public Observable
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountSinglePageAsync
public Observable
Lists all of the pools in the specified account.
ServiceResponse<PageImpl<PoolInner>> *
Parameters:
Returns:
Throws:
listByBatchAccountWithServiceResponseAsync
public Observable
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
listByBatchAccountWithServiceResponseAsync
public Observable
Lists all of the pools in the specified account.
Parameters:
Returns:
Throws:
stopResize
public 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:
Throws:
stopResizeAsync
public Observable
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:
Throws:
stopResizeAsync
public ServiceFuture
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:
Throws:
stopResizeWithServiceResponseAsync
public Observable
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:
Throws:
update
public PoolInner update(String resourceGroupName, String accountName, String poolName, PoolInner parameters)
Updates the properties of an existing pool.
Parameters:
Returns:
Throws:
update
public PoolInner update(String resourceGroupName, String accountName, String poolName, PoolInner parameters, String ifMatch)
Updates the properties of an existing pool.
Parameters:
Returns:
Throws:
updateAsync
public Observable
Updates the properties of an existing pool.
Parameters:
Returns:
Throws:
updateAsync
public ServiceFuture
Updates the properties of an existing pool.
Parameters:
Returns:
Throws:
updateAsync
public Observable
Updates the properties of an existing pool.
Parameters:
Returns:
Throws:
updateAsync
public ServiceFuture
Updates the properties of an existing pool.
Parameters:
Returns:
Throws:
updateWithServiceResponseAsync
public Observable
Updates the properties of an existing pool.
Parameters:
Returns:
Throws:
updateWithServiceResponseAsync
public Observable
Updates the properties of an existing pool.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java