Interface TaskRunsClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<TaskRunInner>> getWithResponseAsync(String resourceGroupName, String registryName, String taskRunName)
      Gets the detailed information for a given task run.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      Returns:
      the detailed information for a given task run along with Response on successful completion of Mono.
      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<TaskRunInner> getAsync(String resourceGroupName, String registryName, String taskRunName)
      Gets the detailed information for a given task run.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      Returns:
      the detailed information for a given task run on successful completion of Mono.
      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<TaskRunInner> getWithResponse(String resourceGroupName, String registryName, String taskRunName, com.azure.core.util.Context context)
      Gets the detailed information for a given task run.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      context - The context to associate with this operation.
      Returns:
      the detailed information for a given task run along with Response.
      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

      TaskRunInner get(String resourceGroupName, String registryName, String taskRunName)
      Gets the detailed information for a given task run.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      Returns:
      the detailed information for a given task run.
      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 taskRunName, TaskRunInner taskRun)
      Creates a task run 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.
      taskRunName - The name of the task run.
      taskRun - The parameters of a run that needs to scheduled.
      Returns:
      the task run that has the ARM resource and properties along with Response on successful completion of Mono.
      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<TaskRunInner>,TaskRunInner> beginCreateAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)
      Creates a task run 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.
      taskRunName - The name of the task run.
      taskRun - The parameters of a run that needs to scheduled.
      Returns:
      the PollerFlux for polling of the task run that has the ARM resource and 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<TaskRunInner>,TaskRunInner> beginCreate(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)
      Creates a task run 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.
      taskRunName - The name of the task run.
      taskRun - The parameters of a run that needs to scheduled.
      Returns:
      the SyncPoller for polling of the task run that has the ARM resource and 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<TaskRunInner>,TaskRunInner> beginCreate(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun, com.azure.core.util.Context context)
      Creates a task run 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.
      taskRunName - The name of the task run.
      taskRun - The parameters of a run that needs to scheduled.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the task run that has the ARM resource and 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<TaskRunInner> createAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)
      Creates a task run 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.
      taskRunName - The name of the task run.
      taskRun - The parameters of a run that needs to scheduled.
      Returns:
      the task run that has the ARM resource and properties on successful completion of Mono.
      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

      TaskRunInner create(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)
      Creates a task run 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.
      taskRunName - The name of the task run.
      taskRun - The parameters of a run that needs to scheduled.
      Returns:
      the task run that has the ARM resource and 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

      TaskRunInner create(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun, com.azure.core.util.Context context)
      Creates a task run 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.
      taskRunName - The name of the task run.
      taskRun - The parameters of a run that needs to scheduled.
      context - The context to associate with this operation.
      Returns:
      the task run that has the ARM resource and 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 taskRunName)
      Deletes a specified task run resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      Returns:
      the Response on successful completion of Mono.
      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 taskRunName)
      Deletes a specified task run resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      Returns:
      the PollerFlux for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String taskRunName)
      Deletes a specified task run resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String taskRunName, com.azure.core.util.Context context)
      Deletes a specified task run resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String registryName, String taskRunName)
      Deletes a specified task run resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      Returns:
      A Mono that completes when a successful response is received.
      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 taskRunName)
      Deletes a specified task run resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      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 taskRunName, com.azure.core.util.Context context)
      Deletes a specified task run resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the container registry belongs.
      registryName - The name of the container registry.
      taskRunName - The name of the task run.
      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 taskRunName, TaskRunUpdateParameters updateParameters)
      Updates a task run 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.
      taskRunName - The name of the task run.
      updateParameters - The parameters for updating a task run.
      Returns:
      the task run that has the ARM resource and properties along with Response on successful completion of Mono.
      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<TaskRunInner>,TaskRunInner> beginUpdateAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)
      Updates a task run 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.
      taskRunName - The name of the task run.
      updateParameters - The parameters for updating a task run.
      Returns:
      the PollerFlux for polling of the task run that has the ARM resource and 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<TaskRunInner>,TaskRunInner> beginUpdate(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)
      Updates a task run 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.
      taskRunName - The name of the task run.
      updateParameters - The parameters for updating a task run.
      Returns:
      the SyncPoller for polling of the task run that has the ARM resource and 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<TaskRunInner>,TaskRunInner> beginUpdate(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters, com.azure.core.util.Context context)
      Updates a task run 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.
      taskRunName - The name of the task run.
      updateParameters - The parameters for updating a task run.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the task run that has the ARM resource and 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<TaskRunInner> updateAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)
      Updates a task run 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.
      taskRunName - The name of the task run.
      updateParameters - The parameters for updating a task run.
      Returns:
      the task run that has the ARM resource and properties on successful completion of Mono.
      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

      TaskRunInner update(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)
      Updates a task run 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.
      taskRunName - The name of the task run.
      updateParameters - The parameters for updating a task run.
      Returns:
      the task run that has the ARM resource and 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

      TaskRunInner update(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters, com.azure.core.util.Context context)
      Updates a task run 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.
      taskRunName - The name of the task run.
      updateParameters - The parameters for updating a task run.
      context - The context to associate with this operation.
      Returns:
      the task run that has the ARM resource and 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<TaskRunInner>> getDetailsWithResponseAsync(String resourceGroupName, String registryName, String taskRunName)
      Gets the detailed information for a given task run 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.
      taskRunName - The name of the task run.
      Returns:
      the detailed information for a given task run that includes all secrets along with Response on successful completion of Mono.
      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<TaskRunInner> getDetailsAsync(String resourceGroupName, String registryName, String taskRunName)
      Gets the detailed information for a given task run 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.
      taskRunName - The name of the task run.
      Returns:
      the detailed information for a given task run that includes all secrets on successful completion of Mono.
      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<TaskRunInner> getDetailsWithResponse(String resourceGroupName, String registryName, String taskRunName, com.azure.core.util.Context context)
      Gets the detailed information for a given task run 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.
      taskRunName - The name of the task run.
      context - The context to associate with this operation.
      Returns:
      the detailed information for a given task run that includes all secrets along with Response.
      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

      TaskRunInner getDetails(String resourceGroupName, String registryName, String taskRunName)
      Gets the detailed information for a given task run 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.
      taskRunName - The name of the task run.
      Returns:
      the detailed information for a given task run that includes all secrets.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<TaskRunInner> listAsync(String resourceGroupName, String registryName)
      Lists all the task runs 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 task runs as paginated response with PagedFlux.
      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<TaskRunInner> list(String resourceGroupName, String registryName)
      Lists all the task runs 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 task runs as paginated response with PagedIterable.
      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<TaskRunInner> list(String resourceGroupName, String registryName, com.azure.core.util.Context context)
      Lists all the task runs 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 task runs as paginated response with PagedIterable.
      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.