Pools Interface

public interface Pools

An instance of this class provides access to all the operations defined in Pools.

Method Summary

Modifier and Type Method and Description
abstract void add(PoolAddParameter pool)

Adds a Pool to the specified Account.

abstract void add(PoolAddParameter pool, PoolAddOptions poolAddOptions)

Adds a Pool to the specified Account.

abstract rx.Observable<Void> addAsync(PoolAddParameter pool)

Adds a Pool to the specified Account.

abstract rx.Observable<Void> addAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions)

Adds a Pool to the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> addAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions, ServiceCallback<Void> serviceCallback)

Adds a Pool to the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> addAsync(PoolAddParameter pool, ServiceCallback<Void> serviceCallback)

Adds a Pool to the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolAddHeaders>> addWithServiceResponseAsync(PoolAddParameter pool)

Adds a Pool to the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolAddHeaders>> addWithServiceResponseAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions)

Adds a Pool to the specified Account.

abstract void delete(String poolId)

Deletes a Pool from the specified Account.

abstract void delete(String poolId, PoolDeleteOptions poolDeleteOptions)

Deletes a Pool from the specified Account.

abstract rx.Observable<Void> deleteAsync(String poolId)

Deletes a Pool from the specified Account.

abstract rx.Observable<Void> deleteAsync(String poolId, PoolDeleteOptions poolDeleteOptions)

Deletes a Pool from the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> deleteAsync(String poolId, PoolDeleteOptions poolDeleteOptions, ServiceCallback<Void> serviceCallback)

Deletes a Pool from the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> deleteAsync(String poolId, ServiceCallback<Void> serviceCallback)

Deletes a Pool from the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDeleteHeaders>> deleteWithServiceResponseAsync(String poolId)

Deletes a Pool from the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDeleteHeaders>> deleteWithServiceResponseAsync(String poolId, PoolDeleteOptions poolDeleteOptions)

Deletes a Pool from the specified Account.

abstract void disableAutoScale(String poolId)

Disables automatic scaling for a Pool.

abstract void disableAutoScale(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)

Disables automatic scaling for a Pool.

abstract rx.Observable<Void> disableAutoScaleAsync(String poolId)

Disables automatic scaling for a Pool.

abstract rx.Observable<Void> disableAutoScaleAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)

Disables automatic scaling for a Pool.

abstract com.microsoft.rest.ServiceFuture<Void> disableAutoScaleAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions, ServiceCallback<Void> serviceCallback)

Disables automatic scaling for a Pool.

abstract com.microsoft.rest.ServiceFuture<Void> disableAutoScaleAsync(String poolId, ServiceCallback<Void> serviceCallback)

Disables automatic scaling for a Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDisableAutoScaleHeaders>> disableAutoScaleWithServiceResponseAsync(String poolId)

Disables automatic scaling for a Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDisableAutoScaleHeaders>> disableAutoScaleWithServiceResponseAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)

Disables automatic scaling for a Pool.

abstract void enableAutoScale(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter)

Enables automatic scaling for a Pool.

abstract void enableAutoScale(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions)

Enables automatic scaling for a Pool.

abstract rx.Observable<Void> enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter)

Enables automatic scaling for a Pool.

abstract rx.Observable<Void> enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions)

Enables automatic scaling for a Pool.

abstract com.microsoft.rest.ServiceFuture<Void> enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions, ServiceCallback<Void> serviceCallback)

Enables automatic scaling for a Pool.

abstract com.microsoft.rest.ServiceFuture<Void> enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, ServiceCallback<Void> serviceCallback)

Enables automatic scaling for a Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolEnableAutoScaleHeaders>> enableAutoScaleWithServiceResponseAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter)

Enables automatic scaling for a Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolEnableAutoScaleHeaders>> enableAutoScaleWithServiceResponseAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions)

Enables automatic scaling for a Pool.

abstract AutoScaleRun evaluateAutoScale(String poolId, String autoScaleFormula)

Gets the result of evaluating an automatic scaling formula on the Pool.

abstract AutoScaleRun evaluateAutoScale(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions)

Gets the result of evaluating an automatic scaling formula on the Pool.

abstract rx.Observable<AutoScaleRun> evaluateAutoScaleAsync(String poolId, String autoScaleFormula)

Gets the result of evaluating an automatic scaling formula on the Pool.

abstract rx.Observable<AutoScaleRun> evaluateAutoScaleAsync(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions)

Gets the result of evaluating an automatic scaling formula on the Pool.

abstract com.microsoft.rest.ServiceFuture<AutoScaleRun> evaluateAutoScaleAsync(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions, ServiceCallback<AutoScaleRun> serviceCallback)

Gets the result of evaluating an automatic scaling formula on the Pool.

abstract com.microsoft.rest.ServiceFuture<AutoScaleRun> evaluateAutoScaleAsync(String poolId, String autoScaleFormula, ServiceCallback<AutoScaleRun> serviceCallback)

Gets the result of evaluating an automatic scaling formula on the Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<AutoScaleRun,PoolEvaluateAutoScaleHeaders>> evaluateAutoScaleWithServiceResponseAsync(String poolId, String autoScaleFormula)

Gets the result of evaluating an automatic scaling formula on the Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<AutoScaleRun,PoolEvaluateAutoScaleHeaders>> evaluateAutoScaleWithServiceResponseAsync(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions)

Gets the result of evaluating an automatic scaling formula on the Pool.

abstract boolean exists(String poolId)

Gets basic properties of a Pool.

abstract boolean exists(String poolId, PoolExistsOptions poolExistsOptions)

Gets basic properties of a Pool.

abstract rx.Observable<Boolean> existsAsync(String poolId)

Gets basic properties of a Pool.

abstract rx.Observable<Boolean> existsAsync(String poolId, PoolExistsOptions poolExistsOptions)

Gets basic properties of a Pool.

abstract com.microsoft.rest.ServiceFuture<Boolean> existsAsync(String poolId, PoolExistsOptions poolExistsOptions, ServiceCallback<Boolean> serviceCallback)

Gets basic properties of a Pool.

abstract com.microsoft.rest.ServiceFuture<Boolean> existsAsync(String poolId, ServiceCallback<Boolean> serviceCallback)

Gets basic properties of a Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,PoolExistsHeaders>> existsWithServiceResponseAsync(String poolId)

Gets basic properties of a Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,PoolExistsHeaders>> existsWithServiceResponseAsync(String poolId, PoolExistsOptions poolExistsOptions)

Gets basic properties of a Pool.

abstract CloudPool get(String poolId)

Gets information about the specified Pool.

abstract CloudPool get(String poolId, PoolGetOptions poolGetOptions)

Gets information about the specified Pool.

abstract rx.Observable<CloudPool> getAsync(String poolId)

Gets information about the specified Pool.

abstract rx.Observable<CloudPool> getAsync(String poolId, PoolGetOptions poolGetOptions)

Gets information about the specified Pool.

abstract com.microsoft.rest.ServiceFuture<CloudPool> getAsync(String poolId, PoolGetOptions poolGetOptions, ServiceCallback<CloudPool> serviceCallback)

Gets information about the specified Pool.

abstract com.microsoft.rest.ServiceFuture<CloudPool> getAsync(String poolId, ServiceCallback<CloudPool> serviceCallback)

Gets information about the specified Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudPool,PoolGetHeaders>> getWithServiceResponseAsync(String poolId)

Gets information about the specified Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudPool,PoolGetHeaders>> getWithServiceResponseAsync(String poolId, PoolGetOptions poolGetOptions)

Gets information about the specified Pool.

abstract com.microsoft.azure.PagedList<CloudPool> list()

Lists all of the Pools in the specified Account.

abstract com.microsoft.azure.PagedList<CloudPool> list(PoolListOptions poolListOptions)

Lists all of the Pools in the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<CloudPool>> listAsync()

Lists all of the Pools in the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<CloudPool>> listAsync(ListOperationCallback<CloudPool> serviceCallback)

Lists all of the Pools in the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<CloudPool>> listAsync(PoolListOptions poolListOptions)

Lists all of the Pools in the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<CloudPool>> listAsync(PoolListOptions poolListOptions, ListOperationCallback<CloudPool> serviceCallback)

Lists all of the Pools in the specified Account.

abstract com.microsoft.azure.PagedList<CloudPool> listNext(String nextPageLink)

Lists all of the Pools in the specified Account.

abstract com.microsoft.azure.PagedList<CloudPool> listNext(String nextPageLink, PoolListNextOptions poolListNextOptions)

Lists all of the Pools in the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<CloudPool>> listNextAsync(String nextPageLink)

Lists all of the Pools in the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<CloudPool>> listNextAsync(String nextPageLink, PoolListNextOptions poolListNextOptions)

Lists all of the Pools in the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<CloudPool>> listNextAsync(String nextPageLink, PoolListNextOptions poolListNextOptions, ServiceFuture<List<CloudPool>> serviceFuture, ListOperationCallback<CloudPool> serviceCallback)

Lists all of the Pools in the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<CloudPool>> listNextAsync(String nextPageLink, ServiceFuture<List<CloudPool>> serviceFuture, ListOperationCallback<CloudPool> serviceCallback)

Lists all of the Pools in the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,PoolListHeaders>> listNextWithServiceResponseAsync(String nextPageLink)

Lists all of the Pools in the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,PoolListHeaders>> listNextWithServiceResponseAsync(String nextPageLink, PoolListNextOptions poolListNextOptions)

Lists all of the Pools in the specified Account.

abstract com.microsoft.azure.PagedList<PoolUsageMetrics> listUsageMetrics()

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract com.microsoft.azure.PagedList<PoolUsageMetrics> listUsageMetrics(PoolListUsageMetricsOptions poolListUsageMetricsOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<PoolUsageMetrics>> listUsageMetricsAsync()

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> listUsageMetricsAsync(ListOperationCallback<PoolUsageMetrics> serviceCallback)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<PoolUsageMetrics>> listUsageMetricsAsync(PoolListUsageMetricsOptions poolListUsageMetricsOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> listUsageMetricsAsync(PoolListUsageMetricsOptions poolListUsageMetricsOptions, ListOperationCallback<PoolUsageMetrics> serviceCallback)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract com.microsoft.azure.PagedList<PoolUsageMetrics> listUsageMetricsNext(String nextPageLink)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract com.microsoft.azure.PagedList<PoolUsageMetrics> listUsageMetricsNext(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<PoolUsageMetrics>> listUsageMetricsNextAsync(String nextPageLink)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<PoolUsageMetrics>> listUsageMetricsNextAsync(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> listUsageMetricsNextAsync(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions, ServiceFuture<List<PoolUsageMetrics>> serviceFuture, ListOperationCallback<PoolUsageMetrics> serviceCallback)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> listUsageMetricsNextAsync(String nextPageLink, ServiceFuture<List<PoolUsageMetrics>> serviceFuture, ListOperationCallback<PoolUsageMetrics> serviceCallback)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolUsageMetrics>,PoolListUsageMetricsHeaders>> listUsageMetricsNextWithServiceResponseAsync(String nextPageLink)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolUsageMetrics>,PoolListUsageMetricsHeaders>> listUsageMetricsNextWithServiceResponseAsync(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolUsageMetrics>,PoolListUsageMetricsHeaders>> listUsageMetricsWithServiceResponseAsync()

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolUsageMetrics>,PoolListUsageMetricsHeaders>> listUsageMetricsWithServiceResponseAsync(PoolListUsageMetricsOptions poolListUsageMetricsOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,PoolListHeaders>> listWithServiceResponseAsync()

Lists all of the Pools in the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,PoolListHeaders>> listWithServiceResponseAsync(PoolListOptions poolListOptions)

Lists all of the Pools in the specified Account.

abstract void patch(String poolId, PoolPatchParameter poolPatchParameter)

Updates the properties of the specified Pool.

abstract void patch(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)

Updates the properties of the specified Pool.

abstract rx.Observable<Void> patchAsync(String poolId, PoolPatchParameter poolPatchParameter)

Updates the properties of the specified Pool.

abstract rx.Observable<Void> patchAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)

Updates the properties of the specified Pool.

abstract com.microsoft.rest.ServiceFuture<Void> patchAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions, ServiceCallback<Void> serviceCallback)

Updates the properties of the specified Pool.

abstract com.microsoft.rest.ServiceFuture<Void> patchAsync(String poolId, PoolPatchParameter poolPatchParameter, ServiceCallback<Void> serviceCallback)

Updates the properties of the specified Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolPatchHeaders>> patchWithServiceResponseAsync(String poolId, PoolPatchParameter poolPatchParameter)

Updates the properties of the specified Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolPatchHeaders>> patchWithServiceResponseAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)

Updates the properties of the specified Pool.

abstract void removeNodes(String poolId, NodeRemoveParameter nodeRemoveParameter)

Removes Compute Nodes from the specified Pool.

abstract void removeNodes(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions)

Removes Compute Nodes from the specified Pool.

abstract rx.Observable<Void> removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter)

Removes Compute Nodes from the specified Pool.

abstract rx.Observable<Void> removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions)

Removes Compute Nodes from the specified Pool.

abstract com.microsoft.rest.ServiceFuture<Void> removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions, ServiceCallback<Void> serviceCallback)

Removes Compute Nodes from the specified Pool.

abstract com.microsoft.rest.ServiceFuture<Void> removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, ServiceCallback<Void> serviceCallback)

Removes Compute Nodes from the specified Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolRemoveNodesHeaders>> removeNodesWithServiceResponseAsync(String poolId, NodeRemoveParameter nodeRemoveParameter)

Removes Compute Nodes from the specified Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolRemoveNodesHeaders>> removeNodesWithServiceResponseAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions)

Removes Compute Nodes from the specified Pool.

abstract void resize(String poolId, PoolResizeParameter poolResizeParameter)

Changes the number of Compute Nodes that are assigned to a Pool.

abstract void resize(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions)

Changes the number of Compute Nodes that are assigned to a Pool.

abstract rx.Observable<Void> resizeAsync(String poolId, PoolResizeParameter poolResizeParameter)

Changes the number of Compute Nodes that are assigned to a Pool.

abstract rx.Observable<Void> resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions)

Changes the number of Compute Nodes that are assigned to a Pool.

abstract com.microsoft.rest.ServiceFuture<Void> resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions, ServiceCallback<Void> serviceCallback)

Changes the number of Compute Nodes that are assigned to a Pool.

abstract com.microsoft.rest.ServiceFuture<Void> resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, ServiceCallback<Void> serviceCallback)

Changes the number of Compute Nodes that are assigned to a Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolResizeHeaders>> resizeWithServiceResponseAsync(String poolId, PoolResizeParameter poolResizeParameter)

Changes the number of Compute Nodes that are assigned to a Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolResizeHeaders>> resizeWithServiceResponseAsync(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions)

Changes the number of Compute Nodes that are assigned to a Pool.

abstract void stopResize(String poolId)

Stops an ongoing resize operation on the Pool.

abstract void stopResize(String poolId, PoolStopResizeOptions poolStopResizeOptions)

Stops an ongoing resize operation on the Pool.

abstract rx.Observable<Void> stopResizeAsync(String poolId)

Stops an ongoing resize operation on the Pool.

abstract rx.Observable<Void> stopResizeAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions)

Stops an ongoing resize operation on the Pool.

abstract com.microsoft.rest.ServiceFuture<Void> stopResizeAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions, ServiceCallback<Void> serviceCallback)

Stops an ongoing resize operation on the Pool.

abstract com.microsoft.rest.ServiceFuture<Void> stopResizeAsync(String poolId, ServiceCallback<Void> serviceCallback)

Stops an ongoing resize operation on the Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolStopResizeHeaders>> stopResizeWithServiceResponseAsync(String poolId)

Stops an ongoing resize operation on the Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolStopResizeHeaders>> stopResizeWithServiceResponseAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions)

Stops an ongoing resize operation on the Pool.

abstract void updateProperties(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter)

Updates the properties of the specified Pool.

abstract void updateProperties(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions)

Updates the properties of the specified Pool.

abstract rx.Observable<Void> updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter)

Updates the properties of the specified Pool.

abstract rx.Observable<Void> updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions)

Updates the properties of the specified Pool.

abstract com.microsoft.rest.ServiceFuture<Void> updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions, ServiceCallback<Void> serviceCallback)

Updates the properties of the specified Pool.

abstract com.microsoft.rest.ServiceFuture<Void> updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, ServiceCallback<Void> serviceCallback)

Updates the properties of the specified Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolUpdatePropertiesHeaders>> updatePropertiesWithServiceResponseAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter)

Updates the properties of the specified Pool.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolUpdatePropertiesHeaders>> updatePropertiesWithServiceResponseAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions)

Updates the properties of the specified Pool.

Method Details

add

public abstract void add(PoolAddParameter pool)

Adds a Pool to the specified Account. When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

pool - The Pool to be added.

add

public abstract void add(PoolAddParameter pool, PoolAddOptions poolAddOptions)

Adds a Pool to the specified Account. When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

pool - The Pool to be added.
poolAddOptions - Additional parameters for the operation

addAsync

public abstract Observable addAsync(PoolAddParameter pool)

Adds a Pool to the specified Account. When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

pool - The Pool to be added.

Returns:

the ServiceResponseWithHeaders object if successful.

addAsync

public abstract Observable addAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions)

Adds a Pool to the specified Account. When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

pool - The Pool to be added.
poolAddOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

addAsync

public abstract ServiceFuture addAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions, ServiceCallback serviceCallback)

Adds a Pool to the specified Account. When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

pool - The Pool to be added.
poolAddOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

addAsync

public abstract ServiceFuture addAsync(PoolAddParameter pool, ServiceCallback serviceCallback)

Adds a Pool to the specified Account. When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

pool - The Pool to be added.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

addWithServiceResponseAsync

public abstract Observable<>> addWithServiceResponseAsync(PoolAddParameter pool)

Adds a Pool to the specified Account. When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

pool - The Pool to be added.

Returns:

the ServiceResponseWithHeaders object if successful.

addWithServiceResponseAsync

public abstract Observable<>> addWithServiceResponseAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions)

Adds a Pool to the specified Account. When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

pool - The Pool to be added.
poolAddOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

delete

public abstract void delete(String poolId)

Deletes a Pool from the specified Account. When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.

Parameters:

poolId - The ID of the Pool to delete.

delete

public abstract void delete(String poolId, PoolDeleteOptions poolDeleteOptions)

Deletes a Pool from the specified Account. When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.

Parameters:

poolId - The ID of the Pool to delete.
poolDeleteOptions - Additional parameters for the operation

deleteAsync

public abstract Observable deleteAsync(String poolId)

Deletes a Pool from the specified Account. When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.

Parameters:

poolId - The ID of the Pool to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

deleteAsync

public abstract Observable deleteAsync(String poolId, PoolDeleteOptions poolDeleteOptions)

Deletes a Pool from the specified Account. When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.

Parameters:

poolId - The ID of the Pool to delete.
poolDeleteOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

deleteAsync

public abstract ServiceFuture deleteAsync(String poolId, PoolDeleteOptions poolDeleteOptions, ServiceCallback serviceCallback)

Deletes a Pool from the specified Account. When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.

Parameters:

poolId - The ID of the Pool to delete.
poolDeleteOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

deleteAsync

public abstract ServiceFuture deleteAsync(String poolId, ServiceCallback serviceCallback)

Deletes a Pool from the specified Account. When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.

Parameters:

poolId - The ID of the Pool to delete.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

deleteWithServiceResponseAsync

public abstract Observable<>> deleteWithServiceResponseAsync(String poolId)

Deletes a Pool from the specified Account. When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.

Parameters:

poolId - The ID of the Pool to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

deleteWithServiceResponseAsync

public abstract Observable<>> deleteWithServiceResponseAsync(String poolId, PoolDeleteOptions poolDeleteOptions)

Deletes a Pool from the specified Account. When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.

Parameters:

poolId - The ID of the Pool to delete.
poolDeleteOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

disableAutoScale

public abstract void disableAutoScale(String poolId)

Disables automatic scaling for a Pool.

Parameters:

poolId - The ID of the Pool on which to disable automatic scaling.

disableAutoScale

public abstract void disableAutoScale(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)

Disables automatic scaling for a Pool.

Parameters:

poolId - The ID of the Pool on which to disable automatic scaling.
poolDisableAutoScaleOptions - Additional parameters for the operation

disableAutoScaleAsync

public abstract Observable disableAutoScaleAsync(String poolId)

Disables automatic scaling for a Pool.

Parameters:

poolId - The ID of the Pool on which to disable automatic scaling.

Returns:

the ServiceResponseWithHeaders object if successful.

disableAutoScaleAsync

public abstract Observable disableAutoScaleAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)

Disables automatic scaling for a Pool.

Parameters:

poolId - The ID of the Pool on which to disable automatic scaling.
poolDisableAutoScaleOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

disableAutoScaleAsync

public abstract ServiceFuture disableAutoScaleAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions, ServiceCallback serviceCallback)

Disables automatic scaling for a Pool.

Parameters:

poolId - The ID of the Pool on which to disable automatic scaling.
poolDisableAutoScaleOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

disableAutoScaleAsync

public abstract ServiceFuture disableAutoScaleAsync(String poolId, ServiceCallback serviceCallback)

Disables automatic scaling for a Pool.

Parameters:

poolId - The ID of the Pool on which to disable automatic scaling.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

disableAutoScaleWithServiceResponseAsync

public abstract Observable<>> disableAutoScaleWithServiceResponseAsync(String poolId)

Disables automatic scaling for a Pool.

Parameters:

poolId - The ID of the Pool on which to disable automatic scaling.

Returns:

the ServiceResponseWithHeaders object if successful.

disableAutoScaleWithServiceResponseAsync

public abstract Observable<>> disableAutoScaleWithServiceResponseAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)

Disables automatic scaling for a Pool.

Parameters:

poolId - The ID of the Pool on which to disable automatic scaling.
poolDisableAutoScaleOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

enableAutoScale

public abstract void enableAutoScale(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter)

Enables automatic scaling for a Pool. You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.

Parameters:

poolId - The ID of the Pool on which to enable automatic scaling.
poolEnableAutoScaleParameter - The parameters for the request.

enableAutoScale

public abstract void enableAutoScale(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions)

Enables automatic scaling for a Pool. You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.

Parameters:

poolId - The ID of the Pool on which to enable automatic scaling.
poolEnableAutoScaleParameter - The parameters for the request.
poolEnableAutoScaleOptions - Additional parameters for the operation

enableAutoScaleAsync

public abstract Observable enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter)

Enables automatic scaling for a Pool. You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.

Parameters:

poolId - The ID of the Pool on which to enable automatic scaling.
poolEnableAutoScaleParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

enableAutoScaleAsync

public abstract Observable enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions)

Enables automatic scaling for a Pool. You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.

Parameters:

poolId - The ID of the Pool on which to enable automatic scaling.
poolEnableAutoScaleParameter - The parameters for the request.
poolEnableAutoScaleOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

enableAutoScaleAsync

public abstract ServiceFuture enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions, ServiceCallback serviceCallback)

Enables automatic scaling for a Pool. You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.

Parameters:

poolId - The ID of the Pool on which to enable automatic scaling.
poolEnableAutoScaleParameter - The parameters for the request.
poolEnableAutoScaleOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

enableAutoScaleAsync

public abstract ServiceFuture enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, ServiceCallback serviceCallback)

Enables automatic scaling for a Pool. You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.

Parameters:

poolId - The ID of the Pool on which to enable automatic scaling.
poolEnableAutoScaleParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

enableAutoScaleWithServiceResponseAsync

public abstract Observable<>> enableAutoScaleWithServiceResponseAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter)

Enables automatic scaling for a Pool. You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.

Parameters:

poolId - The ID of the Pool on which to enable automatic scaling.
poolEnableAutoScaleParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

enableAutoScaleWithServiceResponseAsync

public abstract Observable<>> enableAutoScaleWithServiceResponseAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions)

Enables automatic scaling for a Pool. You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.

Parameters:

poolId - The ID of the Pool on which to enable automatic scaling.
poolEnableAutoScaleParameter - The parameters for the request.
poolEnableAutoScaleOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

evaluateAutoScale

public abstract AutoScaleRun evaluateAutoScale(String poolId, String autoScaleFormula)

Gets the result of evaluating an automatic scaling formula on the Pool. This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.

Parameters:

poolId - The ID of the Pool on which to evaluate the automatic scaling formula.
autoScaleFormula - The formula for the desired number of Compute Nodes in the Pool. The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).

Returns:

the AutoScaleRun object if successful.

evaluateAutoScale

public abstract AutoScaleRun evaluateAutoScale(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions)

Gets the result of evaluating an automatic scaling formula on the Pool. This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.

Parameters:

poolId - The ID of the Pool on which to evaluate the automatic scaling formula.
autoScaleFormula - The formula for the desired number of Compute Nodes in the Pool. The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).
poolEvaluateAutoScaleOptions - Additional parameters for the operation

Returns:

the AutoScaleRun object if successful.

evaluateAutoScaleAsync

public abstract Observable evaluateAutoScaleAsync(String poolId, String autoScaleFormula)

Gets the result of evaluating an automatic scaling formula on the Pool. This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.

Parameters:

poolId - The ID of the Pool on which to evaluate the automatic scaling formula.
autoScaleFormula - The formula for the desired number of Compute Nodes in the Pool. The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).

Returns:

the observable to the AutoScaleRun object

evaluateAutoScaleAsync

public abstract Observable evaluateAutoScaleAsync(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions)

Gets the result of evaluating an automatic scaling formula on the Pool. This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.

Parameters:

poolId - The ID of the Pool on which to evaluate the automatic scaling formula.
autoScaleFormula - The formula for the desired number of Compute Nodes in the Pool. The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).
poolEvaluateAutoScaleOptions - Additional parameters for the operation

Returns:

the observable to the AutoScaleRun object

evaluateAutoScaleAsync

public abstract ServiceFuture evaluateAutoScaleAsync(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions, ServiceCallback serviceCallback)

Gets the result of evaluating an automatic scaling formula on the Pool. This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.

Parameters:

poolId - The ID of the Pool on which to evaluate the automatic scaling formula.
autoScaleFormula - The formula for the desired number of Compute Nodes in the Pool. The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).
poolEvaluateAutoScaleOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

evaluateAutoScaleAsync

public abstract ServiceFuture evaluateAutoScaleAsync(String poolId, String autoScaleFormula, ServiceCallback serviceCallback)

Gets the result of evaluating an automatic scaling formula on the Pool. This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.

Parameters:

poolId - The ID of the Pool on which to evaluate the automatic scaling formula.
autoScaleFormula - The formula for the desired number of Compute Nodes in the Pool. The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

evaluateAutoScaleWithServiceResponseAsync

public abstract Observable<>> evaluateAutoScaleWithServiceResponseAsync(String poolId, String autoScaleFormula)

Gets the result of evaluating an automatic scaling formula on the Pool. This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.

Parameters:

poolId - The ID of the Pool on which to evaluate the automatic scaling formula.
autoScaleFormula - The formula for the desired number of Compute Nodes in the Pool. The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).

Returns:

the observable to the AutoScaleRun object

evaluateAutoScaleWithServiceResponseAsync

public abstract Observable<>> evaluateAutoScaleWithServiceResponseAsync(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions)

Gets the result of evaluating an automatic scaling formula on the Pool. This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.

Parameters:

poolId - The ID of the Pool on which to evaluate the automatic scaling formula.
autoScaleFormula - The formula for the desired number of Compute Nodes in the Pool. The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).
poolEvaluateAutoScaleOptions - Additional parameters for the operation

Returns:

the observable to the AutoScaleRun object

exists

public abstract boolean exists(String poolId)

Gets basic properties of a Pool.

Parameters:

poolId - The ID of the Pool to get.

Returns:

the boolean object if successful.

exists

public abstract boolean exists(String poolId, PoolExistsOptions poolExistsOptions)

Gets basic properties of a Pool.

Parameters:

poolId - The ID of the Pool to get.
poolExistsOptions - Additional parameters for the operation

Returns:

the boolean object if successful.

existsAsync

public abstract Observable existsAsync(String poolId)

Gets basic properties of a Pool.

Parameters:

poolId - The ID of the Pool to get.

Returns:

the observable to the boolean object

existsAsync

public abstract Observable existsAsync(String poolId, PoolExistsOptions poolExistsOptions)

Gets basic properties of a Pool.

Parameters:

poolId - The ID of the Pool to get.
poolExistsOptions - Additional parameters for the operation

Returns:

the observable to the boolean object

existsAsync

public abstract ServiceFuture existsAsync(String poolId, PoolExistsOptions poolExistsOptions, ServiceCallback serviceCallback)

Gets basic properties of a Pool.

Parameters:

poolId - The ID of the Pool to get.
poolExistsOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

existsAsync

public abstract ServiceFuture existsAsync(String poolId, ServiceCallback serviceCallback)

Gets basic properties of a Pool.

Parameters:

poolId - The ID of the Pool to get.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

existsWithServiceResponseAsync

public abstract Observable<>> existsWithServiceResponseAsync(String poolId)

Gets basic properties of a Pool.

Parameters:

poolId - The ID of the Pool to get.

Returns:

the observable to the boolean object

existsWithServiceResponseAsync

public abstract Observable<>> existsWithServiceResponseAsync(String poolId, PoolExistsOptions poolExistsOptions)

Gets basic properties of a Pool.

Parameters:

poolId - The ID of the Pool to get.
poolExistsOptions - Additional parameters for the operation

Returns:

the observable to the boolean object

get

public abstract CloudPool get(String poolId)

Gets information about the specified Pool.

Parameters:

poolId - The ID of the Pool to get.

Returns:

the CloudPool object if successful.

get

public abstract CloudPool get(String poolId, PoolGetOptions poolGetOptions)

Gets information about the specified Pool.

Parameters:

poolId - The ID of the Pool to get.
poolGetOptions - Additional parameters for the operation

Returns:

the CloudPool object if successful.

getAsync

public abstract Observable getAsync(String poolId)

Gets information about the specified Pool.

Parameters:

poolId - The ID of the Pool to get.

Returns:

the observable to the CloudPool object

getAsync

public abstract Observable getAsync(String poolId, PoolGetOptions poolGetOptions)

Gets information about the specified Pool.

Parameters:

poolId - The ID of the Pool to get.
poolGetOptions - Additional parameters for the operation

Returns:

the observable to the CloudPool object

getAsync

public abstract ServiceFuture getAsync(String poolId, PoolGetOptions poolGetOptions, ServiceCallback serviceCallback)

Gets information about the specified Pool.

Parameters:

poolId - The ID of the Pool to get.
poolGetOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

getAsync

public abstract ServiceFuture getAsync(String poolId, ServiceCallback serviceCallback)

Gets information about the specified Pool.

Parameters:

poolId - The ID of the Pool to get.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

getWithServiceResponseAsync

public abstract Observable<>> getWithServiceResponseAsync(String poolId)

Gets information about the specified Pool.

Parameters:

poolId - The ID of the Pool to get.

Returns:

the observable to the CloudPool object

getWithServiceResponseAsync

public abstract Observable<>> getWithServiceResponseAsync(String poolId, PoolGetOptions poolGetOptions)

Gets information about the specified Pool.

Parameters:

poolId - The ID of the Pool to get.
poolGetOptions - Additional parameters for the operation

Returns:

the observable to the CloudPool object

list

public abstract PagedList list()

Lists all of the Pools in the specified Account.

Returns:

the PagedList<CloudPool> object if successful.

list

public abstract PagedList list(PoolListOptions poolListOptions)

Lists all of the Pools in the specified Account.

Parameters:

poolListOptions - Additional parameters for the operation

Returns:

the PagedList<CloudPool> object if successful.

listAsync

public abstract Observable<>> listAsync()

Lists all of the Pools in the specified Account.

Returns:

the observable to the PagedList<CloudPool> object

listAsync

public abstract ServiceFuture<>> listAsync(ListOperationCallback serviceCallback)

Lists all of the Pools in the specified Account.

Parameters:

serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listAsync

public abstract Observable<>> listAsync(PoolListOptions poolListOptions)

Lists all of the Pools in the specified Account.

Parameters:

poolListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudPool> object

listAsync

public abstract ServiceFuture<>> listAsync(PoolListOptions poolListOptions, ListOperationCallback serviceCallback)

Lists all of the Pools in the specified Account.

Parameters:

poolListOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listNext

public abstract PagedList listNext(String nextPageLink)

Lists all of the Pools in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<CloudPool> object if successful.

listNext

public abstract PagedList listNext(String nextPageLink, PoolListNextOptions poolListNextOptions)

Lists all of the Pools in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
poolListNextOptions - Additional parameters for the operation

Returns:

the PagedList<CloudPool> object if successful.

listNextAsync

public abstract Observable<>> listNextAsync(String nextPageLink)

Lists all of the Pools in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<CloudPool> object

listNextAsync

public abstract Observable<>> listNextAsync(String nextPageLink, PoolListNextOptions poolListNextOptions)

Lists all of the Pools in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
poolListNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudPool> object

listNextAsync

public abstract ServiceFuture<>> listNextAsync(String nextPageLink, PoolListNextOptions poolListNextOptions, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists all of the Pools in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
poolListNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listNextAsync

public abstract ServiceFuture<>> listNextAsync(String nextPageLink, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists all of the Pools in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listNextWithServiceResponseAsync

public abstract Observable<><>,PoolListHeaders>> listNextWithServiceResponseAsync(String nextPageLink)

Lists all of the Pools in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<CloudPool> object

listNextWithServiceResponseAsync

public abstract Observable<><>,PoolListHeaders>> listNextWithServiceResponseAsync(String nextPageLink, PoolListNextOptions poolListNextOptions)

Lists all of the Pools in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
poolListNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudPool> object

listUsageMetrics

public abstract PagedList listUsageMetrics()

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Returns:

the PagedList<PoolUsageMetrics> object if successful.

listUsageMetrics

public abstract PagedList listUsageMetrics(PoolListUsageMetricsOptions poolListUsageMetricsOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

poolListUsageMetricsOptions - Additional parameters for the operation

Returns:

the PagedList<PoolUsageMetrics> object if successful.

listUsageMetricsAsync

public abstract Observable<>> listUsageMetricsAsync()

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Returns:

the observable to the PagedList<PoolUsageMetrics> object

listUsageMetricsAsync

public abstract ServiceFuture<>> listUsageMetricsAsync(ListOperationCallback serviceCallback)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listUsageMetricsAsync

public abstract Observable<>> listUsageMetricsAsync(PoolListUsageMetricsOptions poolListUsageMetricsOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

poolListUsageMetricsOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<PoolUsageMetrics> object

listUsageMetricsAsync

public abstract ServiceFuture<>> listUsageMetricsAsync(PoolListUsageMetricsOptions poolListUsageMetricsOptions, ListOperationCallback serviceCallback)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

poolListUsageMetricsOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listUsageMetricsNext

public abstract PagedList listUsageMetricsNext(String nextPageLink)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<PoolUsageMetrics> object if successful.

listUsageMetricsNext

public abstract PagedList listUsageMetricsNext(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
poolListUsageMetricsNextOptions - Additional parameters for the operation

Returns:

the PagedList<PoolUsageMetrics> object if successful.

listUsageMetricsNextAsync

public abstract Observable<>> listUsageMetricsNextAsync(String nextPageLink)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<PoolUsageMetrics> object

listUsageMetricsNextAsync

public abstract Observable<>> listUsageMetricsNextAsync(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
poolListUsageMetricsNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<PoolUsageMetrics> object

listUsageMetricsNextAsync

public abstract ServiceFuture<>> listUsageMetricsNextAsync(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
poolListUsageMetricsNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listUsageMetricsNextAsync

public abstract ServiceFuture<>> listUsageMetricsNextAsync(String nextPageLink, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listUsageMetricsNextWithServiceResponseAsync

public abstract Observable<><>,PoolListUsageMetricsHeaders>> listUsageMetricsNextWithServiceResponseAsync(String nextPageLink)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<PoolUsageMetrics> object

listUsageMetricsNextWithServiceResponseAsync

public abstract Observable<><>,PoolListUsageMetricsHeaders>> listUsageMetricsNextWithServiceResponseAsync(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
poolListUsageMetricsNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<PoolUsageMetrics> object

listUsageMetricsWithServiceResponseAsync

public abstract Observable<><>,PoolListUsageMetricsHeaders>> listUsageMetricsWithServiceResponseAsync()

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Returns:

the observable to the PagedList<PoolUsageMetrics> object

listUsageMetricsWithServiceResponseAsync

public abstract Observable<><>,PoolListUsageMetricsHeaders>> listUsageMetricsWithServiceResponseAsync(PoolListUsageMetricsOptions poolListUsageMetricsOptions)

Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account. If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.

Parameters:

poolListUsageMetricsOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<PoolUsageMetrics> object

listWithServiceResponseAsync

public abstract Observable<><>,PoolListHeaders>> listWithServiceResponseAsync()

Lists all of the Pools in the specified Account.

Returns:

the observable to the PagedList<CloudPool> object

listWithServiceResponseAsync

public abstract Observable<><>,PoolListHeaders>> listWithServiceResponseAsync(PoolListOptions poolListOptions)

Lists all of the Pools in the specified Account.

Parameters:

poolListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudPool> object

patch

public abstract void patch(String poolId, PoolPatchParameter poolPatchParameter)

Updates the properties of the specified Pool. This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolPatchParameter - The parameters for the request.

patch

public abstract void patch(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)

Updates the properties of the specified Pool. This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolPatchParameter - The parameters for the request.
poolPatchOptions - Additional parameters for the operation

patchAsync

public abstract Observable patchAsync(String poolId, PoolPatchParameter poolPatchParameter)

Updates the properties of the specified Pool. This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolPatchParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

patchAsync

public abstract Observable patchAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)

Updates the properties of the specified Pool. This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolPatchParameter - The parameters for the request.
poolPatchOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

patchAsync

public abstract ServiceFuture patchAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions, ServiceCallback serviceCallback)

Updates the properties of the specified Pool. This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolPatchParameter - The parameters for the request.
poolPatchOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

patchAsync

public abstract ServiceFuture patchAsync(String poolId, PoolPatchParameter poolPatchParameter, ServiceCallback serviceCallback)

Updates the properties of the specified Pool. This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolPatchParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

patchWithServiceResponseAsync

public abstract Observable<>> patchWithServiceResponseAsync(String poolId, PoolPatchParameter poolPatchParameter)

Updates the properties of the specified Pool. This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolPatchParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

patchWithServiceResponseAsync

public abstract Observable<>> patchWithServiceResponseAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)

Updates the properties of the specified Pool. This only replaces the Pool properties specified in the request. For example, if the Pool has a StartTask associated with it, and a request does not specify a StartTask element, then the Pool keeps the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolPatchParameter - The parameters for the request.
poolPatchOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

removeNodes

public abstract void removeNodes(String poolId, NodeRemoveParameter nodeRemoveParameter)

Removes Compute Nodes from the specified Pool. This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing. Each request may remove up to 100 nodes.

Parameters:

poolId - The ID of the Pool from which you want to remove Compute Nodes.
nodeRemoveParameter - The parameters for the request.

removeNodes

public abstract void removeNodes(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions)

Removes Compute Nodes from the specified Pool. This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing. Each request may remove up to 100 nodes.

Parameters:

poolId - The ID of the Pool from which you want to remove Compute Nodes.
nodeRemoveParameter - The parameters for the request.
poolRemoveNodesOptions - Additional parameters for the operation

removeNodesAsync

public abstract Observable removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter)

Removes Compute Nodes from the specified Pool. This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing. Each request may remove up to 100 nodes.

Parameters:

poolId - The ID of the Pool from which you want to remove Compute Nodes.
nodeRemoveParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

removeNodesAsync

public abstract Observable removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions)

Removes Compute Nodes from the specified Pool. This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing. Each request may remove up to 100 nodes.

Parameters:

poolId - The ID of the Pool from which you want to remove Compute Nodes.
nodeRemoveParameter - The parameters for the request.
poolRemoveNodesOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

removeNodesAsync

public abstract ServiceFuture removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions, ServiceCallback serviceCallback)

Removes Compute Nodes from the specified Pool. This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing. Each request may remove up to 100 nodes.

Parameters:

poolId - The ID of the Pool from which you want to remove Compute Nodes.
nodeRemoveParameter - The parameters for the request.
poolRemoveNodesOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

removeNodesAsync

public abstract ServiceFuture removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, ServiceCallback serviceCallback)

Removes Compute Nodes from the specified Pool. This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing. Each request may remove up to 100 nodes.

Parameters:

poolId - The ID of the Pool from which you want to remove Compute Nodes.
nodeRemoveParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

removeNodesWithServiceResponseAsync

public abstract Observable<>> removeNodesWithServiceResponseAsync(String poolId, NodeRemoveParameter nodeRemoveParameter)

Removes Compute Nodes from the specified Pool. This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing. Each request may remove up to 100 nodes.

Parameters:

poolId - The ID of the Pool from which you want to remove Compute Nodes.
nodeRemoveParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

removeNodesWithServiceResponseAsync

public abstract Observable<>> removeNodesWithServiceResponseAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions)

Removes Compute Nodes from the specified Pool. This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing. Each request may remove up to 100 nodes.

Parameters:

poolId - The ID of the Pool from which you want to remove Compute Nodes.
nodeRemoveParameter - The parameters for the request.
poolRemoveNodesOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

resize

public abstract void resize(String poolId, PoolResizeParameter poolResizeParameter)

Changes the number of Compute Nodes that are assigned to a Pool. You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.

Parameters:

poolId - The ID of the Pool to resize.
poolResizeParameter - The parameters for the request.

resize

public abstract void resize(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions)

Changes the number of Compute Nodes that are assigned to a Pool. You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.

Parameters:

poolId - The ID of the Pool to resize.
poolResizeParameter - The parameters for the request.
poolResizeOptions - Additional parameters for the operation

resizeAsync

public abstract Observable resizeAsync(String poolId, PoolResizeParameter poolResizeParameter)

Changes the number of Compute Nodes that are assigned to a Pool. You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.

Parameters:

poolId - The ID of the Pool to resize.
poolResizeParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

resizeAsync

public abstract Observable resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions)

Changes the number of Compute Nodes that are assigned to a Pool. You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.

Parameters:

poolId - The ID of the Pool to resize.
poolResizeParameter - The parameters for the request.
poolResizeOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

resizeAsync

public abstract ServiceFuture resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions, ServiceCallback serviceCallback)

Changes the number of Compute Nodes that are assigned to a Pool. You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.

Parameters:

poolId - The ID of the Pool to resize.
poolResizeParameter - The parameters for the request.
poolResizeOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

resizeAsync

public abstract ServiceFuture resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, ServiceCallback serviceCallback)

Changes the number of Compute Nodes that are assigned to a Pool. You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.

Parameters:

poolId - The ID of the Pool to resize.
poolResizeParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

resizeWithServiceResponseAsync

public abstract Observable<>> resizeWithServiceResponseAsync(String poolId, PoolResizeParameter poolResizeParameter)

Changes the number of Compute Nodes that are assigned to a Pool. You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.

Parameters:

poolId - The ID of the Pool to resize.
poolResizeParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

resizeWithServiceResponseAsync

public abstract Observable<>> resizeWithServiceResponseAsync(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions)

Changes the number of Compute Nodes that are assigned to a Pool. You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.

Parameters:

poolId - The ID of the Pool to resize.
poolResizeParameter - The parameters for the request.
poolResizeOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

stopResize

public abstract void stopResize(String poolId)

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 Compute 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:

poolId - The ID of the Pool whose resizing you want to stop.

stopResize

public abstract void stopResize(String poolId, PoolStopResizeOptions poolStopResizeOptions)

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 Compute 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:

poolId - The ID of the Pool whose resizing you want to stop.
poolStopResizeOptions - Additional parameters for the operation

stopResizeAsync

public abstract Observable stopResizeAsync(String poolId)

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 Compute 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:

poolId - The ID of the Pool whose resizing you want to stop.

Returns:

the ServiceResponseWithHeaders object if successful.

stopResizeAsync

public abstract Observable stopResizeAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions)

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 Compute 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:

poolId - The ID of the Pool whose resizing you want to stop.
poolStopResizeOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

stopResizeAsync

public abstract ServiceFuture stopResizeAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions, ServiceCallback serviceCallback)

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 Compute 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:

poolId - The ID of the Pool whose resizing you want to stop.
poolStopResizeOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

stopResizeAsync

public abstract ServiceFuture stopResizeAsync(String poolId, ServiceCallback serviceCallback)

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 Compute 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:

poolId - The ID of the Pool whose resizing you want to stop.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

stopResizeWithServiceResponseAsync

public abstract Observable<>> stopResizeWithServiceResponseAsync(String poolId)

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 Compute 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:

poolId - The ID of the Pool whose resizing you want to stop.

Returns:

the ServiceResponseWithHeaders object if successful.

stopResizeWithServiceResponseAsync

public abstract Observable<>> stopResizeWithServiceResponseAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions)

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 Compute 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:

poolId - The ID of the Pool whose resizing you want to stop.
poolStopResizeOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

updateProperties

public abstract void updateProperties(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter)

Updates the properties of the specified Pool. This fully replaces all the updatable properties of the Pool. For example, if the Pool has a StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolUpdatePropertiesParameter - The parameters for the request.

updateProperties

public abstract void updateProperties(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions)

Updates the properties of the specified Pool. This fully replaces all the updatable properties of the Pool. For example, if the Pool has a StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolUpdatePropertiesParameter - The parameters for the request.
poolUpdatePropertiesOptions - Additional parameters for the operation

updatePropertiesAsync

public abstract Observable updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter)

Updates the properties of the specified Pool. This fully replaces all the updatable properties of the Pool. For example, if the Pool has a StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolUpdatePropertiesParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

updatePropertiesAsync

public abstract Observable updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions)

Updates the properties of the specified Pool. This fully replaces all the updatable properties of the Pool. For example, if the Pool has a StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolUpdatePropertiesParameter - The parameters for the request.
poolUpdatePropertiesOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

updatePropertiesAsync

public abstract ServiceFuture updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions, ServiceCallback serviceCallback)

Updates the properties of the specified Pool. This fully replaces all the updatable properties of the Pool. For example, if the Pool has a StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolUpdatePropertiesParameter - The parameters for the request.
poolUpdatePropertiesOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

updatePropertiesAsync

public abstract ServiceFuture updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, ServiceCallback serviceCallback)

Updates the properties of the specified Pool. This fully replaces all the updatable properties of the Pool. For example, if the Pool has a StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolUpdatePropertiesParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

updatePropertiesWithServiceResponseAsync

public abstract Observable<>> updatePropertiesWithServiceResponseAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter)

Updates the properties of the specified Pool. This fully replaces all the updatable properties of the Pool. For example, if the Pool has a StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolUpdatePropertiesParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

updatePropertiesWithServiceResponseAsync

public abstract Observable<>> updatePropertiesWithServiceResponseAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions)

Updates the properties of the specified Pool. This fully replaces all the updatable properties of the Pool. For example, if the Pool has a StartTask associated with it and if StartTask is not specified with this request, then the Batch service will remove the existing StartTask.

Parameters:

poolId - The ID of the Pool to update.
poolUpdatePropertiesParameter - The parameters for the request.
poolUpdatePropertiesOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Applies to