Interface JobsClient
public interface JobsClient
An instance of this class provides access to all the operations defined in JobsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Cancel Jobcom.azure.core.http.rest.Response<Void>
cancelJobWithResponse
(String resourceGroupName, String accountName, String transformName, String jobName, com.azure.core.util.Context context) Cancel Jobcreate
(String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters) Create Jobcom.azure.core.http.rest.Response<JobInner>
createWithResponse
(String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters, com.azure.core.util.Context context) Create Jobvoid
Delete Jobcom.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String accountName, String transformName, String jobName, com.azure.core.util.Context context) Delete JobGet Jobcom.azure.core.http.rest.Response<JobInner>
getWithResponse
(String resourceGroupName, String accountName, String transformName, String jobName, com.azure.core.util.Context context) Get Jobcom.azure.core.http.rest.PagedIterable<JobInner>
List Jobscom.azure.core.http.rest.PagedIterable<JobInner>
list
(String resourceGroupName, String accountName, String transformName, String filter, String orderby, com.azure.core.util.Context context) List Jobsupdate
(String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters) Update Jobcom.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
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<JobInner> list(String resourceGroupName, String accountName, String transformName) List JobsLists 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 JobsLists 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 JobGets 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
Get JobGets 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 JobCreates 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 JobCreates 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 JobDeletes 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
Delete JobDeletes 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 JobUpdate 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 JobUpdate 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 JobCancel 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
Cancel JobCancel 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.
-