Class AccountsImpl

  • All Implemented Interfaces:
    Accounts

    public class AccountsImpl
    extends Object
    implements Accounts
    An instance of this class provides access to all the operations defined in Accounts.
    • Constructor Detail

      • AccountsImpl

        public AccountsImpl​(retrofit2.Retrofit retrofit,
                            BatchServiceClientImpl client)
        Initializes an instance of AccountsImpl.
        Parameters:
        retrofit - the Retrofit instance built from a Retrofit Builder.
        client - the instance of the service client containing this operation class.
    • Method Detail

      • listSupportedImages

        public com.microsoft.azure.PagedList<ImageInformation> listSupportedImages()
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImages in interface Accounts
        Returns:
        the PagedList<ImageInformation> 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
      • listSupportedImagesAsync

        public com.microsoft.rest.ServiceFuture<List<ImageInformation>> listSupportedImagesAsync​(com.microsoft.azure.ListOperationCallback<ImageInformation> serviceCallback)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesAsync in interface Accounts
        Parameters:
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedImagesAsync

        public rx.Observable<com.microsoft.azure.Page<ImageInformation>> listSupportedImagesAsync()
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesAsync in interface Accounts
        Returns:
        the observable to the PagedList<ImageInformation> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedImagesSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ImageInformation>,​AccountListSupportedImagesHeaders>> listSupportedImagesSinglePageAsync()
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Returns:
        the PagedList<ImageInformation> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedImages

        public com.microsoft.azure.PagedList<ImageInformation> listSupportedImages​(AccountListSupportedImagesOptions accountListSupportedImagesOptions)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImages in interface Accounts
        Parameters:
        accountListSupportedImagesOptions - Additional parameters for the operation
        Returns:
        the PagedList<ImageInformation> 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
      • listSupportedImagesAsync

        public com.microsoft.rest.ServiceFuture<List<ImageInformation>> listSupportedImagesAsync​(AccountListSupportedImagesOptions accountListSupportedImagesOptions,
                                                                                                 com.microsoft.azure.ListOperationCallback<ImageInformation> serviceCallback)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesAsync in interface Accounts
        Parameters:
        accountListSupportedImagesOptions - 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
      • listSupportedImagesAsync

        public rx.Observable<com.microsoft.azure.Page<ImageInformation>> listSupportedImagesAsync​(AccountListSupportedImagesOptions accountListSupportedImagesOptions)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesAsync in interface Accounts
        Parameters:
        accountListSupportedImagesOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ImageInformation> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedImagesSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ImageInformation>,​AccountListSupportedImagesHeaders>> listSupportedImagesSinglePageAsync​(AccountListSupportedImagesOptions accountListSupportedImagesOptions)
        Lists all Virtual Machine Images supported by the Azure Batch service. ServiceResponseWithHeaders, AccountListSupportedImagesHeaders> * @param accountListSupportedImagesOptions Additional parameters for the operation
        Returns:
        the PagedList<ImageInformation> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPoolNodeCounts

        public com.microsoft.azure.PagedList<PoolNodeCounts> listPoolNodeCounts()
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCounts in interface Accounts
        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 com.microsoft.rest.ServiceFuture<List<PoolNodeCounts>> listPoolNodeCountsAsync​(com.microsoft.azure.ListOperationCallback<PoolNodeCounts> serviceCallback)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsAsync in interface Accounts
        Parameters:
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPoolNodeCountsAsync

        public rx.Observable<com.microsoft.azure.Page<PoolNodeCounts>> listPoolNodeCountsAsync()
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsAsync in interface Accounts
        Returns:
        the observable to the PagedList<PoolNodeCounts> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPoolNodeCountsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolNodeCounts>,​AccountListPoolNodeCountsHeaders>> listPoolNodeCountsWithServiceResponseAsync()
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsWithServiceResponseAsync in interface Accounts
        Returns:
        the observable to the PagedList<PoolNodeCounts> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPoolNodeCountsSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolNodeCounts>,​AccountListPoolNodeCountsHeaders>> listPoolNodeCountsSinglePageAsync()
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Returns:
        the PagedList<PoolNodeCounts> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPoolNodeCounts

        public com.microsoft.azure.PagedList<PoolNodeCounts> listPoolNodeCounts​(AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCounts in interface Accounts
        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 com.microsoft.rest.ServiceFuture<List<PoolNodeCounts>> listPoolNodeCountsAsync​(AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions,
                                                                                              com.microsoft.azure.ListOperationCallback<PoolNodeCounts> serviceCallback)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsAsync in interface Accounts
        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 rx.Observable<com.microsoft.azure.Page<PoolNodeCounts>> listPoolNodeCountsAsync​(AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsAsync in interface Accounts
        Parameters:
        accountListPoolNodeCountsOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<PoolNodeCounts> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPoolNodeCountsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolNodeCounts>,​AccountListPoolNodeCountsHeaders>> listPoolNodeCountsWithServiceResponseAsync​(AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsWithServiceResponseAsync in interface Accounts
        Parameters:
        accountListPoolNodeCountsOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<PoolNodeCounts> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPoolNodeCountsSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolNodeCounts>,​AccountListPoolNodeCountsHeaders>> listPoolNodeCountsSinglePageAsync​(AccountListPoolNodeCountsOptions accountListPoolNodeCountsOptions)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query. ServiceResponseWithHeaders, AccountListPoolNodeCountsHeaders> * @param accountListPoolNodeCountsOptions Additional parameters for the operation
        Returns:
        the PagedList<PoolNodeCounts> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedImagesNext

        public com.microsoft.azure.PagedList<ImageInformation> listSupportedImagesNext​(String nextPageLink)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesNext in interface Accounts
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the PagedList<ImageInformation> 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
      • listSupportedImagesNextAsync

        public com.microsoft.rest.ServiceFuture<List<ImageInformation>> listSupportedImagesNextAsync​(String nextPageLink,
                                                                                                     com.microsoft.rest.ServiceFuture<List<ImageInformation>> serviceFuture,
                                                                                                     com.microsoft.azure.ListOperationCallback<ImageInformation> serviceCallback)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesNextAsync in interface Accounts
        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
      • listSupportedImagesNextAsync

        public rx.Observable<com.microsoft.azure.Page<ImageInformation>> listSupportedImagesNextAsync​(String nextPageLink)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesNextAsync in interface Accounts
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the observable to the PagedList<ImageInformation> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedImagesNextSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ImageInformation>,​AccountListSupportedImagesHeaders>> listSupportedImagesNextSinglePageAsync​(String nextPageLink)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the PagedList<ImageInformation> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedImagesNext

        public com.microsoft.azure.PagedList<ImageInformation> listSupportedImagesNext​(String nextPageLink,
                                                                                       AccountListSupportedImagesNextOptions accountListSupportedImagesNextOptions)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesNext in interface Accounts
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        accountListSupportedImagesNextOptions - Additional parameters for the operation
        Returns:
        the PagedList<ImageInformation> 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
      • listSupportedImagesNextAsync

        public com.microsoft.rest.ServiceFuture<List<ImageInformation>> listSupportedImagesNextAsync​(String nextPageLink,
                                                                                                     AccountListSupportedImagesNextOptions accountListSupportedImagesNextOptions,
                                                                                                     com.microsoft.rest.ServiceFuture<List<ImageInformation>> serviceFuture,
                                                                                                     com.microsoft.azure.ListOperationCallback<ImageInformation> serviceCallback)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesNextAsync in interface Accounts
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        accountListSupportedImagesNextOptions - 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
      • listSupportedImagesNextAsync

        public rx.Observable<com.microsoft.azure.Page<ImageInformation>> listSupportedImagesNextAsync​(String nextPageLink,
                                                                                                      AccountListSupportedImagesNextOptions accountListSupportedImagesNextOptions)
        Lists all Virtual Machine Images supported by the Azure Batch service.
        Specified by:
        listSupportedImagesNextAsync in interface Accounts
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        accountListSupportedImagesNextOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ImageInformation> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedImagesNextSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ImageInformation>,​AccountListSupportedImagesHeaders>> listSupportedImagesNextSinglePageAsync​(String nextPageLink,
                                                                                                                                                                                                       AccountListSupportedImagesNextOptions accountListSupportedImagesNextOptions)
        Lists all Virtual Machine Images supported by the Azure Batch service. ServiceResponseWithHeaders, AccountListSupportedImagesHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders, AccountListSupportedImagesHeaders> * @param accountListSupportedImagesNextOptions Additional parameters for the operation
        Returns:
        the PagedList<ImageInformation> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPoolNodeCountsNext

        public com.microsoft.azure.PagedList<PoolNodeCounts> listPoolNodeCountsNext​(String nextPageLink)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsNext in interface Accounts
        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
      • listPoolNodeCountsNextAsync

        public com.microsoft.rest.ServiceFuture<List<PoolNodeCounts>> listPoolNodeCountsNextAsync​(String nextPageLink,
                                                                                                  com.microsoft.rest.ServiceFuture<List<PoolNodeCounts>> serviceFuture,
                                                                                                  com.microsoft.azure.ListOperationCallback<PoolNodeCounts> serviceCallback)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsNextAsync in interface Accounts
        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
      • listPoolNodeCountsNextAsync

        public rx.Observable<com.microsoft.azure.Page<PoolNodeCounts>> listPoolNodeCountsNextAsync​(String nextPageLink)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsNextAsync in interface Accounts
        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 rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolNodeCounts>,​AccountListPoolNodeCountsHeaders>> listPoolNodeCountsNextWithServiceResponseAsync​(String nextPageLink)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsNextWithServiceResponseAsync in interface Accounts
        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
      • listPoolNodeCountsNextSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolNodeCounts>,​AccountListPoolNodeCountsHeaders>> listPoolNodeCountsNextSinglePageAsync​(String nextPageLink)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the PagedList<PoolNodeCounts> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPoolNodeCountsNext

        public com.microsoft.azure.PagedList<PoolNodeCounts> listPoolNodeCountsNext​(String nextPageLink,
                                                                                    AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsNext in interface Accounts
        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 com.microsoft.rest.ServiceFuture<List<PoolNodeCounts>> listPoolNodeCountsNextAsync​(String nextPageLink,
                                                                                                  AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions,
                                                                                                  com.microsoft.rest.ServiceFuture<List<PoolNodeCounts>> serviceFuture,
                                                                                                  com.microsoft.azure.ListOperationCallback<PoolNodeCounts> serviceCallback)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsNextAsync in interface Accounts
        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 rx.Observable<com.microsoft.azure.Page<PoolNodeCounts>> listPoolNodeCountsNextAsync​(String nextPageLink,
                                                                                                   AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsNextAsync in interface Accounts
        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
      • listPoolNodeCountsNextWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolNodeCounts>,​AccountListPoolNodeCountsHeaders>> listPoolNodeCountsNextWithServiceResponseAsync​(String nextPageLink,
                                                                                                                                                                                                            AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.
        Specified by:
        listPoolNodeCountsNextWithServiceResponseAsync in interface Accounts
        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
      • listPoolNodeCountsNextSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<PoolNodeCounts>,​AccountListPoolNodeCountsHeaders>> listPoolNodeCountsNextSinglePageAsync​(String nextPageLink,
                                                                                                                                                                                                   AccountListPoolNodeCountsNextOptions accountListPoolNodeCountsNextOptions)
        Gets the number of Compute Nodes in each state, grouped by Pool. Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query. ServiceResponseWithHeaders, AccountListPoolNodeCountsHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders, AccountListPoolNodeCountsHeaders> * @param accountListPoolNodeCountsNextOptions Additional parameters for the operation
        Returns:
        the PagedList<PoolNodeCounts> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation