Partager via


JobAgentsClient Interface

public interface JobAgentsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<JobAgentInner>,JobAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters)

Creates or updates a job agent.

abstract SyncPoller<PollResult<JobAgentInner>,JobAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters, Context context)

Creates or updates a job agent.

abstract PollerFlux<PollResult<JobAgentInner>,JobAgentInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters)

Creates or updates a job agent.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String jobAgentName)

Deletes a job agent.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String jobAgentName, Context context)

Deletes a job agent.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String jobAgentName)

Deletes a job agent.

abstract SyncPoller<PollResult<JobAgentInner>,JobAgentInner> beginUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates a job agent.

abstract SyncPoller<PollResult<JobAgentInner>,JobAgentInner> beginUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters, Context context)

Updates a job agent.

abstract PollerFlux<PollResult<JobAgentInner>,JobAgentInner> beginUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates a job agent.

abstract JobAgentInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters)

Creates or updates a job agent.

abstract JobAgentInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters, Context context)

Creates or updates a job agent.

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

Creates or updates a job agent.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters)

Creates or updates a job agent.

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

Deletes a job agent.

abstract void delete(String resourceGroupName, String serverName, String jobAgentName, Context context)

Deletes a job agent.

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

Deletes a job agent.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName)

Deletes a job agent.

abstract JobAgentInner get(String resourceGroupName, String serverName, String jobAgentName)

Gets a job agent.

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

Gets a job agent.

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

Gets a job agent.

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

Gets a job agent.

abstract PagedIterable<JobAgentInner> listByServer(String resourceGroupName, String serverName)

Gets a list of job agents in a server.

abstract PagedIterable<JobAgentInner> listByServer(String resourceGroupName, String serverName, Context context)

Gets a list of job agents in a server.

abstract PagedFlux<JobAgentInner> listByServerAsync(String resourceGroupName, String serverName)

Gets a list of job agents in a server.

abstract JobAgentInner update(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates a job agent.

abstract JobAgentInner update(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters, Context context)

Updates a job agent.

abstract Mono<JobAgentInner> updateAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates a job agent.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates a job agent.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,JobAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters)

Creates or updates 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 to be created or updated.
parameters - The requested job agent resource state.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL job agent.

beginCreateOrUpdate

public abstract SyncPoller,JobAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters, Context context)

Creates or updates 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 to be created or updated.
parameters - The requested job agent resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL job agent.

beginCreateOrUpdateAsync

public abstract PollerFlux,JobAgentInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters)

Creates or updates 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 to be created or updated.
parameters - The requested job agent resource state.

Returns:

the PollerFlux<T,U> for polling of an Azure SQL job agent.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, String jobAgentName)

Deletes 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 to be deleted.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, String jobAgentName, Context context)

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String serverName, String jobAgentName)

Deletes 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 to be deleted.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,JobAgentInner> beginUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates 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 to be updated.
parameters - The update to the job agent.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL job agent.

beginUpdate

public abstract SyncPoller,JobAgentInner> beginUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters, Context context)

Updates 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 to be updated.
parameters - The update to the job agent.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL job agent.

beginUpdateAsync

public abstract PollerFlux,JobAgentInner> beginUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates 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 to be updated.
parameters - The update to the job agent.

Returns:

the PollerFlux<T,U> for polling of an Azure SQL job agent.

createOrUpdate

public abstract JobAgentInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters)

Creates or updates 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 to be created or updated.
parameters - The requested job agent resource state.

Returns:

an Azure SQL job agent.

createOrUpdate

public abstract JobAgentInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters, Context context)

Creates or updates 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 to be created or updated.
parameters - The requested job agent resource state.
context - The context to associate with this operation.

Returns:

an Azure SQL job agent.

createOrUpdateAsync

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

Creates or updates 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 to be created or updated.
parameters - The requested job agent resource state.

Returns:

an Azure SQL job agent on successful completion of Mono.

createOrUpdateWithResponseAsync

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

Creates or updates 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 to be created or updated.
parameters - The requested job agent resource state.

Returns:

an Azure SQL job agent along with Response<T> on successful completion of Mono.

delete

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

Deletes 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 to be deleted.

delete

public abstract void delete(String resourceGroupName, String serverName, String jobAgentName, Context context)

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

deleteAsync

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

Deletes 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 to be deleted.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

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

Deletes 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 to be deleted.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract JobAgentInner get(String resourceGroupName, String serverName, String jobAgentName)

Gets 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 to be retrieved.

Returns:

a job agent.

getAsync

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

Gets 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 to be retrieved.

Returns:

a job agent on successful completion of Mono.

getWithResponse

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

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

Returns:

a job agent along with Response<T>.

getWithResponseAsync

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

Gets 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 to be retrieved.

Returns:

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

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Gets a list of job agents in a server.

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.

Returns:

a list of job agents in a server as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, Context context)

Gets a list of job agents in a server.

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

Returns:

a list of job agents in a server as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Gets a list of job agents in a server.

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.

Returns:

a list of job agents in a server as paginated response with PagedFlux<T>.

update

public abstract JobAgentInner update(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates 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 to be updated.
parameters - The update to the job agent.

Returns:

an Azure SQL job agent.

update

public abstract JobAgentInner update(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters, Context context)

Updates 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 to be updated.
parameters - The update to the job agent.
context - The context to associate with this operation.

Returns:

an Azure SQL job agent.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates 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 to be updated.
parameters - The update to the job agent.

Returns:

an Azure SQL job agent on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentUpdate parameters)

Updates 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 to be updated.
parameters - The update to the job agent.

Returns:

an Azure SQL job agent along with Response<T> on successful completion of Mono.

Applies to