JobsClient Interface

public interface JobsClient

An instance of this class provides access to all the operations defined in JobsClient.

Method Summary

Modifier and Type Method and Description
abstract JobInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, JobInner parameters)

Creates or updates a job.

abstract Mono<JobInner> createOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, JobInner parameters)

Creates or updates a job.

abstract Response<JobInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, JobInner parameters, Context context)

Creates or updates a job.

abstract Mono<Response<JobInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, JobInner parameters)

Creates or updates a job.

abstract void delete(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Deletes a job.

abstract Mono<Void> deleteAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Deletes a job.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, Context context)

Deletes a job.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Deletes a job.

abstract JobInner get(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Gets a job.

abstract Mono<JobInner> getAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Gets a job.

abstract Response<JobInner> getWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, Context context)

Gets a job.

abstract Mono<Response<JobInner>> getWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Gets a job.

abstract PagedIterable<JobInner> listByAgent(String resourceGroupName, String serverName, String jobAgentName)

Gets a list of jobs.

abstract PagedIterable<JobInner> listByAgent(String resourceGroupName, String serverName, String jobAgentName, Context context)

Gets a list of jobs.

abstract PagedFlux<JobInner> listByAgentAsync(String resourceGroupName, String serverName, String jobAgentName)

Gets a list of jobs.

Method Details

createOrUpdate

public abstract JobInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String jobName, JobInner parameters)

Creates or updates a job.

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.
parameters - The requested job state.

Returns:

a job.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, JobInner parameters)

Creates or updates a job.

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.
parameters - The requested job state.

Returns:

a job on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, JobInner parameters, Context context)

Creates or updates a job.

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.
parameters - The requested job state.
context - The context to associate with this operation.

Returns:

a job along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName, JobInner parameters)

Creates or updates a job.

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.
parameters - The requested job state.

Returns:

a job along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Deletes a job.

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 delete.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Deletes a job.

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 delete.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, Context context)

Deletes a job.

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 delete.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Deletes a job.

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 delete.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract JobInner get(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Gets a job.

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 job.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Gets a job.

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 job on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, String jobAgentName, String jobName, Context context)

Gets a job.

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:

a job along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String jobName)

Gets a job.

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 job along with Response<T> on successful completion of Mono.

listByAgent

public abstract PagedIterable listByAgent(String resourceGroupName, String serverName, String jobAgentName)

Gets a list of jobs.

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 jobs as paginated response with PagedIterable<T>.

listByAgent

public abstract PagedIterable listByAgent(String resourceGroupName, String serverName, String jobAgentName, Context context)

Gets a list of jobs.

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.
context - The context to associate with this operation.

Returns:

a list of jobs as paginated response with PagedIterable<T>.

listByAgentAsync

public abstract PagedFlux listByAgentAsync(String resourceGroupName, String serverName, String jobAgentName)

Gets a list of jobs.

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 jobs as paginated response with PagedFlux<T>.

Applies to