Class ApplicationsImpl

  • All Implemented Interfaces:
    Applications

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

      • ApplicationsImpl

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

      • list

        public com.microsoft.azure.PagedList<ApplicationSummary> list()
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        list in interface Applications
        Returns:
        the PagedList<ApplicationSummary> 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

        public com.microsoft.rest.ServiceFuture<List<ApplicationSummary>> listAsync​(com.microsoft.azure.ListOperationCallback<ApplicationSummary> serviceCallback)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listAsync in interface Applications
        Parameters:
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listAsync

        public rx.Observable<com.microsoft.azure.Page<ApplicationSummary>> listAsync()
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listAsync in interface Applications
        Returns:
        the observable to the PagedList<ApplicationSummary> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ApplicationSummary>,​ApplicationListHeaders>> listWithServiceResponseAsync()
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listWithServiceResponseAsync in interface Applications
        Returns:
        the observable to the PagedList<ApplicationSummary> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ApplicationSummary>,​ApplicationListHeaders>> listSinglePageAsync()
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Returns:
        the PagedList<ApplicationSummary> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • list

        public com.microsoft.azure.PagedList<ApplicationSummary> list​(ApplicationListOptions applicationListOptions)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        list in interface Applications
        Parameters:
        applicationListOptions - Additional parameters for the operation
        Returns:
        the PagedList<ApplicationSummary> 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

        public com.microsoft.rest.ServiceFuture<List<ApplicationSummary>> listAsync​(ApplicationListOptions applicationListOptions,
                                                                                    com.microsoft.azure.ListOperationCallback<ApplicationSummary> serviceCallback)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listAsync in interface Applications
        Parameters:
        applicationListOptions - 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

        public rx.Observable<com.microsoft.azure.Page<ApplicationSummary>> listAsync​(ApplicationListOptions applicationListOptions)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listAsync in interface Applications
        Parameters:
        applicationListOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ApplicationSummary> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ApplicationSummary>,​ApplicationListHeaders>> listWithServiceResponseAsync​(ApplicationListOptions applicationListOptions)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listWithServiceResponseAsync in interface Applications
        Parameters:
        applicationListOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ApplicationSummary> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ApplicationSummary>,​ApplicationListHeaders>> listSinglePageAsync​(ApplicationListOptions applicationListOptions)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API. ServiceResponseWithHeaders, ApplicationListHeaders> * @param applicationListOptions Additional parameters for the operation
        Returns:
        the PagedList<ApplicationSummary> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • get

        public ApplicationSummary get​(String applicationId)
        Gets information about the specified Application. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        get in interface Applications
        Parameters:
        applicationId - The ID of the Application.
        Returns:
        the ApplicationSummary 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

        public com.microsoft.rest.ServiceFuture<ApplicationSummary> getAsync​(String applicationId,
                                                                             com.microsoft.rest.ServiceCallback<ApplicationSummary> serviceCallback)
        Gets information about the specified Application. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        getAsync in interface Applications
        Parameters:
        applicationId - The ID of the Application.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getAsync

        public rx.Observable<ApplicationSummary> getAsync​(String applicationId)
        Gets information about the specified Application. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        getAsync in interface Applications
        Parameters:
        applicationId - The ID of the Application.
        Returns:
        the observable to the ApplicationSummary object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<ApplicationSummary,​ApplicationGetHeaders>> getWithServiceResponseAsync​(String applicationId)
        Gets information about the specified Application. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        getWithServiceResponseAsync in interface Applications
        Parameters:
        applicationId - The ID of the Application.
        Returns:
        the observable to the ApplicationSummary object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • get

        public ApplicationSummary get​(String applicationId,
                                      ApplicationGetOptions applicationGetOptions)
        Gets information about the specified Application. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        get in interface Applications
        Parameters:
        applicationId - The ID of the Application.
        applicationGetOptions - Additional parameters for the operation
        Returns:
        the ApplicationSummary 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

        public com.microsoft.rest.ServiceFuture<ApplicationSummary> getAsync​(String applicationId,
                                                                             ApplicationGetOptions applicationGetOptions,
                                                                             com.microsoft.rest.ServiceCallback<ApplicationSummary> serviceCallback)
        Gets information about the specified Application. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        getAsync in interface Applications
        Parameters:
        applicationId - The ID of the Application.
        applicationGetOptions - 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

        public rx.Observable<ApplicationSummary> getAsync​(String applicationId,
                                                          ApplicationGetOptions applicationGetOptions)
        Gets information about the specified Application. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        getAsync in interface Applications
        Parameters:
        applicationId - The ID of the Application.
        applicationGetOptions - Additional parameters for the operation
        Returns:
        the observable to the ApplicationSummary object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<ApplicationSummary,​ApplicationGetHeaders>> getWithServiceResponseAsync​(String applicationId,
                                                                                                                                                        ApplicationGetOptions applicationGetOptions)
        Gets information about the specified Application. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        getWithServiceResponseAsync in interface Applications
        Parameters:
        applicationId - The ID of the Application.
        applicationGetOptions - Additional parameters for the operation
        Returns:
        the observable to the ApplicationSummary object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNext

        public com.microsoft.azure.PagedList<ApplicationSummary> listNext​(String nextPageLink)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listNext in interface Applications
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the PagedList<ApplicationSummary> 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

        public com.microsoft.rest.ServiceFuture<List<ApplicationSummary>> listNextAsync​(String nextPageLink,
                                                                                        com.microsoft.rest.ServiceFuture<List<ApplicationSummary>> serviceFuture,
                                                                                        com.microsoft.azure.ListOperationCallback<ApplicationSummary> serviceCallback)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listNextAsync in interface Applications
        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

        public rx.Observable<com.microsoft.azure.Page<ApplicationSummary>> listNextAsync​(String nextPageLink)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listNextAsync in interface Applications
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the observable to the PagedList<ApplicationSummary> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ApplicationSummary>,​ApplicationListHeaders>> listNextWithServiceResponseAsync​(String nextPageLink)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listNextWithServiceResponseAsync in interface Applications
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the observable to the PagedList<ApplicationSummary> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ApplicationSummary>,​ApplicationListHeaders>> listNextSinglePageAsync​(String nextPageLink)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        Returns:
        the PagedList<ApplicationSummary> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNext

        public com.microsoft.azure.PagedList<ApplicationSummary> listNext​(String nextPageLink,
                                                                          ApplicationListNextOptions applicationListNextOptions)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listNext in interface Applications
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        applicationListNextOptions - Additional parameters for the operation
        Returns:
        the PagedList<ApplicationSummary> 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

        public com.microsoft.rest.ServiceFuture<List<ApplicationSummary>> listNextAsync​(String nextPageLink,
                                                                                        ApplicationListNextOptions applicationListNextOptions,
                                                                                        com.microsoft.rest.ServiceFuture<List<ApplicationSummary>> serviceFuture,
                                                                                        com.microsoft.azure.ListOperationCallback<ApplicationSummary> serviceCallback)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listNextAsync in interface Applications
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        applicationListNextOptions - 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

        public rx.Observable<com.microsoft.azure.Page<ApplicationSummary>> listNextAsync​(String nextPageLink,
                                                                                         ApplicationListNextOptions applicationListNextOptions)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listNextAsync in interface Applications
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        applicationListNextOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ApplicationSummary> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ApplicationSummary>,​ApplicationListHeaders>> listNextWithServiceResponseAsync​(String nextPageLink,
                                                                                                                                                                                        ApplicationListNextOptions applicationListNextOptions)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.
        Specified by:
        listNextWithServiceResponseAsync in interface Applications
        Parameters:
        nextPageLink - The NextLink from the previous successful call to List operation.
        applicationListNextOptions - Additional parameters for the operation
        Returns:
        the observable to the PagedList<ApplicationSummary> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listNextSinglePageAsync

        public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<ApplicationSummary>,​ApplicationListHeaders>> listNextSinglePageAsync​(String nextPageLink,
                                                                                                                                                                               ApplicationListNextOptions applicationListNextOptions)
        Lists all of the applications available in the specified Account. This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API. ServiceResponseWithHeaders, ApplicationListHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders, ApplicationListHeaders> * @param applicationListNextOptions Additional parameters for the operation
        Returns:
        the PagedList<ApplicationSummary> object wrapped in ServiceResponseWithHeaders if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation