Interface Pools
-
- All Known Implementing Classes:
PoolsImpl
public interface Pools
An instance of this class provides access to all the operations defined in Pools.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(PoolAddParameter pool)
Adds a Pool to the specified Account.void
add(PoolAddParameter pool, PoolAddOptions poolAddOptions)
Adds a Pool to the specified Account.rx.Observable<Void>
addAsync(PoolAddParameter pool)
Adds a Pool to the specified Account.rx.Observable<Void>
addAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions)
Adds a Pool to the specified Account.com.microsoft.rest.ServiceFuture<Void>
addAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Pool to the specified Account.com.microsoft.rest.ServiceFuture<Void>
addAsync(PoolAddParameter pool, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Pool to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolAddHeaders>>
addWithServiceResponseAsync(PoolAddParameter pool)
Adds a Pool to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolAddHeaders>>
addWithServiceResponseAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions)
Adds a Pool to the specified Account.void
delete(String poolId)
Deletes a Pool from the specified Account.void
delete(String poolId, PoolDeleteOptions poolDeleteOptions)
Deletes a Pool from the specified Account.rx.Observable<Void>
deleteAsync(String poolId)
Deletes a Pool from the specified Account.rx.Observable<Void>
deleteAsync(String poolId, PoolDeleteOptions poolDeleteOptions)
Deletes a Pool from the specified Account.com.microsoft.rest.ServiceFuture<Void>
deleteAsync(String poolId, PoolDeleteOptions poolDeleteOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Pool from the specified Account.com.microsoft.rest.ServiceFuture<Void>
deleteAsync(String poolId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Pool from the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDeleteHeaders>>
deleteWithServiceResponseAsync(String poolId)
Deletes a Pool from the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDeleteHeaders>>
deleteWithServiceResponseAsync(String poolId, PoolDeleteOptions poolDeleteOptions)
Deletes a Pool from the specified Account.void
disableAutoScale(String poolId)
Disables automatic scaling for a Pool.void
disableAutoScale(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)
Disables automatic scaling for a Pool.rx.Observable<Void>
disableAutoScaleAsync(String poolId)
Disables automatic scaling for a Pool.rx.Observable<Void>
disableAutoScaleAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)
Disables automatic scaling for a Pool.com.microsoft.rest.ServiceFuture<Void>
disableAutoScaleAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Disables automatic scaling for a Pool.com.microsoft.rest.ServiceFuture<Void>
disableAutoScaleAsync(String poolId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Disables automatic scaling for a Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDisableAutoScaleHeaders>>
disableAutoScaleWithServiceResponseAsync(String poolId)
Disables automatic scaling for a Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDisableAutoScaleHeaders>>
disableAutoScaleWithServiceResponseAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions)
Disables automatic scaling for a Pool.void
enableAutoScale(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter)
Enables automatic scaling for a Pool.void
enableAutoScale(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions)
Enables automatic scaling for a Pool.rx.Observable<Void>
enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter)
Enables automatic scaling for a Pool.rx.Observable<Void>
enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions)
Enables automatic scaling for a Pool.com.microsoft.rest.ServiceFuture<Void>
enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Enables automatic scaling for a Pool.com.microsoft.rest.ServiceFuture<Void>
enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Enables automatic scaling for a Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolEnableAutoScaleHeaders>>
enableAutoScaleWithServiceResponseAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter)
Enables automatic scaling for a Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolEnableAutoScaleHeaders>>
enableAutoScaleWithServiceResponseAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions)
Enables automatic scaling for a Pool.AutoScaleRun
evaluateAutoScale(String poolId, String autoScaleFormula)
Gets the result of evaluating an automatic scaling formula on the Pool.AutoScaleRun
evaluateAutoScale(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions)
Gets the result of evaluating an automatic scaling formula on the Pool.rx.Observable<AutoScaleRun>
evaluateAutoScaleAsync(String poolId, String autoScaleFormula)
Gets the result of evaluating an automatic scaling formula on the Pool.rx.Observable<AutoScaleRun>
evaluateAutoScaleAsync(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions)
Gets the result of evaluating an automatic scaling formula on the Pool.com.microsoft.rest.ServiceFuture<AutoScaleRun>
evaluateAutoScaleAsync(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions, com.microsoft.rest.ServiceCallback<AutoScaleRun> serviceCallback)
Gets the result of evaluating an automatic scaling formula on the Pool.com.microsoft.rest.ServiceFuture<AutoScaleRun>
evaluateAutoScaleAsync(String poolId, String autoScaleFormula, com.microsoft.rest.ServiceCallback<AutoScaleRun> serviceCallback)
Gets the result of evaluating an automatic scaling formula on the Pool.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.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.boolean
exists(String poolId)
Gets basic properties of a Pool.boolean
exists(String poolId, PoolExistsOptions poolExistsOptions)
Gets basic properties of a Pool.rx.Observable<Boolean>
existsAsync(String poolId)
Gets basic properties of a Pool.rx.Observable<Boolean>
existsAsync(String poolId, PoolExistsOptions poolExistsOptions)
Gets basic properties of a Pool.com.microsoft.rest.ServiceFuture<Boolean>
existsAsync(String poolId, PoolExistsOptions poolExistsOptions, com.microsoft.rest.ServiceCallback<Boolean> serviceCallback)
Gets basic properties of a Pool.com.microsoft.rest.ServiceFuture<Boolean>
existsAsync(String poolId, com.microsoft.rest.ServiceCallback<Boolean> serviceCallback)
Gets basic properties of a Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,PoolExistsHeaders>>
existsWithServiceResponseAsync(String poolId)
Gets basic properties of a Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,PoolExistsHeaders>>
existsWithServiceResponseAsync(String poolId, PoolExistsOptions poolExistsOptions)
Gets basic properties of a Pool.CloudPool
get(String poolId)
Gets information about the specified Pool.CloudPool
get(String poolId, PoolGetOptions poolGetOptions)
Gets information about the specified Pool.PoolStatistics
getAllLifetimeStatistics()
Gets lifetime summary statistics for all of the Pools in the specified Account.PoolStatistics
getAllLifetimeStatistics(PoolGetAllLifetimeStatisticsOptions poolGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Pools in the specified Account.rx.Observable<PoolStatistics>
getAllLifetimeStatisticsAsync()
Gets lifetime summary statistics for all of the Pools in the specified Account.rx.Observable<PoolStatistics>
getAllLifetimeStatisticsAsync(PoolGetAllLifetimeStatisticsOptions poolGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Pools in the specified Account.com.microsoft.rest.ServiceFuture<PoolStatistics>
getAllLifetimeStatisticsAsync(PoolGetAllLifetimeStatisticsOptions poolGetAllLifetimeStatisticsOptions, com.microsoft.rest.ServiceCallback<PoolStatistics> serviceCallback)
Gets lifetime summary statistics for all of the Pools in the specified Account.com.microsoft.rest.ServiceFuture<PoolStatistics>
getAllLifetimeStatisticsAsync(com.microsoft.rest.ServiceCallback<PoolStatistics> serviceCallback)
Gets lifetime summary statistics for all of the Pools in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<PoolStatistics,PoolGetAllLifetimeStatisticsHeaders>>
getAllLifetimeStatisticsWithServiceResponseAsync()
Gets lifetime summary statistics for all of the Pools in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<PoolStatistics,PoolGetAllLifetimeStatisticsHeaders>>
getAllLifetimeStatisticsWithServiceResponseAsync(PoolGetAllLifetimeStatisticsOptions poolGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Pools in the specified Account.rx.Observable<CloudPool>
getAsync(String poolId)
Gets information about the specified Pool.rx.Observable<CloudPool>
getAsync(String poolId, PoolGetOptions poolGetOptions)
Gets information about the specified Pool.com.microsoft.rest.ServiceFuture<CloudPool>
getAsync(String poolId, PoolGetOptions poolGetOptions, com.microsoft.rest.ServiceCallback<CloudPool> serviceCallback)
Gets information about the specified Pool.com.microsoft.rest.ServiceFuture<CloudPool>
getAsync(String poolId, com.microsoft.rest.ServiceCallback<CloudPool> serviceCallback)
Gets information about the specified Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudPool,PoolGetHeaders>>
getWithServiceResponseAsync(String poolId)
Gets information about the specified Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudPool,PoolGetHeaders>>
getWithServiceResponseAsync(String poolId, PoolGetOptions poolGetOptions)
Gets information about the specified Pool.com.microsoft.azure.PagedList<CloudPool>
list()
Lists all of the Pools in the specified Account.com.microsoft.azure.PagedList<CloudPool>
list(PoolListOptions poolListOptions)
Lists all of the Pools in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudPool>>
listAsync()
Lists all of the Pools in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudPool>>
listAsync(PoolListOptions poolListOptions)
Lists all of the Pools in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudPool>>
listAsync(PoolListOptions poolListOptions, com.microsoft.azure.ListOperationCallback<CloudPool> serviceCallback)
Lists all of the Pools in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudPool>>
listAsync(com.microsoft.azure.ListOperationCallback<CloudPool> serviceCallback)
Lists all of the Pools in the specified Account.com.microsoft.azure.PagedList<CloudPool>
listNext(String nextPageLink)
Lists all of the Pools in the specified Account.com.microsoft.azure.PagedList<CloudPool>
listNext(String nextPageLink, PoolListNextOptions poolListNextOptions)
Lists all of the Pools in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudPool>>
listNextAsync(String nextPageLink)
Lists all of the Pools in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudPool>>
listNextAsync(String nextPageLink, PoolListNextOptions poolListNextOptions)
Lists all of the Pools in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudPool>>
listNextAsync(String nextPageLink, PoolListNextOptions poolListNextOptions, com.microsoft.rest.ServiceFuture<List<CloudPool>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudPool> serviceCallback)
Lists all of the Pools in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudPool>>
listNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CloudPool>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudPool> serviceCallback)
Lists all of the Pools in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,PoolListHeaders>>
listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the Pools in the specified Account.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.com.microsoft.azure.PagedList<PoolUsageMetrics>
listUsageMetrics()
Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.com.microsoft.azure.PagedList<PoolUsageMetrics>
listUsageMetrics(PoolListUsageMetricsOptions poolListUsageMetricsOptions)
Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.rx.Observable<com.microsoft.azure.Page<PoolUsageMetrics>>
listUsageMetricsAsync()
Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.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.com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>>
listUsageMetricsAsync(PoolListUsageMetricsOptions poolListUsageMetricsOptions, com.microsoft.azure.ListOperationCallback<PoolUsageMetrics> serviceCallback)
Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>>
listUsageMetricsAsync(com.microsoft.azure.ListOperationCallback<PoolUsageMetrics> serviceCallback)
Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.com.microsoft.azure.PagedList<PoolUsageMetrics>
listUsageMetricsNext(String nextPageLink)
Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.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.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.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.com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>>
listUsageMetricsNextAsync(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions, com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> serviceFuture, com.microsoft.azure.ListOperationCallback<PoolUsageMetrics> serviceCallback)
Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>>
listUsageMetricsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> serviceFuture, com.microsoft.azure.ListOperationCallback<PoolUsageMetrics> serviceCallback)
Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.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.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.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.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.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,PoolListHeaders>>
listWithServiceResponseAsync()
Lists all of the Pools in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,PoolListHeaders>>
listWithServiceResponseAsync(PoolListOptions poolListOptions)
Lists all of the Pools in the specified Account.void
patch(String poolId, PoolPatchParameter poolPatchParameter)
Updates the properties of the specified Pool.void
patch(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)
Updates the properties of the specified Pool.rx.Observable<Void>
patchAsync(String poolId, PoolPatchParameter poolPatchParameter)
Updates the properties of the specified Pool.rx.Observable<Void>
patchAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)
Updates the properties of the specified Pool.com.microsoft.rest.ServiceFuture<Void>
patchAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Pool.com.microsoft.rest.ServiceFuture<Void>
patchAsync(String poolId, PoolPatchParameter poolPatchParameter, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolPatchHeaders>>
patchWithServiceResponseAsync(String poolId, PoolPatchParameter poolPatchParameter)
Updates the properties of the specified Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolPatchHeaders>>
patchWithServiceResponseAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions)
Updates the properties of the specified Pool.void
removeNodes(String poolId, NodeRemoveParameter nodeRemoveParameter)
Removes Compute Nodes from the specified Pool.void
removeNodes(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions)
Removes Compute Nodes from the specified Pool.rx.Observable<Void>
removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter)
Removes Compute Nodes from the specified Pool.rx.Observable<Void>
removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions)
Removes Compute Nodes from the specified Pool.com.microsoft.rest.ServiceFuture<Void>
removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Removes Compute Nodes from the specified Pool.com.microsoft.rest.ServiceFuture<Void>
removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Removes Compute Nodes from the specified Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolRemoveNodesHeaders>>
removeNodesWithServiceResponseAsync(String poolId, NodeRemoveParameter nodeRemoveParameter)
Removes Compute Nodes from the specified Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolRemoveNodesHeaders>>
removeNodesWithServiceResponseAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions)
Removes Compute Nodes from the specified Pool.void
resize(String poolId, PoolResizeParameter poolResizeParameter)
Changes the number of Compute Nodes that are assigned to a Pool.void
resize(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions)
Changes the number of Compute Nodes that are assigned to a Pool.rx.Observable<Void>
resizeAsync(String poolId, PoolResizeParameter poolResizeParameter)
Changes the number of Compute Nodes that are assigned to a Pool.rx.Observable<Void>
resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions)
Changes the number of Compute Nodes that are assigned to a Pool.com.microsoft.rest.ServiceFuture<Void>
resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Changes the number of Compute Nodes that are assigned to a Pool.com.microsoft.rest.ServiceFuture<Void>
resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Changes the number of Compute Nodes that are assigned to a Pool.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.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.void
stopResize(String poolId)
Stops an ongoing resize operation on the Pool.void
stopResize(String poolId, PoolStopResizeOptions poolStopResizeOptions)
Stops an ongoing resize operation on the Pool.rx.Observable<Void>
stopResizeAsync(String poolId)
Stops an ongoing resize operation on the Pool.rx.Observable<Void>
stopResizeAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions)
Stops an ongoing resize operation on the Pool.com.microsoft.rest.ServiceFuture<Void>
stopResizeAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Stops an ongoing resize operation on the Pool.com.microsoft.rest.ServiceFuture<Void>
stopResizeAsync(String poolId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Stops an ongoing resize operation on the Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolStopResizeHeaders>>
stopResizeWithServiceResponseAsync(String poolId)
Stops an ongoing resize operation on the Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolStopResizeHeaders>>
stopResizeWithServiceResponseAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions)
Stops an ongoing resize operation on the Pool.void
updateProperties(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter)
Updates the properties of the specified Pool.void
updateProperties(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions)
Updates the properties of the specified Pool.rx.Observable<Void>
updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter)
Updates the properties of the specified Pool.rx.Observable<Void>
updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions)
Updates the properties of the specified Pool.com.microsoft.rest.ServiceFuture<Void>
updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Pool.com.microsoft.rest.ServiceFuture<Void>
updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolUpdatePropertiesHeaders>>
updatePropertiesWithServiceResponseAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter)
Updates the properties of the specified Pool.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolUpdatePropertiesHeaders>>
updatePropertiesWithServiceResponseAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions)
Updates the properties of the specified Pool.
-
-
-
Method Detail
-
listUsageMetrics
com.microsoft.azure.PagedList<PoolUsageMetrics> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listUsageMetricsAsync
com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> listUsageMetricsAsync(com.microsoft.azure.ListOperationCallback<PoolUsageMetrics> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsAsync
rx.Observable<com.microsoft.azure.Page<PoolUsageMetrics>> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsWithServiceResponseAsync
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. 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetrics
com.microsoft.azure.PagedList<PoolUsageMetrics> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listUsageMetricsAsync
com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> listUsageMetricsAsync(PoolListUsageMetricsOptions poolListUsageMetricsOptions, com.microsoft.azure.ListOperationCallback<PoolUsageMetrics> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsAsync
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. 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsWithServiceResponseAsync
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. 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatistics
PoolStatistics getAllLifetimeStatistics()
Gets lifetime summary statistics for all of the Pools in the specified Account. Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Returns:
- the PoolStatistics object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAllLifetimeStatisticsAsync
com.microsoft.rest.ServiceFuture<PoolStatistics> getAllLifetimeStatisticsAsync(com.microsoft.rest.ServiceCallback<PoolStatistics> serviceCallback)
Gets lifetime summary statistics for all of the Pools in the specified Account. Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatisticsAsync
rx.Observable<PoolStatistics> getAllLifetimeStatisticsAsync()
Gets lifetime summary statistics for all of the Pools in the specified Account. Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Returns:
- the observable to the PoolStatistics object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatisticsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<PoolStatistics,PoolGetAllLifetimeStatisticsHeaders>> getAllLifetimeStatisticsWithServiceResponseAsync()
Gets lifetime summary statistics for all of the Pools in the specified Account. Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Returns:
- the observable to the PoolStatistics object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatistics
PoolStatistics getAllLifetimeStatistics(PoolGetAllLifetimeStatisticsOptions poolGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Pools in the specified Account. Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
poolGetAllLifetimeStatisticsOptions
- Additional parameters for the operation- Returns:
- the PoolStatistics object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAllLifetimeStatisticsAsync
com.microsoft.rest.ServiceFuture<PoolStatistics> getAllLifetimeStatisticsAsync(PoolGetAllLifetimeStatisticsOptions poolGetAllLifetimeStatisticsOptions, com.microsoft.rest.ServiceCallback<PoolStatistics> serviceCallback)
Gets lifetime summary statistics for all of the Pools in the specified Account. Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
poolGetAllLifetimeStatisticsOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatisticsAsync
rx.Observable<PoolStatistics> getAllLifetimeStatisticsAsync(PoolGetAllLifetimeStatisticsOptions poolGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Pools in the specified Account. Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
poolGetAllLifetimeStatisticsOptions
- Additional parameters for the operation- Returns:
- the observable to the PoolStatistics object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatisticsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<PoolStatistics,PoolGetAllLifetimeStatisticsHeaders>> getAllLifetimeStatisticsWithServiceResponseAsync(PoolGetAllLifetimeStatisticsOptions poolGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Pools in the specified Account. Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
poolGetAllLifetimeStatisticsOptions
- Additional parameters for the operation- Returns:
- the observable to the PoolStatistics object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
add
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addAsync
com.microsoft.rest.ServiceFuture<Void> addAsync(PoolAddParameter pool, com.microsoft.rest.ServiceCallback<Void> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolAddHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
add
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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addAsync
com.microsoft.rest.ServiceFuture<Void> addAsync(PoolAddParameter pool, PoolAddOptions poolAddOptions, com.microsoft.rest.ServiceCallback<Void> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolAddHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
com.microsoft.azure.PagedList<CloudPool> list()
Lists all of the Pools in the specified Account.- Returns:
- the PagedList<CloudPool> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAsync
com.microsoft.rest.ServiceFuture<List<CloudPool>> listAsync(com.microsoft.azure.ListOperationCallback<CloudPool> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
rx.Observable<com.microsoft.azure.Page<CloudPool>> listAsync()
Lists all of the Pools in the specified Account.- Returns:
- the observable to the PagedList<CloudPool> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,PoolListHeaders>> listWithServiceResponseAsync()
Lists all of the Pools in the specified Account.- Returns:
- the observable to the PagedList<CloudPool> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
com.microsoft.azure.PagedList<CloudPool> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAsync
com.microsoft.rest.ServiceFuture<List<CloudPool>> listAsync(PoolListOptions poolListOptions, com.microsoft.azure.ListOperationCallback<CloudPool> serviceCallback)
Lists all of the Pools in the specified Account.- Parameters:
poolListOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
rx.Observable<com.microsoft.azure.Page<CloudPool>> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteAsync
com.microsoft.rest.ServiceFuture<Void> deleteAsync(String poolId, com.microsoft.rest.ServiceCallback<Void> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDeleteHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteAsync
com.microsoft.rest.ServiceFuture<Void> deleteAsync(String poolId, PoolDeleteOptions poolDeleteOptions, com.microsoft.rest.ServiceCallback<Void> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDeleteHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
exists
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
existsAsync
com.microsoft.rest.ServiceFuture<Boolean> existsAsync(String poolId, com.microsoft.rest.ServiceCallback<Boolean> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
existsAsync
rx.Observable<Boolean> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
existsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,PoolExistsHeaders>> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
exists
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
existsAsync
com.microsoft.rest.ServiceFuture<Boolean> existsAsync(String poolId, PoolExistsOptions poolExistsOptions, com.microsoft.rest.ServiceCallback<Boolean> serviceCallback)
Gets basic properties of a Pool.- Parameters:
poolId
- The ID of the Pool to get.poolExistsOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
existsAsync
rx.Observable<Boolean> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
existsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,PoolExistsHeaders>> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAsync
com.microsoft.rest.ServiceFuture<CloudPool> getAsync(String poolId, com.microsoft.rest.ServiceCallback<CloudPool> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAsync
rx.Observable<CloudPool> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudPool,PoolGetHeaders>> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAsync
com.microsoft.rest.ServiceFuture<CloudPool> getAsync(String poolId, PoolGetOptions poolGetOptions, com.microsoft.rest.ServiceCallback<CloudPool> serviceCallback)
Gets information about the specified Pool.- Parameters:
poolId
- The ID of the Pool to get.poolGetOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAsync
rx.Observable<CloudPool> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudPool,PoolGetHeaders>> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patch
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
patchAsync
com.microsoft.rest.ServiceFuture<Void> patchAsync(String poolId, PoolPatchParameter poolPatchParameter, com.microsoft.rest.ServiceCallback<Void> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patchAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patchWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolPatchHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patch
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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
patchAsync
com.microsoft.rest.ServiceFuture<Void> patchAsync(String poolId, PoolPatchParameter poolPatchParameter, PoolPatchOptions poolPatchOptions, com.microsoft.rest.ServiceCallback<Void> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patchAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patchWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolPatchHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableAutoScale
void disableAutoScale(String poolId)
Disables automatic scaling for a Pool.- Parameters:
poolId
- The ID of the Pool on which to disable automatic scaling.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
disableAutoScaleAsync
com.microsoft.rest.ServiceFuture<Void> disableAutoScaleAsync(String poolId, com.microsoft.rest.ServiceCallback<Void> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableAutoScaleAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableAutoScaleWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDisableAutoScaleHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableAutoScale
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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
disableAutoScaleAsync
com.microsoft.rest.ServiceFuture<Void> disableAutoScaleAsync(String poolId, PoolDisableAutoScaleOptions poolDisableAutoScaleOptions, com.microsoft.rest.ServiceCallback<Void> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableAutoScaleAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableAutoScaleWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolDisableAutoScaleHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableAutoScale
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
enableAutoScaleAsync
com.microsoft.rest.ServiceFuture<Void> enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, com.microsoft.rest.ServiceCallback<Void> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableAutoScaleAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableAutoScaleWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolEnableAutoScaleHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableAutoScale
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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
enableAutoScaleAsync
com.microsoft.rest.ServiceFuture<Void> enableAutoScaleAsync(String poolId, PoolEnableAutoScaleParameter poolEnableAutoScaleParameter, PoolEnableAutoScaleOptions poolEnableAutoScaleOptions, com.microsoft.rest.ServiceCallback<Void> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableAutoScaleAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableAutoScaleWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolEnableAutoScaleHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
evaluateAutoScale
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
evaluateAutoScaleAsync
com.microsoft.rest.ServiceFuture<AutoScaleRun> evaluateAutoScaleAsync(String poolId, String autoScaleFormula, com.microsoft.rest.ServiceCallback<AutoScaleRun> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
evaluateAutoScaleAsync
rx.Observable<AutoScaleRun> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
evaluateAutoScaleWithServiceResponseAsync
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. 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
evaluateAutoScale
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
evaluateAutoScaleAsync
com.microsoft.rest.ServiceFuture<AutoScaleRun> evaluateAutoScaleAsync(String poolId, String autoScaleFormula, PoolEvaluateAutoScaleOptions poolEvaluateAutoScaleOptions, com.microsoft.rest.ServiceCallback<AutoScaleRun> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
evaluateAutoScaleAsync
rx.Observable<AutoScaleRun> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
evaluateAutoScaleWithServiceResponseAsync
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. 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
resize
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
resizeAsync
com.microsoft.rest.ServiceFuture<Void> resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, com.microsoft.rest.ServiceCallback<Void> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
resizeAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
resizeWithServiceResponseAsync
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. 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
resize
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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
resizeAsync
com.microsoft.rest.ServiceFuture<Void> resizeAsync(String poolId, PoolResizeParameter poolResizeParameter, PoolResizeOptions poolResizeOptions, com.microsoft.rest.ServiceCallback<Void> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
resizeAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
resizeWithServiceResponseAsync
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. 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
stopResize
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
stopResizeAsync
com.microsoft.rest.ServiceFuture<Void> stopResizeAsync(String poolId, com.microsoft.rest.ServiceCallback<Void> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
stopResizeAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
stopResizeWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolStopResizeHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
stopResize
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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
stopResizeAsync
com.microsoft.rest.ServiceFuture<Void> stopResizeAsync(String poolId, PoolStopResizeOptions poolStopResizeOptions, com.microsoft.rest.ServiceCallback<Void> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
stopResizeAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
stopResizeWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolStopResizeHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateProperties
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updatePropertiesAsync
com.microsoft.rest.ServiceFuture<Void> updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, com.microsoft.rest.ServiceCallback<Void> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePropertiesAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePropertiesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolUpdatePropertiesHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateProperties
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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updatePropertiesAsync
com.microsoft.rest.ServiceFuture<Void> updatePropertiesAsync(String poolId, PoolUpdatePropertiesParameter poolUpdatePropertiesParameter, PoolUpdatePropertiesOptions poolUpdatePropertiesOptions, com.microsoft.rest.ServiceCallback<Void> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePropertiesAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePropertiesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolUpdatePropertiesHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
removeNodes
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
removeNodesAsync
com.microsoft.rest.ServiceFuture<Void> removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, com.microsoft.rest.ServiceCallback<Void> 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
removeNodesAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
removeNodesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolRemoveNodesHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
removeNodes
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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
removeNodesAsync
com.microsoft.rest.ServiceFuture<Void> removeNodesAsync(String poolId, NodeRemoveParameter nodeRemoveParameter, PoolRemoveNodesOptions poolRemoveNodesOptions, com.microsoft.rest.ServiceCallback<Void> 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
removeNodesAsync
rx.Observable<Void> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
removeNodesWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,PoolRemoveNodesHeaders>> 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsNext
com.microsoft.azure.PagedList<PoolUsageMetrics> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listUsageMetricsNextAsync
com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> listUsageMetricsNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> serviceFuture, com.microsoft.azure.ListOperationCallback<PoolUsageMetrics> 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 callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsNextAsync
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. 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsNextWithServiceResponseAsync
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. 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsNext
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. 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listUsageMetricsNextAsync
com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> listUsageMetricsNextAsync(String nextPageLink, PoolListUsageMetricsNextOptions poolListUsageMetricsNextOptions, com.microsoft.rest.ServiceFuture<List<PoolUsageMetrics>> serviceFuture, com.microsoft.azure.ListOperationCallback<PoolUsageMetrics> 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 operationserviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsNextAsync
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. 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listUsageMetricsNextWithServiceResponseAsync
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. 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
com.microsoft.azure.PagedList<CloudPool> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listNextAsync
com.microsoft.rest.ServiceFuture<List<CloudPool>> listNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CloudPool>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudPool> 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 callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextAsync
rx.Observable<com.microsoft.azure.Page<CloudPool>> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudPool>,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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
com.microsoft.azure.PagedList<CloudPool> 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listNextAsync
com.microsoft.rest.ServiceFuture<List<CloudPool>> listNextAsync(String nextPageLink, PoolListNextOptions poolListNextOptions, com.microsoft.rest.ServiceFuture<List<CloudPool>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudPool> 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 operationserviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextAsync
rx.Observable<com.microsoft.azure.Page<CloudPool>> 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
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.- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-