Interface Jobs
public interface Jobs
Resource collection API of Jobs.
-
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 JobBegins definition for a new Job resource.void
Delete Jobvoid
deleteById
(String id) Delete Jobcom.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) 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 JobGet Jobcom.azure.core.http.rest.Response<Job>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get Jobcom.azure.core.http.rest.Response<Job>
getWithResponse
(String resourceGroupName, String accountName, String transformName, String jobName, com.azure.core.util.Context context) Get Jobcom.azure.core.http.rest.PagedIterable<Job>
List Jobscom.azure.core.http.rest.PagedIterable<Job>
list
(String resourceGroupName, String accountName, String transformName, String filter, String orderby, com.azure.core.util.Context context) List Jobs
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Job> 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<Job> 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<Job> 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.
-
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.
-
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.
-
getById
Get JobGets a Job.
- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<Job> getByIdWithResponse(String id, com.azure.core.util.Context context) Get JobGets a Job.
- Parameters:
id
- the resource ID.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.
-
deleteById
Delete JobDeletes a Job.
- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete JobDeletes a Job.
- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new Job resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new Job definition.
-