public interface JobRuns
Resource collection API of JobRuns.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String resourceGroupName, String storageMoverName, String projectName, String jobDefinitionName, String jobRunName)
    Gets a Job Run resource.
    com.azure.core.http.rest.Response<JobRun>
    getWithResponse(String resourceGroupName, String storageMoverName, String projectName, String jobDefinitionName, String jobRunName, com.azure.core.util.Context context)
    Gets a Job Run resource.
    com.azure.core.http.rest.PagedIterable<JobRun>
    list(String resourceGroupName, String storageMoverName, String projectName, String jobDefinitionName)
    Lists all Job Runs in a Job Definition.
    com.azure.core.http.rest.PagedIterable<JobRun>
    list(String resourceGroupName, String storageMoverName, String projectName, String jobDefinitionName, com.azure.core.util.Context context)
    Lists all Job Runs in a Job Definition.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<JobRun> list(String resourceGroupName, String storageMoverName, String projectName, String jobDefinitionName)
      Lists all Job Runs in a Job Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      projectName - The name of the Project resource.
      jobDefinitionName - The name of the Job Definition resource.
      Returns:
      list of Job 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<JobRun> list(String resourceGroupName, String storageMoverName, String projectName, String jobDefinitionName, com.azure.core.util.Context context)
      Lists all Job Runs in a Job Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      projectName - The name of the Project resource.
      jobDefinitionName - The name of the Job Definition resource.
      context - The context to associate with this operation.
      Returns:
      list of Job 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.
    • getWithResponse

      com.azure.core.http.rest.Response<JobRun> getWithResponse(String resourceGroupName, String storageMoverName, String projectName, String jobDefinitionName, String jobRunName, com.azure.core.util.Context context)
      Gets a Job Run resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      projectName - The name of the Project resource.
      jobDefinitionName - The name of the Job Definition resource.
      jobRunName - The name of the Job Run resource.
      context - The context to associate with this operation.
      Returns:
      a Job Run resource 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

      JobRun get(String resourceGroupName, String storageMoverName, String projectName, String jobDefinitionName, String jobRunName)
      Gets a Job Run resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      storageMoverName - The name of the Storage Mover resource.
      projectName - The name of the Project resource.
      jobDefinitionName - The name of the Job Definition resource.
      jobRunName - The name of the Job Run resource.
      Returns:
      a Job Run resource.
      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.