Interface JobExecutionsClient
public interface JobExecutionsClient
An instance of this class provides access to all the operations defined in JobExecutionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobExecutionInner>, JobExecutionInner> beginCreate(String resourceGroupName, String serverName, String jobAgentName, String jobName) Starts an elastic job execution.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobExecutionInner>, JobExecutionInner> beginCreate(String resourceGroupName, String serverName, String jobAgentName, String jobName, com.azure.core.util.Context context) Starts an elastic job execution.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<JobExecutionInner>, JobExecutionInner> beginCreateAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName) Starts an elastic job execution.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobExecutionInner>, JobExecutionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobExecutionInner>, JobExecutionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId, com.azure.core.util.Context context) Creates or updates a job execution.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<JobExecutionInner>, JobExecutionInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.voidcancel(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Requests cancellation of a job execution.cancelAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Requests cancellation of a job execution.com.azure.core.http.rest.Response<Void> cancelWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId, com.azure.core.util.Context context) Requests cancellation of a job execution.cancelWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Requests cancellation of a job execution.Starts an elastic job execution.create(String resourceGroupName, String serverName, String jobAgentName, String jobName, com.azure.core.util.Context context) Starts an elastic job execution.createAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName) Starts an elastic job execution.createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId, com.azure.core.util.Context context) Creates or updates a job execution.createOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName) Starts an elastic job execution.get(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Gets a job execution.getAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Gets a job execution.com.azure.core.http.rest.Response<JobExecutionInner> getWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId, com.azure.core.util.Context context) Gets a job execution.Mono<com.azure.core.http.rest.Response<JobExecutionInner>> getWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Gets a job execution.com.azure.core.http.rest.PagedIterable<JobExecutionInner> listByAgent(String resourceGroupName, String serverName, String jobAgentName) Lists all executions in a job agent.com.azure.core.http.rest.PagedIterable<JobExecutionInner> listByAgent(String resourceGroupName, String serverName, String jobAgentName, OffsetDateTime createTimeMin, OffsetDateTime createTimeMax, OffsetDateTime endTimeMin, OffsetDateTime endTimeMax, Boolean isActive, Long skip, Long top, com.azure.core.util.Context context) Lists all executions in a job agent.com.azure.core.http.rest.PagedFlux<JobExecutionInner> listByAgentAsync(String resourceGroupName, String serverName, String jobAgentName) Lists all executions in a job agent.com.azure.core.http.rest.PagedFlux<JobExecutionInner> listByAgentAsync(String resourceGroupName, String serverName, String jobAgentName, OffsetDateTime createTimeMin, OffsetDateTime createTimeMax, OffsetDateTime endTimeMin, OffsetDateTime endTimeMax, Boolean isActive, Long skip, Long top) Lists all executions in a job agent.com.azure.core.http.rest.PagedIterable<JobExecutionInner> Lists a job's executions.com.azure.core.http.rest.PagedIterable<JobExecutionInner> listByJob(String resourceGroupName, String serverName, String jobAgentName, String jobName, OffsetDateTime createTimeMin, OffsetDateTime createTimeMax, OffsetDateTime endTimeMin, OffsetDateTime endTimeMax, Boolean isActive, Long skip, Long top, com.azure.core.util.Context context) Lists a job's executions.com.azure.core.http.rest.PagedFlux<JobExecutionInner> listByJobAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName) Lists a job's executions.com.azure.core.http.rest.PagedFlux<JobExecutionInner> listByJobAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, OffsetDateTime createTimeMin, OffsetDateTime createTimeMax, OffsetDateTime endTimeMin, OffsetDateTime endTimeMax, Boolean isActive, Long skip, Long top) Lists a job's executions.
-
Method Details
-
listByAgentAsync
com.azure.core.http.rest.PagedFlux<JobExecutionInner> listByAgentAsync(String resourceGroupName, String serverName, String jobAgentName, OffsetDateTime createTimeMin, OffsetDateTime createTimeMax, OffsetDateTime endTimeMin, OffsetDateTime endTimeMax, Boolean isActive, Long skip, Long top) Lists all executions in a job agent.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.createTimeMin- If specified, only job executions created at or after the specified time are included.createTimeMax- If specified, only job executions created before the specified time are included.endTimeMin- If specified, only job executions completed at or after the specified time are included.endTimeMax- If specified, only job executions completed before the specified time are included.isActive- If specified, only active or only completed job executions are included.skip- The number of elements in the collection to skip.top- The number of elements to return from the collection.- Returns:
- a list of job executions 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.
-
listByAgentAsync
com.azure.core.http.rest.PagedFlux<JobExecutionInner> listByAgentAsync(String resourceGroupName, String serverName, String jobAgentName) Lists all executions in a job agent.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.- Returns:
- a list of job executions 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.
-
listByAgent
com.azure.core.http.rest.PagedIterable<JobExecutionInner> listByAgent(String resourceGroupName, String serverName, String jobAgentName) Lists all executions in a job agent.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.- Returns:
- a list of job executions 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.
-
listByAgent
com.azure.core.http.rest.PagedIterable<JobExecutionInner> listByAgent(String resourceGroupName, String serverName, String jobAgentName, OffsetDateTime createTimeMin, OffsetDateTime createTimeMax, OffsetDateTime endTimeMin, OffsetDateTime endTimeMax, Boolean isActive, Long skip, Long top, com.azure.core.util.Context context) Lists all executions in a job agent.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.createTimeMin- If specified, only job executions created at or after the specified time are included.createTimeMax- If specified, only job executions created before the specified time are included.endTimeMin- If specified, only job executions completed at or after the specified time are included.endTimeMax- If specified, only job executions completed before the specified time are included.isActive- If specified, only active or only completed job executions are included.skip- The number of elements in the collection to skip.top- The number of elements to return from the collection.context- The context to associate with this operation.- Returns:
- a list of job executions 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.
-
listByJobAsync
com.azure.core.http.rest.PagedFlux<JobExecutionInner> listByJobAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, OffsetDateTime createTimeMin, OffsetDateTime createTimeMax, OffsetDateTime endTimeMin, OffsetDateTime endTimeMax, Boolean isActive, Long skip, Long top) Lists a job's executions.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.createTimeMin- If specified, only job executions created at or after the specified time are included.createTimeMax- If specified, only job executions created before the specified time are included.endTimeMin- If specified, only job executions completed at or after the specified time are included.endTimeMax- If specified, only job executions completed before the specified time are included.isActive- If specified, only active or only completed job executions are included.skip- The number of elements in the collection to skip.top- The number of elements to return from the collection.- Returns:
- a list of job executions 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.
-
listByJobAsync
com.azure.core.http.rest.PagedFlux<JobExecutionInner> listByJobAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName) Lists a job's executions.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.- Returns:
- a list of job executions 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.
-
listByJob
com.azure.core.http.rest.PagedIterable<JobExecutionInner> listByJob(String resourceGroupName, String serverName, String jobAgentName, String jobName) Lists a job's executions.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.- Returns:
- a list of job executions 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.
-
listByJob
com.azure.core.http.rest.PagedIterable<JobExecutionInner> listByJob(String resourceGroupName, String serverName, String jobAgentName, String jobName, OffsetDateTime createTimeMin, OffsetDateTime createTimeMax, OffsetDateTime endTimeMin, OffsetDateTime endTimeMax, Boolean isActive, Long skip, Long top, com.azure.core.util.Context context) Lists a job's executions.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.createTimeMin- If specified, only job executions created at or after the specified time are included.createTimeMax- If specified, only job executions created before the specified time are included.endTimeMin- If specified, only job executions completed at or after the specified time are included.endTimeMax- If specified, only job executions completed before the specified time are included.isActive- If specified, only active or only completed job executions are included.skip- The number of elements in the collection to skip.top- The number of elements to return from the collection.context- The context to associate with this operation.- Returns:
- a list of job executions 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<JobExecutionInner>> getWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Gets a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job.jobExecutionId- The id of the job execution.- Returns:
- a job execution along with
Responseon successful completion ofMono. - 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<JobExecutionInner> getAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Gets a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job.jobExecutionId- The id of the job execution.- Returns:
- a job execution 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<JobExecutionInner> getWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId, com.azure.core.util.Context context) Gets a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job.jobExecutionId- The id of the job execution.context- The context to associate with this operation.- Returns:
- a job execution 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
JobExecutionInner get(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Gets a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job.jobExecutionId- The id of the job execution.- Returns:
- a job execution.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.jobExecutionId- The job execution id to create the job execution under.- Returns:
- an execution of a job along with
Responseon successful completion ofMono. - 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<JobExecutionInner>,JobExecutionInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.jobExecutionId- The job execution id to create the job execution under.- Returns:
- the
PollerFluxfor polling of an execution of 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobExecutionInner>,JobExecutionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.jobExecutionId- The job execution id to create the job execution under.- Returns:
- the
SyncPollerfor polling of an execution of 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobExecutionInner>,JobExecutionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId, com.azure.core.util.Context context) Creates or updates a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.jobExecutionId- The job execution id to create the job execution under.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an execution of 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.
-
createOrUpdateAsync
Mono<JobExecutionInner> createOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.jobExecutionId- The job execution id to create the job execution under.- Returns:
- an execution of a job 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.
-
createOrUpdate
JobExecutionInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Creates or updates a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.jobExecutionId- The job execution id to create the job execution under.- Returns:
- an execution of 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.
-
createOrUpdate
JobExecutionInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId, com.azure.core.util.Context context) Creates or updates a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.jobExecutionId- The job execution id to create the job execution under.context- The context to associate with this operation.- Returns:
- an execution of 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.
-
cancelWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> cancelWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Requests cancellation of a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job.jobExecutionId- The id of the job execution to cancel.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
cancelAsync
Mono<Void> cancelAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Requests cancellation of a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job.jobExecutionId- The id of the job execution to cancel.- Returns:
- A
Monothat 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.
-
cancelWithResponse
com.azure.core.http.rest.Response<Void> cancelWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId, com.azure.core.util.Context context) Requests cancellation of a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job.jobExecutionId- The id of the job execution to cancel.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.
-
cancel
void cancel(String resourceGroupName, String serverName, String jobAgentName, String jobName, UUID jobExecutionId) Requests cancellation of a job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job.jobExecutionId- The id of the job execution to cancel.- 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 serverName, String jobAgentName, String jobName) Starts an elastic job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.- Returns:
- an execution of a job along with
Responseon successful completion ofMono. - 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<JobExecutionInner>,JobExecutionInner> beginCreateAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName) Starts an elastic job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.- Returns:
- the
PollerFluxfor polling of an execution of 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobExecutionInner>,JobExecutionInner> beginCreate(String resourceGroupName, String serverName, String jobAgentName, String jobName) Starts an elastic job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.- Returns:
- the
SyncPollerfor polling of an execution of 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobExecutionInner>,JobExecutionInner> beginCreate(String resourceGroupName, String serverName, String jobAgentName, String jobName, com.azure.core.util.Context context) Starts an elastic job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an execution of 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.
-
createAsync
Mono<JobExecutionInner> createAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName) Starts an elastic job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.- Returns:
- an execution of a job 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
JobExecutionInner create(String resourceGroupName, String serverName, String jobAgentName, String jobName) Starts an elastic job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.- Returns:
- an execution of 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.
-
create
JobExecutionInner create(String resourceGroupName, String serverName, String jobAgentName, String jobName, com.azure.core.util.Context context) Starts an elastic job execution.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.jobAgentName- The name of the job agent.jobName- The name of the job to get.context- The context to associate with this operation.- Returns:
- an execution of 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.
-