Interface ComputeNodes

  • All Known Implementing Classes:
    ComputeNodesImpl

    public interface ComputeNodes
    An instance of this class provides access to all the operations defined in ComputeNodes.
    • Method Detail

      • getRemoteDesktop

        void getRemoteDesktop​(String poolId,
                              String nodeId,
                              OutputStream outputStream)
        Parameters:
        poolId - The ID of the pool that contains the compute node.
        nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.
        outputStream - The OutputStream object which data will be written to 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
      • getRemoteDesktop

        void getRemoteDesktop​(String poolId,
                              String nodeId,
                              ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions,
                              OutputStream outputStream)
        Gets the Remote Desktop Protocol file for the specified compute node.
        Parameters:
        poolId - The ID of the pool that contains the compute node.
        nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.
        computeNodeGetRemoteDesktopOptions - Additional parameters for the operation
        outputStream - The OutputStream object which data will be written to 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
      • addUser

        void addUser​(String poolId,
                     String nodeId,
                     ComputeNodeUser user)
        Adds a user Account to the specified Compute Node. You can add a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to create a user Account.
        user - The user Account to be created.
        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
      • addUserAsync

        com.microsoft.rest.ServiceFuture<Void> addUserAsync​(String poolId,
                                                            String nodeId,
                                                            ComputeNodeUser user,
                                                            com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Adds a user Account to the specified Compute Node. You can add a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to create a user Account.
        user - The user Account to be created.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addUserAsync

        rx.Observable<Void> addUserAsync​(String poolId,
                                         String nodeId,
                                         ComputeNodeUser user)
        Adds a user Account to the specified Compute Node. You can add a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to create a user Account.
        user - The user Account to be created.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addUserWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeAddUserHeaders>> addUserWithServiceResponseAsync​(String poolId,
                                                                                                                                           String nodeId,
                                                                                                                                           ComputeNodeUser user)
        Adds a user Account to the specified Compute Node. You can add a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to create a user Account.
        user - The user Account to be created.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addUser

        void addUser​(String poolId,
                     String nodeId,
                     ComputeNodeUser user,
                     ComputeNodeAddUserOptions computeNodeAddUserOptions)
        Adds a user Account to the specified Compute Node. You can add a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to create a user Account.
        user - The user Account to be created.
        computeNodeAddUserOptions - Additional parameters for the operation
        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
      • addUserAsync

        com.microsoft.rest.ServiceFuture<Void> addUserAsync​(String poolId,
                                                            String nodeId,
                                                            ComputeNodeUser user,
                                                            ComputeNodeAddUserOptions computeNodeAddUserOptions,
                                                            com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Adds a user Account to the specified Compute Node. You can add a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to create a user Account.
        user - The user Account to be created.
        computeNodeAddUserOptions - 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
      • addUserAsync

        rx.Observable<Void> addUserAsync​(String poolId,
                                         String nodeId,
                                         ComputeNodeUser user,
                                         ComputeNodeAddUserOptions computeNodeAddUserOptions)
        Adds a user Account to the specified Compute Node. You can add a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to create a user Account.
        user - The user Account to be created.
        computeNodeAddUserOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addUserWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeAddUserHeaders>> addUserWithServiceResponseAsync​(String poolId,
                                                                                                                                           String nodeId,
                                                                                                                                           ComputeNodeUser user,
                                                                                                                                           ComputeNodeAddUserOptions computeNodeAddUserOptions)
        Adds a user Account to the specified Compute Node. You can add a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to create a user Account.
        user - The user Account to be created.
        computeNodeAddUserOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteUser

        void deleteUser​(String poolId,
                        String nodeId,
                        String userName)
        Deletes a user Account from the specified Compute Node. You can delete a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to delete a user Account.
        userName - The name of the user Account to delete.
        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
      • deleteUserAsync

        com.microsoft.rest.ServiceFuture<Void> deleteUserAsync​(String poolId,
                                                               String nodeId,
                                                               String userName,
                                                               com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Deletes a user Account from the specified Compute Node. You can delete a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to delete a user Account.
        userName - The name of the user Account to delete.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteUserAsync

        rx.Observable<Void> deleteUserAsync​(String poolId,
                                            String nodeId,
                                            String userName)
        Deletes a user Account from the specified Compute Node. You can delete a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to delete a user Account.
        userName - The name of the user Account to delete.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteUserWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeDeleteUserHeaders>> deleteUserWithServiceResponseAsync​(String poolId,
                                                                                                                                                 String nodeId,
                                                                                                                                                 String userName)
        Deletes a user Account from the specified Compute Node. You can delete a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to delete a user Account.
        userName - The name of the user Account to delete.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteUser

        void deleteUser​(String poolId,
                        String nodeId,
                        String userName,
                        ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)
        Deletes a user Account from the specified Compute Node. You can delete a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to delete a user Account.
        userName - The name of the user Account to delete.
        computeNodeDeleteUserOptions - Additional parameters for the operation
        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
      • deleteUserAsync

        com.microsoft.rest.ServiceFuture<Void> deleteUserAsync​(String poolId,
                                                               String nodeId,
                                                               String userName,
                                                               ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions,
                                                               com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Deletes a user Account from the specified Compute Node. You can delete a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to delete a user Account.
        userName - The name of the user Account to delete.
        computeNodeDeleteUserOptions - 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
      • deleteUserAsync

        rx.Observable<Void> deleteUserAsync​(String poolId,
                                            String nodeId,
                                            String userName,
                                            ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)
        Deletes a user Account from the specified Compute Node. You can delete a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to delete a user Account.
        userName - The name of the user Account to delete.
        computeNodeDeleteUserOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteUserWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeDeleteUserHeaders>> deleteUserWithServiceResponseAsync​(String poolId,
                                                                                                                                                 String nodeId,
                                                                                                                                                 String userName,
                                                                                                                                                 ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)
        Deletes a user Account from the specified Compute Node. You can delete a user Account to a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to delete a user Account.
        userName - The name of the user Account to delete.
        computeNodeDeleteUserOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateUser

        void updateUser​(String poolId,
                        String nodeId,
                        String userName,
                        NodeUpdateUserParameter nodeUpdateUserParameter)
        Updates the password and expiration time of a user Account on the specified Compute Node. This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to update a user Account.
        userName - The name of the user Account to update.
        nodeUpdateUserParameter - The parameters for the request.
        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
      • updateUserAsync

        com.microsoft.rest.ServiceFuture<Void> updateUserAsync​(String poolId,
                                                               String nodeId,
                                                               String userName,
                                                               NodeUpdateUserParameter nodeUpdateUserParameter,
                                                               com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Updates the password and expiration time of a user Account on the specified Compute Node. This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to update a user Account.
        userName - The name of the user Account to update.
        nodeUpdateUserParameter - 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
      • updateUserAsync

        rx.Observable<Void> updateUserAsync​(String poolId,
                                            String nodeId,
                                            String userName,
                                            NodeUpdateUserParameter nodeUpdateUserParameter)
        Updates the password and expiration time of a user Account on the specified Compute Node. This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to update a user Account.
        userName - The name of the user Account to update.
        nodeUpdateUserParameter - The parameters for the request.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateUserWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeUpdateUserHeaders>> updateUserWithServiceResponseAsync​(String poolId,
                                                                                                                                                 String nodeId,
                                                                                                                                                 String userName,
                                                                                                                                                 NodeUpdateUserParameter nodeUpdateUserParameter)
        Updates the password and expiration time of a user Account on the specified Compute Node. This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to update a user Account.
        userName - The name of the user Account to update.
        nodeUpdateUserParameter - The parameters for the request.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateUser

        void updateUser​(String poolId,
                        String nodeId,
                        String userName,
                        NodeUpdateUserParameter nodeUpdateUserParameter,
                        ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions)
        Updates the password and expiration time of a user Account on the specified Compute Node. This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to update a user Account.
        userName - The name of the user Account to update.
        nodeUpdateUserParameter - The parameters for the request.
        computeNodeUpdateUserOptions - Additional parameters for the operation
        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
      • updateUserAsync

        com.microsoft.rest.ServiceFuture<Void> updateUserAsync​(String poolId,
                                                               String nodeId,
                                                               String userName,
                                                               NodeUpdateUserParameter nodeUpdateUserParameter,
                                                               ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions,
                                                               com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Updates the password and expiration time of a user Account on the specified Compute Node. This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to update a user Account.
        userName - The name of the user Account to update.
        nodeUpdateUserParameter - The parameters for the request.
        computeNodeUpdateUserOptions - 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
      • updateUserAsync

        rx.Observable<Void> updateUserAsync​(String poolId,
                                            String nodeId,
                                            String userName,
                                            NodeUpdateUserParameter nodeUpdateUserParameter,
                                            ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions)
        Updates the password and expiration time of a user Account on the specified Compute Node. This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to update a user Account.
        userName - The name of the user Account to update.
        nodeUpdateUserParameter - The parameters for the request.
        computeNodeUpdateUserOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateUserWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeUpdateUserHeaders>> updateUserWithServiceResponseAsync​(String poolId,
                                                                                                                                                 String nodeId,
                                                                                                                                                 String userName,
                                                                                                                                                 NodeUpdateUserParameter nodeUpdateUserParameter,
                                                                                                                                                 ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions)
        Updates the password and expiration time of a user Account on the specified Compute Node. This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the machine on which you want to update a user Account.
        userName - The name of the user Account to update.
        nodeUpdateUserParameter - The parameters for the request.
        computeNodeUpdateUserOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • get

        ComputeNode get​(String poolId,
                        String nodeId)
        Gets information about the specified Compute Node.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to get information about.
        Returns:
        the ComputeNode 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
      • getAsync

        com.microsoft.rest.ServiceFuture<ComputeNode> getAsync​(String poolId,
                                                               String nodeId,
                                                               com.microsoft.rest.ServiceCallback<ComputeNode> serviceCallback)
        Gets information about the specified Compute Node.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to get information about.
        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<ComputeNode> getAsync​(String poolId,
                                            String nodeId)
        Gets information about the specified Compute Node.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to get information about.
        Returns:
        the observable to the ComputeNode object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<ComputeNode,​ComputeNodeGetHeaders>> getWithServiceResponseAsync​(String poolId,
                                                                                                                                          String nodeId)
        Gets information about the specified Compute Node.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to get information about.
        Returns:
        the observable to the ComputeNode object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • get

        ComputeNode get​(String poolId,
                        String nodeId,
                        ComputeNodeGetOptions computeNodeGetOptions)
        Gets information about the specified Compute Node.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to get information about.
        computeNodeGetOptions - Additional parameters for the operation
        Returns:
        the ComputeNode 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
      • getAsync

        com.microsoft.rest.ServiceFuture<ComputeNode> getAsync​(String poolId,
                                                               String nodeId,
                                                               ComputeNodeGetOptions computeNodeGetOptions,
                                                               com.microsoft.rest.ServiceCallback<ComputeNode> serviceCallback)
        Gets information about the specified Compute Node.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to get information about.
        computeNodeGetOptions - 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
      • getAsync

        rx.Observable<ComputeNode> getAsync​(String poolId,
                                            String nodeId,
                                            ComputeNodeGetOptions computeNodeGetOptions)
        Gets information about the specified Compute Node.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to get information about.
        computeNodeGetOptions - Additional parameters for the operation
        Returns:
        the observable to the ComputeNode object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<ComputeNode,​ComputeNodeGetHeaders>> getWithServiceResponseAsync​(String poolId,
                                                                                                                                          String nodeId,
                                                                                                                                          ComputeNodeGetOptions computeNodeGetOptions)
        Gets information about the specified Compute Node.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to get information about.
        computeNodeGetOptions - Additional parameters for the operation
        Returns:
        the observable to the ComputeNode object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • reboot

        void reboot​(String poolId,
                    String nodeId)
        Restarts the specified Compute Node. You can restart a Compute Node only if it is in an idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        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
      • rebootAsync

        com.microsoft.rest.ServiceFuture<Void> rebootAsync​(String poolId,
                                                           String nodeId,
                                                           com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Restarts the specified Compute Node. You can restart a Compute Node only if it is in an idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • rebootAsync

        rx.Observable<Void> rebootAsync​(String poolId,
                                        String nodeId)
        Restarts the specified Compute Node. You can restart a Compute Node only if it is in an idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • rebootWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeRebootHeaders>> rebootWithServiceResponseAsync​(String poolId,
                                                                                                                                         String nodeId)
        Restarts the specified Compute Node. You can restart a Compute Node only if it is in an idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • reboot

        void reboot​(String poolId,
                    String nodeId,
                    ComputeNodeRebootOption nodeRebootOption,
                    ComputeNodeRebootOptions computeNodeRebootOptions)
        Restarts the specified Compute Node. You can restart a Compute Node only if it is in an idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        nodeRebootOption - When to reboot the Compute Node and what to do with currently running Tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
        computeNodeRebootOptions - Additional parameters for the operation
        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
      • rebootAsync

        com.microsoft.rest.ServiceFuture<Void> rebootAsync​(String poolId,
                                                           String nodeId,
                                                           ComputeNodeRebootOption nodeRebootOption,
                                                           ComputeNodeRebootOptions computeNodeRebootOptions,
                                                           com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Restarts the specified Compute Node. You can restart a Compute Node only if it is in an idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        nodeRebootOption - When to reboot the Compute Node and what to do with currently running Tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
        computeNodeRebootOptions - 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
      • rebootAsync

        rx.Observable<Void> rebootAsync​(String poolId,
                                        String nodeId,
                                        ComputeNodeRebootOption nodeRebootOption,
                                        ComputeNodeRebootOptions computeNodeRebootOptions)
        Restarts the specified Compute Node. You can restart a Compute Node only if it is in an idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        nodeRebootOption - When to reboot the Compute Node and what to do with currently running Tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
        computeNodeRebootOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • rebootWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeRebootHeaders>> rebootWithServiceResponseAsync​(String poolId,
                                                                                                                                         String nodeId,
                                                                                                                                         ComputeNodeRebootOption nodeRebootOption,
                                                                                                                                         ComputeNodeRebootOptions computeNodeRebootOptions)
        Restarts the specified Compute Node. You can restart a Compute Node only if it is in an idle or running state.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        nodeRebootOption - When to reboot the Compute Node and what to do with currently running Tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
        computeNodeRebootOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • reimage

        void reimage​(String poolId,
                     String nodeId)
        Reinstalls the operating system on the specified Compute Node. You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        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
      • reimageAsync

        com.microsoft.rest.ServiceFuture<Void> reimageAsync​(String poolId,
                                                            String nodeId,
                                                            com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Reinstalls the operating system on the specified Compute Node. You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • reimageAsync

        rx.Observable<Void> reimageAsync​(String poolId,
                                         String nodeId)
        Reinstalls the operating system on the specified Compute Node. You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • reimageWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeReimageHeaders>> reimageWithServiceResponseAsync​(String poolId,
                                                                                                                                           String nodeId)
        Reinstalls the operating system on the specified Compute Node. You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • reimage

        void reimage​(String poolId,
                     String nodeId,
                     ComputeNodeReimageOption nodeReimageOption,
                     ComputeNodeReimageOptions computeNodeReimageOptions)
        Reinstalls the operating system on the specified Compute Node. You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        nodeReimageOption - When to reimage the Compute Node and what to do with currently running Tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
        computeNodeReimageOptions - Additional parameters for the operation
        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
      • reimageAsync

        com.microsoft.rest.ServiceFuture<Void> reimageAsync​(String poolId,
                                                            String nodeId,
                                                            ComputeNodeReimageOption nodeReimageOption,
                                                            ComputeNodeReimageOptions computeNodeReimageOptions,
                                                            com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Reinstalls the operating system on the specified Compute Node. You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        nodeReimageOption - When to reimage the Compute Node and what to do with currently running Tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
        computeNodeReimageOptions - 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
      • reimageAsync

        rx.Observable<Void> reimageAsync​(String poolId,
                                         String nodeId,
                                         ComputeNodeReimageOption nodeReimageOption,
                                         ComputeNodeReimageOptions computeNodeReimageOptions)
        Reinstalls the operating system on the specified Compute Node. You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        nodeReimageOption - When to reimage the Compute Node and what to do with currently running Tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
        computeNodeReimageOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • reimageWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeReimageHeaders>> reimageWithServiceResponseAsync​(String poolId,
                                                                                                                                           String nodeId,
                                                                                                                                           ComputeNodeReimageOption nodeReimageOption,
                                                                                                                                           ComputeNodeReimageOptions computeNodeReimageOptions)
        Reinstalls the operating system on the specified Compute Node. You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node that you want to restart.
        nodeReimageOption - When to reimage the Compute Node and what to do with currently running Tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
        computeNodeReimageOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • disableScheduling

        void disableScheduling​(String poolId,
                               String nodeId)
        Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to disable Task scheduling.
        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
      • disableSchedulingAsync

        com.microsoft.rest.ServiceFuture<Void> disableSchedulingAsync​(String poolId,
                                                                      String nodeId,
                                                                      com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to disable Task scheduling.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • disableSchedulingAsync

        rx.Observable<Void> disableSchedulingAsync​(String poolId,
                                                   String nodeId)
        Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to disable Task scheduling.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • disableSchedulingWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeDisableSchedulingHeaders>> disableSchedulingWithServiceResponseAsync​(String poolId,
                                                                                                                                                               String nodeId)
        Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to disable Task scheduling.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • disableScheduling

        void disableScheduling​(String poolId,
                               String nodeId,
                               DisableComputeNodeSchedulingOption nodeDisableSchedulingOption,
                               ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)
        Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to disable Task scheduling.
        nodeDisableSchedulingOption - What to do with currently running Tasks when disabling Task scheduling on the Compute Node. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'
        computeNodeDisableSchedulingOptions - Additional parameters for the operation
        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
      • disableSchedulingAsync

        com.microsoft.rest.ServiceFuture<Void> disableSchedulingAsync​(String poolId,
                                                                      String nodeId,
                                                                      DisableComputeNodeSchedulingOption nodeDisableSchedulingOption,
                                                                      ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions,
                                                                      com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to disable Task scheduling.
        nodeDisableSchedulingOption - What to do with currently running Tasks when disabling Task scheduling on the Compute Node. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'
        computeNodeDisableSchedulingOptions - 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
      • disableSchedulingAsync

        rx.Observable<Void> disableSchedulingAsync​(String poolId,
                                                   String nodeId,
                                                   DisableComputeNodeSchedulingOption nodeDisableSchedulingOption,
                                                   ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)
        Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to disable Task scheduling.
        nodeDisableSchedulingOption - What to do with currently running Tasks when disabling Task scheduling on the Compute Node. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'
        computeNodeDisableSchedulingOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • disableSchedulingWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeDisableSchedulingHeaders>> disableSchedulingWithServiceResponseAsync​(String poolId,
                                                                                                                                                               String nodeId,
                                                                                                                                                               DisableComputeNodeSchedulingOption nodeDisableSchedulingOption,
                                                                                                                                                               ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)
        Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to disable Task scheduling.
        nodeDisableSchedulingOption - What to do with currently running Tasks when disabling Task scheduling on the Compute Node. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'
        computeNodeDisableSchedulingOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • enableScheduling

        void enableScheduling​(String poolId,
                              String nodeId)
        Enables Task scheduling on the specified Compute Node. You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to enable Task scheduling.
        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
      • enableSchedulingAsync

        com.microsoft.rest.ServiceFuture<Void> enableSchedulingAsync​(String poolId,
                                                                     String nodeId,
                                                                     com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Enables Task scheduling on the specified Compute Node. You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to enable Task scheduling.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • enableSchedulingAsync

        rx.Observable<Void> enableSchedulingAsync​(String poolId,
                                                  String nodeId)
        Enables Task scheduling on the specified Compute Node. You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to enable Task scheduling.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • enableSchedulingWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeEnableSchedulingHeaders>> enableSchedulingWithServiceResponseAsync​(String poolId,
                                                                                                                                                             String nodeId)
        Enables Task scheduling on the specified Compute Node. You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to enable Task scheduling.
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • enableScheduling

        void enableScheduling​(String poolId,
                              String nodeId,
                              ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions)
        Enables Task scheduling on the specified Compute Node. You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to enable Task scheduling.
        computeNodeEnableSchedulingOptions - Additional parameters for the operation
        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
      • enableSchedulingAsync

        com.microsoft.rest.ServiceFuture<Void> enableSchedulingAsync​(String poolId,
                                                                     String nodeId,
                                                                     ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions,
                                                                     com.microsoft.rest.ServiceCallback<Void> serviceCallback)
        Enables Task scheduling on the specified Compute Node. You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to enable Task scheduling.
        computeNodeEnableSchedulingOptions - 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
      • enableSchedulingAsync

        rx.Observable<Void> enableSchedulingAsync​(String poolId,
                                                  String nodeId,
                                                  ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions)
        Enables Task scheduling on the specified Compute Node. You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to enable Task scheduling.
        computeNodeEnableSchedulingOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • enableSchedulingWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,​ComputeNodeEnableSchedulingHeaders>> enableSchedulingWithServiceResponseAsync​(String poolId,
                                                                                                                                                             String nodeId,
                                                                                                                                                             ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions)
        Enables Task scheduling on the specified Compute Node. You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node on which you want to enable Task scheduling.
        computeNodeEnableSchedulingOptions - Additional parameters for the operation
        Returns:
        the ServiceResponseWithHeaders object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteLoginSettings

        ComputeNodeGetRemoteLoginSettingsResult getRemoteLoginSettings​(String poolId,
                                                                       String nodeId)
        Gets the settings required for remote login to a Compute Node. Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which to obtain the remote login settings.
        Returns:
        the ComputeNodeGetRemoteLoginSettingsResult 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
      • getRemoteLoginSettingsAsync

        com.microsoft.rest.ServiceFuture<ComputeNodeGetRemoteLoginSettingsResult> getRemoteLoginSettingsAsync​(String poolId,
                                                                                                              String nodeId,
                                                                                                              com.microsoft.rest.ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult> serviceCallback)
        Gets the settings required for remote login to a Compute Node. Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which to obtain the remote login settings.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteLoginSettingsAsync

        rx.Observable<ComputeNodeGetRemoteLoginSettingsResult> getRemoteLoginSettingsAsync​(String poolId,
                                                                                           String nodeId)
        Gets the settings required for remote login to a Compute Node. Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which to obtain the remote login settings.
        Returns:
        the observable to the ComputeNodeGetRemoteLoginSettingsResult object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteLoginSettingsWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<ComputeNodeGetRemoteLoginSettingsResult,​ComputeNodeGetRemoteLoginSettingsHeaders>> getRemoteLoginSettingsWithServiceResponseAsync​(String poolId,
                                                                                                                                                                                                            String nodeId)
        Gets the settings required for remote login to a Compute Node. Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which to obtain the remote login settings.
        Returns:
        the observable to the ComputeNodeGetRemoteLoginSettingsResult object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteLoginSettings

        ComputeNodeGetRemoteLoginSettingsResult getRemoteLoginSettings​(String poolId,
                                                                       String nodeId,
                                                                       ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions)
        Gets the settings required for remote login to a Compute Node. Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which to obtain the remote login settings.
        computeNodeGetRemoteLoginSettingsOptions - Additional parameters for the operation
        Returns:
        the ComputeNodeGetRemoteLoginSettingsResult 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
      • getRemoteLoginSettingsAsync

        com.microsoft.rest.ServiceFuture<ComputeNodeGetRemoteLoginSettingsResult> getRemoteLoginSettingsAsync​(String poolId,
                                                                                                              String nodeId,
                                                                                                              ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions,
                                                                                                              com.microsoft.rest.ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult> serviceCallback)
        Gets the settings required for remote login to a Compute Node. Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which to obtain the remote login settings.
        computeNodeGetRemoteLoginSettingsOptions - 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
      • getRemoteLoginSettingsAsync

        rx.Observable<ComputeNodeGetRemoteLoginSettingsResult> getRemoteLoginSettingsAsync​(String poolId,
                                                                                           String nodeId,
                                                                                           ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions)
        Gets the settings required for remote login to a Compute Node. Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which to obtain the remote login settings.
        computeNodeGetRemoteLoginSettingsOptions - Additional parameters for the operation
        Returns:
        the observable to the ComputeNodeGetRemoteLoginSettingsResult object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteLoginSettingsWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<ComputeNodeGetRemoteLoginSettingsResult,​ComputeNodeGetRemoteLoginSettingsHeaders>> getRemoteLoginSettingsWithServiceResponseAsync​(String poolId,
                                                                                                                                                                                                            String nodeId,
                                                                                                                                                                                                            ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions)
        Gets the settings required for remote login to a Compute Node. Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which to obtain the remote login settings.
        computeNodeGetRemoteLoginSettingsOptions - Additional parameters for the operation
        Returns:
        the observable to the ComputeNodeGetRemoteLoginSettingsResult object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteDesktop

        InputStream getRemoteDesktop​(String poolId,
                                     String nodeId)
        Gets the Remote Desktop Protocol file for the specified Compute Node. Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.
        Returns:
        the InputStream 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
      • getRemoteDesktopAsync

        com.microsoft.rest.ServiceFuture<InputStream> getRemoteDesktopAsync​(String poolId,
                                                                            String nodeId,
                                                                            com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
        Gets the Remote Desktop Protocol file for the specified Compute Node. Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteDesktopAsync

        rx.Observable<InputStream> getRemoteDesktopAsync​(String poolId,
                                                         String nodeId)
        Gets the Remote Desktop Protocol file for the specified Compute Node. Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteDesktopWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,​ComputeNodeGetRemoteDesktopHeaders>> getRemoteDesktopWithServiceResponseAsync​(String poolId,
                                                                                                                                                                    String nodeId)
        Gets the Remote Desktop Protocol file for the specified Compute Node. Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteDesktop

        InputStream getRemoteDesktop​(String poolId,
                                     String nodeId,
                                     ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions)
        Gets the Remote Desktop Protocol file for the specified Compute Node. Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.
        computeNodeGetRemoteDesktopOptions - Additional parameters for the operation
        Returns:
        the InputStream 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
      • getRemoteDesktopAsync

        com.microsoft.rest.ServiceFuture<InputStream> getRemoteDesktopAsync​(String poolId,
                                                                            String nodeId,
                                                                            ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions,
                                                                            com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
        Gets the Remote Desktop Protocol file for the specified Compute Node. Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.
        computeNodeGetRemoteDesktopOptions - 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
      • getRemoteDesktopAsync

        rx.Observable<InputStream> getRemoteDesktopAsync​(String poolId,
                                                         String nodeId,
                                                         ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions)
        Gets the Remote Desktop Protocol file for the specified Compute Node. Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.
        computeNodeGetRemoteDesktopOptions - Additional parameters for the operation
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRemoteDesktopWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,​ComputeNodeGetRemoteDesktopHeaders>> getRemoteDesktopWithServiceResponseAsync​(String poolId,
                                                                                                                                                                    String nodeId,
                                                                                                                                                                    ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions)
        Gets the Remote Desktop Protocol file for the specified Compute Node. Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node for which you want to get the Remote Desktop Protocol file.
        computeNodeGetRemoteDesktopOptions - Additional parameters for the operation
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • uploadBatchServiceLogs

        UploadBatchServiceLogsResult uploadBatchServiceLogs​(String poolId,
                                                            String nodeId,
                                                            UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration)
        Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node from which you want to upload the Azure Batch service log files.
        uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
        Returns:
        the UploadBatchServiceLogsResult 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
      • uploadBatchServiceLogsAsync

        com.microsoft.rest.ServiceFuture<UploadBatchServiceLogsResult> uploadBatchServiceLogsAsync​(String poolId,
                                                                                                   String nodeId,
                                                                                                   UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration,
                                                                                                   com.microsoft.rest.ServiceCallback<UploadBatchServiceLogsResult> serviceCallback)
        Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node from which you want to upload the Azure Batch service log files.
        uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • uploadBatchServiceLogsAsync

        rx.Observable<UploadBatchServiceLogsResult> uploadBatchServiceLogsAsync​(String poolId,
                                                                                String nodeId,
                                                                                UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration)
        Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node from which you want to upload the Azure Batch service log files.
        uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
        Returns:
        the observable to the UploadBatchServiceLogsResult object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • uploadBatchServiceLogsWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<UploadBatchServiceLogsResult,​ComputeNodeUploadBatchServiceLogsHeaders>> uploadBatchServiceLogsWithServiceResponseAsync​(String poolId,
                                                                                                                                                                                                 String nodeId,
                                                                                                                                                                                                 UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration)
        Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node from which you want to upload the Azure Batch service log files.
        uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
        Returns:
        the observable to the UploadBatchServiceLogsResult object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • uploadBatchServiceLogs

        UploadBatchServiceLogsResult uploadBatchServiceLogs​(String poolId,
                                                            String nodeId,
                                                            UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration,
                                                            ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions)
        Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node from which you want to upload the Azure Batch service log files.
        uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
        computeNodeUploadBatchServiceLogsOptions - Additional parameters for the operation
        Returns:
        the UploadBatchServiceLogsResult 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
      • uploadBatchServiceLogsAsync

        com.microsoft.rest.ServiceFuture<UploadBatchServiceLogsResult> uploadBatchServiceLogsAsync​(String poolId,
                                                                                                   String nodeId,
                                                                                                   UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration,
                                                                                                   ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions,
                                                                                                   com.microsoft.rest.ServiceCallback<UploadBatchServiceLogsResult> serviceCallback)
        Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node from which you want to upload the Azure Batch service log files.
        uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
        computeNodeUploadBatchServiceLogsOptions - 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
      • uploadBatchServiceLogsAsync

        rx.Observable<UploadBatchServiceLogsResult> uploadBatchServiceLogsAsync​(String poolId,
                                                                                String nodeId,
                                                                                UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration,
                                                                                ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions)
        Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node from which you want to upload the Azure Batch service log files.
        uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
        computeNodeUploadBatchServiceLogsOptions - Additional parameters for the operation
        Returns:
        the observable to the UploadBatchServiceLogsResult object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • uploadBatchServiceLogsWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<UploadBatchServiceLogsResult,​ComputeNodeUploadBatchServiceLogsHeaders>> uploadBatchServiceLogsWithServiceResponseAsync​(String poolId,
                                                                                                                                                                                                 String nodeId,
                                                                                                                                                                                                 UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration,
                                                                                                                                                                                                 ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions)
        Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.
        Parameters:
        poolId - The ID of the Pool that contains the Compute Node.
        nodeId - The ID of the Compute Node from which you want to upload the Azure Batch service log files.
        uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
        computeNodeUploadBatchServiceLogsOptions - Additional parameters for the operation
        Returns:
        the observable to the UploadBatchServiceLogsResult object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • list

        com.microsoft.azure.PagedList<ComputeNode> list​(String poolId)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        poolId - The ID of the Pool from which you want to list Compute Nodes.
        Returns:
        the PagedList<ComputeNode> 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
      • listAsync

        com.microsoft.rest.ServiceFuture<List<ComputeNode>> listAsync​(String poolId,
                                                                      com.microsoft.azure.ListOperationCallback<ComputeNode> serviceCallback)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        poolId - The ID of the Pool from which you want to list Compute Nodes.
        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<ComputeNode>> listAsync​(String poolId)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        poolId - The ID of the Pool from which you want to list Compute Nodes.
        Returns:
        the observable to the PagedList<ComputeNode> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ComputeNode>,​ComputeNodeListHeaders>> listWithServiceResponseAsync​(String poolId)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        poolId - The ID of the Pool from which you want to list Compute Nodes.
        Returns:
        the observable to the PagedList<ComputeNode> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • list

        com.microsoft.azure.PagedList<ComputeNode> list​(String poolId,
                                                        ComputeNodeListOptions computeNodeListOptions)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        poolId - The ID of the Pool from which you want to list Compute Nodes.
        computeNodeListOptions - Additional parameters for the operation
        Returns:
        the PagedList<ComputeNode> 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
      • listAsync

        com.microsoft.rest.ServiceFuture<List<ComputeNode>> listAsync​(String poolId,
                                                                      ComputeNodeListOptions computeNodeListOptions,
                                                                      com.microsoft.azure.ListOperationCallback<ComputeNode> serviceCallback)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        poolId - The ID of the Pool from which you want to list Compute Nodes.
        computeNodeListOptions - 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
      • listAsync

        rx.Observable<com.microsoft.azure.Page<ComputeNode>> listAsync​(String poolId,
                                                                       ComputeNodeListOptions computeNodeListOptions)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        poolId - The ID of the Pool from which you want to list Compute Nodes.
        computeNodeListOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ComputeNode> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ComputeNode>,​ComputeNodeListHeaders>> listWithServiceResponseAsync​(String poolId,
                                                                                                                                                                      ComputeNodeListOptions computeNodeListOptions)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        poolId - The ID of the Pool from which you want to list Compute Nodes.
        computeNodeListOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ComputeNode> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNext

        com.microsoft.azure.PagedList<ComputeNode> listNext​(String nextPageLink)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the PagedList<ComputeNode> 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
      • listNextAsync

        com.microsoft.rest.ServiceFuture<List<ComputeNode>> listNextAsync​(String nextPageLink,
                                                                          com.microsoft.rest.ServiceFuture<List<ComputeNode>> serviceFuture,
                                                                          com.microsoft.azure.ListOperationCallback<ComputeNode> serviceCallback)
        Lists the Compute Nodes in the specified 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
      • listNextAsync

        rx.Observable<com.microsoft.azure.Page<ComputeNode>> listNextAsync​(String nextPageLink)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the observable to the PagedList<ComputeNode> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ComputeNode>,​ComputeNodeListHeaders>> listNextWithServiceResponseAsync​(String nextPageLink)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the observable to the PagedList<ComputeNode> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNext

        com.microsoft.azure.PagedList<ComputeNode> listNext​(String nextPageLink,
                                                            ComputeNodeListNextOptions computeNodeListNextOptions)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        computeNodeListNextOptions - Additional parameters for the operation
        Returns:
        the PagedList<ComputeNode> 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
      • listNextAsync

        com.microsoft.rest.ServiceFuture<List<ComputeNode>> listNextAsync​(String nextPageLink,
                                                                          ComputeNodeListNextOptions computeNodeListNextOptions,
                                                                          com.microsoft.rest.ServiceFuture<List<ComputeNode>> serviceFuture,
                                                                          com.microsoft.azure.ListOperationCallback<ComputeNode> serviceCallback)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        computeNodeListNextOptions - 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
      • listNextAsync

        rx.Observable<com.microsoft.azure.Page<ComputeNode>> listNextAsync​(String nextPageLink,
                                                                           ComputeNodeListNextOptions computeNodeListNextOptions)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        computeNodeListNextOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ComputeNode> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextWithServiceResponseAsync

        rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ComputeNode>,​ComputeNodeListHeaders>> listNextWithServiceResponseAsync​(String nextPageLink,
                                                                                                                                                                          ComputeNodeListNextOptions computeNodeListNextOptions)
        Lists the Compute Nodes in the specified Pool.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        computeNodeListNextOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ComputeNode> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation