Accounts Interface

public interface Accounts

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

Method Summary

Modifier and Type Method and Description
PagedList<NodeAgentSku> listNodeAgentSkus()

Lists all node agent SKUs supported by the Azure Batch service.

PagedList<NodeAgentSku> listNodeAgentSkus(final AccountListNodeAgentSkusOptions accountListNodeAgentSkusOptions)

Lists all node agent SKUs supported by the Azure Batch service.

Observable<Page<NodeAgentSku>> listNodeAgentSkusAsync()

Lists all node agent SKUs supported by the Azure Batch service.

Observable<Page<NodeAgentSku>> listNodeAgentSkusAsync(final AccountListNodeAgentSkusOptions accountListNodeAgentSkusOptions)

Lists all node agent SKUs supported by the Azure Batch service.

ServiceFuture<List<NodeAgentSku>> listNodeAgentSkusAsync(final AccountListNodeAgentSkusOptions accountListNodeAgentSkusOptions, final ListOperationCallback<NodeAgentSku> serviceCallback)

Lists all node agent SKUs supported by the Azure Batch service.

ServiceFuture<List<NodeAgentSku>> listNodeAgentSkusAsync(final ListOperationCallback<NodeAgentSku> serviceCallback)

Lists all node agent SKUs supported by the Azure Batch service.

PagedList<NodeAgentSku> listNodeAgentSkusNext(final String nextPageLink)

Lists all node agent SKUs supported by the Azure Batch service.

PagedList<NodeAgentSku> listNodeAgentSkusNext(final String nextPageLink, final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions)

Lists all node agent SKUs supported by the Azure Batch service.

Observable<Page<NodeAgentSku>> listNodeAgentSkusNextAsync(final String nextPageLink)

Lists all node agent SKUs supported by the Azure Batch service.

Observable<Page<NodeAgentSku>> listNodeAgentSkusNextAsync(final String nextPageLink, final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions)

Lists all node agent SKUs supported by the Azure Batch service.

ServiceFuture<List<NodeAgentSku>> listNodeAgentSkusNextAsync(final String nextPageLink, final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions, final ServiceFuture<List<NodeAgentSku>> serviceFuture, final ListOperationCallback<NodeAgentSku> serviceCallback)

Lists all node agent SKUs supported by the Azure Batch service.

ServiceFuture<List<NodeAgentSku>> listNodeAgentSkusNextAsync(final String nextPageLink, final ServiceFuture<List<NodeAgentSku>> serviceFuture, final ListOperationCallback<NodeAgentSku> serviceCallback)

Lists all node agent SKUs supported by the Azure Batch service.

Observable<ServiceResponseWithHeaders<Page<NodeAgentSku>, AccountListNodeAgentSkusHeaders>> listNodeAgentSkusNextWithServiceResponseAsync(final String nextPageLink)

Lists all node agent SKUs supported by the Azure Batch service.

Observable<ServiceResponseWithHeaders<Page<NodeAgentSku>, AccountListNodeAgentSkusHeaders>> listNodeAgentSkusNextWithServiceResponseAsync(final String nextPageLink, final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions)

Lists all node agent SKUs supported by the Azure Batch service.

Observable<ServiceResponseWithHeaders<Page<NodeAgentSku>, AccountListNodeAgentSkusHeaders>> listNodeAgentSkusWithServiceResponseAsync()

Lists all node agent SKUs supported by the Azure Batch service.

Observable<ServiceResponseWithHeaders<Page<NodeAgentSku>, AccountListNodeAgentSkusHeaders>> listNodeAgentSkusWithServiceResponseAsync(final AccountListNodeAgentSkusOptions accountListNodeAgentSkusOptions)

Lists all node agent SKUs supported by the Azure Batch service.

PagedList<PoolNodeCounts> listPoolNodeCounts()

Gets the number of nodes in each state, grouped by pool.

PagedList<PoolNodeCounts> listPoolNodeCounts(final AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)

Gets the number of nodes in each state, grouped by pool.

Observable<Page<PoolNodeCounts>> listPoolNodeCountsAsync()

Gets the number of nodes in each state, grouped by pool.

Observable<Page<PoolNodeCounts>> listPoolNodeCountsAsync(final AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)

Gets the number of nodes in each state, grouped by pool.

ServiceFuture<List<PoolNodeCounts>> listPoolNodeCountsAsync(final AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions, final ListOperationCallback<PoolNodeCounts> serviceCallback)

Gets the number of nodes in each state, grouped by pool.

ServiceFuture<List<PoolNodeCounts>> listPoolNodeCountsAsync(final ListOperationCallback<PoolNodeCounts> serviceCallback)

Gets the number of nodes in each state, grouped by pool.

PagedList<PoolNodeCounts> listPoolNodeCountsNext(final String nextPageLink)

Gets the number of nodes in each state, grouped by pool.

PagedList<PoolNodeCounts> listPoolNodeCountsNext(final String nextPageLink, final AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)

Gets the number of nodes in each state, grouped by pool.

Observable<Page<PoolNodeCounts>> listPoolNodeCountsNextAsync(final String nextPageLink)

Gets the number of nodes in each state, grouped by pool.

Observable<Page<PoolNodeCounts>> listPoolNodeCountsNextAsync(final String nextPageLink, final AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)

Gets the number of nodes in each state, grouped by pool.

ServiceFuture<List<PoolNodeCounts>> listPoolNodeCountsNextAsync(final String nextPageLink, final AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions, final ServiceFuture<List<PoolNodeCounts>> serviceFuture, final ListOperationCallback<PoolNodeCounts> serviceCallback)

Gets the number of nodes in each state, grouped by pool.

ServiceFuture<List<PoolNodeCounts>> listPoolNodeCountsNextAsync(final String nextPageLink, final ServiceFuture<List<PoolNodeCounts>> serviceFuture, final ListOperationCallback<PoolNodeCounts> serviceCallback)

Gets the number of nodes in each state, grouped by pool.

Observable<ServiceResponseWithHeaders<Page<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>> listPoolNodeCountsNextWithServiceResponseAsync(final String nextPageLink)

Gets the number of nodes in each state, grouped by pool.

Observable<ServiceResponseWithHeaders<Page<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>> listPoolNodeCountsNextWithServiceResponseAsync(final String nextPageLink, final AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)

Gets the number of nodes in each state, grouped by pool.

Observable<ServiceResponseWithHeaders<Page<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>> listPoolNodeCountsWithServiceResponseAsync()

Gets the number of nodes in each state, grouped by pool.

Observable<ServiceResponseWithHeaders<Page<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>> listPoolNodeCountsWithServiceResponseAsync(final AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)

Gets the number of nodes in each state, grouped by pool.

Method Details

listNodeAgentSkus

public PagedList listNodeAgentSkus()

Lists all node agent SKUs supported by the Azure Batch service.

Returns:

the PagedList<NodeAgentSku> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNodeAgentSkus

public PagedList listNodeAgentSkus(final AccountListNodeAgentSkusOptions accountListNodeAgentSkusOptions)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

accountListNodeAgentSkusOptions - Additional parameters for the operation

Returns:

the PagedList<NodeAgentSku> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNodeAgentSkusAsync

public Observable> listNodeAgentSkusAsync()

Lists all node agent SKUs supported by the Azure Batch service.

Returns:

the observable to the PagedList<NodeAgentSku> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusAsync

public Observable> listNodeAgentSkusAsync(final AccountListNodeAgentSkusOptions accountListNodeAgentSkusOptions)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

accountListNodeAgentSkusOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeAgentSku> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusAsync

public ServiceFuture> listNodeAgentSkusAsync(final AccountListNodeAgentSkusOptions accountListNodeAgentSkusOptions, final ListOperationCallback serviceCallback)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusAsync

public ServiceFuture> listNodeAgentSkusAsync(final ListOperationCallback serviceCallback)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusNext

public PagedList listNodeAgentSkusNext(final String nextPageLink)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the PagedList<NodeAgentSku> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNodeAgentSkusNext

public PagedList listNodeAgentSkusNext(final String nextPageLink, final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the PagedList<NodeAgentSku> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNodeAgentSkusNextAsync

public Observable> listNodeAgentSkusNextAsync(final String nextPageLink)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the observable to the PagedList<NodeAgentSku> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusNextAsync

public Observable> listNodeAgentSkusNextAsync(final String nextPageLink, final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the observable to the PagedList<NodeAgentSku> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusNextAsync

public ServiceFuture> listNodeAgentSkusNextAsync(final String nextPageLink, final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusNextAsync

public ServiceFuture> listNodeAgentSkusNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusNextWithServiceResponseAsync

public Observable, AccountListNodeAgentSkusHeaders>> listNodeAgentSkusNextWithServiceResponseAsync(final String nextPageLink)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the observable to the PagedList<NodeAgentSku> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusNextWithServiceResponseAsync

public Observable, AccountListNodeAgentSkusHeaders>> listNodeAgentSkusNextWithServiceResponseAsync(final String nextPageLink, final AccountListNodeAgentSkusNextOptions accountListNodeAgentSkusNextOptions)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

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

Returns:

the observable to the PagedList<NodeAgentSku> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusWithServiceResponseAsync

public Observable, AccountListNodeAgentSkusHeaders>> listNodeAgentSkusWithServiceResponseAsync()

Lists all node agent SKUs supported by the Azure Batch service.

Returns:

the observable to the PagedList<NodeAgentSku> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNodeAgentSkusWithServiceResponseAsync

public Observable, AccountListNodeAgentSkusHeaders>> listNodeAgentSkusWithServiceResponseAsync(final AccountListNodeAgentSkusOptions accountListNodeAgentSkusOptions)

Lists all node agent SKUs supported by the Azure Batch service.

Parameters:

accountListNodeAgentSkusOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeAgentSku> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCounts

public PagedList listPoolNodeCounts()

Gets the number of nodes in each state, grouped by pool.

Returns:

the PagedList<PoolNodeCounts> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listPoolNodeCounts

public PagedList listPoolNodeCounts(final AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)

Gets the number of nodes in each state, grouped by pool.

Parameters:

accountListPoolNodeCountsOptions - Additional parameters for the operation

Returns:

the PagedList<PoolNodeCounts> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listPoolNodeCountsAsync

public Observable> listPoolNodeCountsAsync()

Gets the number of nodes in each state, grouped by pool.

Returns:

the observable to the PagedList<PoolNodeCounts> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsAsync

public Observable> listPoolNodeCountsAsync(final AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)

Gets the number of nodes in each state, grouped by pool.

Parameters:

accountListPoolNodeCountsOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<PoolNodeCounts> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsAsync

public ServiceFuture> listPoolNodeCountsAsync(final AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions, final ListOperationCallback serviceCallback)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsAsync

public ServiceFuture> listPoolNodeCountsAsync(final ListOperationCallback serviceCallback)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsNext

public PagedList listPoolNodeCountsNext(final String nextPageLink)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the PagedList<PoolNodeCounts> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listPoolNodeCountsNext

public PagedList listPoolNodeCountsNext(final String nextPageLink, final AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the PagedList<PoolNodeCounts> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listPoolNodeCountsNextAsync

public Observable> listPoolNodeCountsNextAsync(final String nextPageLink)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the observable to the PagedList<PoolNodeCounts> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsNextAsync

public Observable> listPoolNodeCountsNextAsync(final String nextPageLink, final AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the observable to the PagedList<PoolNodeCounts> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsNextAsync

public ServiceFuture> listPoolNodeCountsNextAsync(final String nextPageLink, final AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsNextAsync

public ServiceFuture> listPoolNodeCountsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsNextWithServiceResponseAsync

public Observable, AccountListPoolNodeCountsHeaders>> listPoolNodeCountsNextWithServiceResponseAsync(final String nextPageLink)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the observable to the PagedList<PoolNodeCounts> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsNextWithServiceResponseAsync

public Observable, AccountListPoolNodeCountsHeaders>> listPoolNodeCountsNextWithServiceResponseAsync(final String nextPageLink, final AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)

Gets the number of nodes in each state, grouped by pool.

Parameters:

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

Returns:

the observable to the PagedList<PoolNodeCounts> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsWithServiceResponseAsync

public Observable, AccountListPoolNodeCountsHeaders>> listPoolNodeCountsWithServiceResponseAsync()

Gets the number of nodes in each state, grouped by pool.

Returns:

the observable to the PagedList<PoolNodeCounts> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoolNodeCountsWithServiceResponseAsync

public Observable, AccountListPoolNodeCountsHeaders>> listPoolNodeCountsWithServiceResponseAsync(final AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)

Gets the number of nodes in each state, grouped by pool.

Parameters:

accountListPoolNodeCountsOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<PoolNodeCounts> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to