Interface TasksClient


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

      • listAsync

        com.azure.core.http.rest.PagedFlux<TaskInner> listAsync​(String resourceGroupName,
                                                                String registryName)
        Lists all the tasks for a specified container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        Returns:
        the collection of tasks.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<TaskInner> list​(String resourceGroupName,
                                                               String registryName)
        Lists all the tasks for a specified container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        Returns:
        the collection of tasks.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<TaskInner> list​(String resourceGroupName,
                                                               String registryName,
                                                               com.azure.core.util.Context context)
        Lists all the tasks for a specified container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        context - The context to associate with this operation.
        Returns:
        the collection of tasks.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<TaskInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                String registryName,
                                                                                String taskName)
        Get the properties of a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the properties of a specified task.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAsync

        Mono<TaskInner> getAsync​(String resourceGroupName,
                                 String registryName,
                                 String taskName)
        Get the properties of a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the properties of a specified task.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        TaskInner get​(String resourceGroupName,
                      String registryName,
                      String taskName)
        Get the properties of a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the properties of a specified task.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<TaskInner> getWithResponse​(String resourceGroupName,
                                                                     String registryName,
                                                                     String taskName,
                                                                     com.azure.core.util.Context context)
        Get the properties of a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        context - The context to associate with this operation.
        Returns:
        the properties of a specified task.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync​(String resourceGroupName,
                                                                                          String registryName,
                                                                                          String taskName,
                                                                                          TaskInner taskCreateParameters)
        Creates a task for a container registry with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskCreateParameters - The parameters for creating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TaskInner>,​TaskInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                         String registryName,
                                                                                                                                         String taskName,
                                                                                                                                         TaskInner taskCreateParameters)
        Creates a task for a container registry with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskCreateParameters - The parameters for creating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>,​TaskInner> beginCreate​(String resourceGroupName,
                                                                                                                                    String registryName,
                                                                                                                                    String taskName,
                                                                                                                                    TaskInner taskCreateParameters)
        Creates a task for a container registry with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskCreateParameters - The parameters for creating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>,​TaskInner> beginCreate​(String resourceGroupName,
                                                                                                                                    String registryName,
                                                                                                                                    String taskName,
                                                                                                                                    TaskInner taskCreateParameters,
                                                                                                                                    com.azure.core.util.Context context)
        Creates a task for a container registry with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskCreateParameters - The parameters for creating a task.
        context - The context to associate with this operation.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createAsync

        Mono<TaskInner> createAsync​(String resourceGroupName,
                                    String registryName,
                                    String taskName,
                                    TaskInner taskCreateParameters)
        Creates a task for a container registry with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskCreateParameters - The parameters for creating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • create

        TaskInner create​(String resourceGroupName,
                         String registryName,
                         String taskName,
                         TaskInner taskCreateParameters)
        Creates a task for a container registry with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskCreateParameters - The parameters for creating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • create

        TaskInner create​(String resourceGroupName,
                         String registryName,
                         String taskName,
                         TaskInner taskCreateParameters,
                         com.azure.core.util.Context context)
        Creates a task for a container registry with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskCreateParameters - The parameters for creating a task.
        context - The context to associate with this operation.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String registryName,
                                                                                          String taskName)
        Deletes a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String registryName,
                                                                                                                               String taskName)
        Deletes a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String registryName,
                                                                                                                          String taskName)
        Deletes a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String registryName,
                                                                                                                          String taskName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        context - The context to associate with this operation.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String registryName,
                               String taskName)
        Deletes a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String registryName,
                    String taskName)
        Deletes a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String registryName,
                    String taskName,
                    com.azure.core.util.Context context)
        Deletes a specified task.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync​(String resourceGroupName,
                                                                                          String registryName,
                                                                                          String taskName,
                                                                                          TaskUpdateParameters taskUpdateParameters)
        Updates a task with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskUpdateParameters - The parameters for updating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TaskInner>,​TaskInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                         String registryName,
                                                                                                                                         String taskName,
                                                                                                                                         TaskUpdateParameters taskUpdateParameters)
        Updates a task with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskUpdateParameters - The parameters for updating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>,​TaskInner> beginUpdate​(String resourceGroupName,
                                                                                                                                    String registryName,
                                                                                                                                    String taskName,
                                                                                                                                    TaskUpdateParameters taskUpdateParameters)
        Updates a task with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskUpdateParameters - The parameters for updating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>,​TaskInner> beginUpdate​(String resourceGroupName,
                                                                                                                                    String registryName,
                                                                                                                                    String taskName,
                                                                                                                                    TaskUpdateParameters taskUpdateParameters,
                                                                                                                                    com.azure.core.util.Context context)
        Updates a task with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskUpdateParameters - The parameters for updating a task.
        context - The context to associate with this operation.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateAsync

        Mono<TaskInner> updateAsync​(String resourceGroupName,
                                    String registryName,
                                    String taskName,
                                    TaskUpdateParameters taskUpdateParameters)
        Updates a task with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskUpdateParameters - The parameters for updating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        TaskInner update​(String resourceGroupName,
                         String registryName,
                         String taskName,
                         TaskUpdateParameters taskUpdateParameters)
        Updates a task with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskUpdateParameters - The parameters for updating a task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        TaskInner update​(String resourceGroupName,
                         String registryName,
                         String taskName,
                         TaskUpdateParameters taskUpdateParameters,
                         com.azure.core.util.Context context)
        Updates a task with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        taskUpdateParameters - The parameters for updating a task.
        context - The context to associate with this operation.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getDetailsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<TaskInner>> getDetailsWithResponseAsync​(String resourceGroupName,
                                                                                       String registryName,
                                                                                       String taskName)
        Returns a task with extended information that includes all secrets.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getDetailsAsync

        Mono<TaskInner> getDetailsAsync​(String resourceGroupName,
                                        String registryName,
                                        String taskName)
        Returns a task with extended information that includes all secrets.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getDetails

        TaskInner getDetails​(String resourceGroupName,
                             String registryName,
                             String taskName)
        Returns a task with extended information that includes all secrets.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getDetailsWithResponse

        com.azure.core.http.rest.Response<TaskInner> getDetailsWithResponse​(String resourceGroupName,
                                                                            String registryName,
                                                                            String taskName,
                                                                            com.azure.core.util.Context context)
        Returns a task with extended information that includes all secrets.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        taskName - The name of the container registry task.
        context - The context to associate with this operation.
        Returns:
        the task that has the ARM resource and task properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.