JobTargetGroupsClient Interface

public interface JobTargetGroupsClient

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

Method Summary

Modifier and Type Method and Description
abstract JobTargetGroupInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String targetGroupName, JobTargetGroupInner parameters)

Creates or updates a target group.

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

Creates or updates a target group.

abstract Response<JobTargetGroupInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String jobAgentName, String targetGroupName, JobTargetGroupInner parameters, Context context)

Creates or updates a target group.

abstract Mono<Response<JobTargetGroupInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, String targetGroupName, JobTargetGroupInner parameters)

Creates or updates a target group.

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

Deletes a target group.

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

Deletes a target group.

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

Deletes a target group.

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

Deletes a target group.

abstract JobTargetGroupInner get(String resourceGroupName, String serverName, String jobAgentName, String targetGroupName)

Gets a target group.

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

Gets a target group.

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

Gets a target group.

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

Gets a target group.

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

Gets all target groups in an agent.

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

Gets all target groups in an agent.

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

Gets all target groups in an agent.

Method Details

createOrUpdate

public abstract JobTargetGroupInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, String targetGroupName, JobTargetGroupInner parameters)

Creates or updates a target group.

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.
targetGroupName - The name of the target group.
parameters - The requested state of the target group.

Returns:

a group of job targets.

createOrUpdateAsync

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

Creates or updates a target group.

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.
targetGroupName - The name of the target group.
parameters - The requested state of the target group.

Returns:

a group of job targets on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String serverName, String jobAgentName, String targetGroupName, JobTargetGroupInner parameters, Context context)

Creates or updates a target group.

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.
targetGroupName - The name of the target group.
parameters - The requested state of the target group.
context - The context to associate with this operation.

Returns:

a group of job targets along with Response<T>.

createOrUpdateWithResponseAsync

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

Creates or updates a target group.

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.
targetGroupName - The name of the target group.
parameters - The requested state of the target group.

Returns:

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

delete

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

Deletes a target group.

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.
targetGroupName - The name of the target group.

deleteAsync

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

Deletes a target group.

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.
targetGroupName - The name of the target group.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

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

Deletes a target group.

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.
targetGroupName - The name of the target group.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

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

Deletes a target group.

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.
targetGroupName - The name of the target group.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract JobTargetGroupInner get(String resourceGroupName, String serverName, String jobAgentName, String targetGroupName)

Gets a target group.

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.
targetGroupName - The name of the target group.

Returns:

a target group.

getAsync

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

Gets a target group.

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.
targetGroupName - The name of the target group.

Returns:

a target group on successful completion of Mono.

getWithResponse

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

Gets a target group.

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.
targetGroupName - The name of the target group.
context - The context to associate with this operation.

Returns:

a target group along with Response<T>.

getWithResponseAsync

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

Gets a target group.

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.
targetGroupName - The name of the target group.

Returns:

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

listByAgent

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

Gets all target groups in an 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:

all target groups in an agent as paginated response with PagedIterable<T>.

listByAgent

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

Gets all target groups in an 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.
context - The context to associate with this operation.

Returns:

all target groups in an agent as paginated response with PagedIterable<T>.

listByAgentAsync

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

Gets all target groups in an 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:

all target groups in an agent as paginated response with PagedFlux<T>.

Applies to