Interface JobsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<JobInner> list(String resourceGroupName, String accountName, String transformName)
      List Jobs

      Lists all of the Jobs for the Transform.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      Returns:
      a collection of Job items 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<JobInner> list(String resourceGroupName, String accountName, String transformName, String filter, String orderby, com.azure.core.util.Context context)
      List Jobs

      Lists all of the Jobs for the Transform.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      filter - Restricts the set of items returned.
      orderby - Specifies the key by which the result collection should be ordered.
      context - The context to associate with this operation.
      Returns:
      a collection of Job items 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<JobInner> getWithResponse(String resourceGroupName, String accountName, String transformName, String jobName, com.azure.core.util.Context context)
      Get Job

      Gets a Job.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      context - The context to associate with this operation.
      Returns:
      a Job 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

      JobInner get(String resourceGroupName, String accountName, String transformName, String jobName)
      Get Job

      Gets a Job.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      Returns:
      a Job.
      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.
    • createWithResponse

      com.azure.core.http.rest.Response<JobInner> createWithResponse(String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters, com.azure.core.util.Context context)
      Create Job

      Creates a Job.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      a Job resource type 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.
    • create

      JobInner create(String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters)
      Create Job

      Creates a Job.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      parameters - The request parameters.
      Returns:
      a Job resource type.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String transformName, String jobName, com.azure.core.util.Context context)
      Delete Job

      Deletes a Job.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • delete

      void delete(String resourceGroupName, String accountName, String transformName, String jobName)
      Delete Job

      Deletes a Job.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<JobInner> updateWithResponse(String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters, com.azure.core.util.Context context)
      Update Job

      Update is only supported for description and priority. Updating Priority will take effect when the Job state is Queued or Scheduled and depending on the timing the priority update may be ignored.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      a Job resource type 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.
    • update

      JobInner update(String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters)
      Update Job

      Update is only supported for description and priority. Updating Priority will take effect when the Job state is Queued or Scheduled and depending on the timing the priority update may be ignored.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      parameters - The request parameters.
      Returns:
      a Job resource type.
      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.
    • cancelJobWithResponse

      com.azure.core.http.rest.Response<Void> cancelJobWithResponse(String resourceGroupName, String accountName, String transformName, String jobName, com.azure.core.util.Context context)
      Cancel Job

      Cancel a Job.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • cancelJob

      void cancelJob(String resourceGroupName, String accountName, String transformName, String jobName)
      Cancel Job

      Cancel a Job.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      jobName - The Job name.
      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.