SyncAgentsClient Interface

public interface SyncAgentsClient

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

Method Summary

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

Creates or updates a sync agent.

abstract SyncPoller<PollResult<SyncAgentInner>,SyncAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters, Context context)

Creates or updates a sync agent.

abstract PollerFlux<PollResult<SyncAgentInner>,SyncAgentInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters)

Creates or updates a sync agent.

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

Deletes a sync agent.

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

Deletes a sync agent.

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

Deletes a sync agent.

abstract SyncAgentInner createOrUpdate(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters)

Creates or updates a sync agent.

abstract SyncAgentInner createOrUpdate(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters, Context context)

Creates or updates a sync agent.

abstract Mono<SyncAgentInner> createOrUpdateAsync(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters)

Creates or updates a sync agent.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters)

Creates or updates a sync agent.

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

Deletes a sync agent.

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

Deletes a sync agent.

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

Deletes a sync agent.

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

Deletes a sync agent.

abstract SyncAgentKeyPropertiesInner generateKey(String resourceGroupName, String serverName, String syncAgentName)

Generates a sync agent key.

abstract Mono<SyncAgentKeyPropertiesInner> generateKeyAsync(String resourceGroupName, String serverName, String syncAgentName)

Generates a sync agent key.

abstract Response<SyncAgentKeyPropertiesInner> generateKeyWithResponse(String resourceGroupName, String serverName, String syncAgentName, Context context)

Generates a sync agent key.

abstract Mono<Response<SyncAgentKeyPropertiesInner>> generateKeyWithResponseAsync(String resourceGroupName, String serverName, String syncAgentName)

Generates a sync agent key.

abstract SyncAgentInner get(String resourceGroupName, String serverName, String syncAgentName)

Gets a sync agent.

abstract Mono<SyncAgentInner> getAsync(String resourceGroupName, String serverName, String syncAgentName)

Gets a sync agent.

abstract Response<SyncAgentInner> getWithResponse(String resourceGroupName, String serverName, String syncAgentName, Context context)

Gets a sync agent.

abstract Mono<Response<SyncAgentInner>> getWithResponseAsync(String resourceGroupName, String serverName, String syncAgentName)

Gets a sync agent.

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

Lists sync agents in a server.

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

Lists sync agents in a server.

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

Lists sync agents in a server.

abstract PagedIterable<SyncAgentLinkedDatabaseInner> listLinkedDatabases(String resourceGroupName, String serverName, String syncAgentName)

Lists databases linked to a sync agent.

abstract PagedIterable<SyncAgentLinkedDatabaseInner> listLinkedDatabases(String resourceGroupName, String serverName, String syncAgentName, Context context)

Lists databases linked to a sync agent.

abstract PagedFlux<SyncAgentLinkedDatabaseInner> listLinkedDatabasesAsync(String resourceGroupName, String serverName, String syncAgentName)

Lists databases linked to a sync agent.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,SyncAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters)

Creates or updates a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
parameters - The requested sync agent resource state.

Returns:

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

beginCreateOrUpdate

public abstract SyncPoller,SyncAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters, Context context)

Creates or updates a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
parameters - The requested sync agent resource state.
context - The context to associate with this operation.

Returns:

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

beginCreateOrUpdateAsync

public abstract PollerFlux,SyncAgentInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters)

Creates or updates a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
parameters - The requested sync agent resource state.

Returns:

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

beginDelete

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

Deletes a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

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

beginDelete

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

Deletes a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
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 syncAgentName)

Deletes a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

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

createOrUpdate

public abstract SyncAgentInner createOrUpdate(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters)

Creates or updates a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
parameters - The requested sync agent resource state.

Returns:

an Azure SQL Database sync agent.

createOrUpdate

public abstract SyncAgentInner createOrUpdate(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters, Context context)

Creates or updates a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
parameters - The requested sync agent resource state.
context - The context to associate with this operation.

Returns:

an Azure SQL Database sync agent.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters)

Creates or updates a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
parameters - The requested sync agent resource state.

Returns:

an Azure SQL Database sync agent on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String syncAgentName, SyncAgentInner parameters)

Creates or updates a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
parameters - The requested sync agent resource state.

Returns:

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

delete

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

Deletes a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

delete

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

Deletes a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
context - The context to associate with this operation.

deleteAsync

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

Deletes a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

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

Deletes a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

the Response<T> on successful completion of Mono.

generateKey

public abstract SyncAgentKeyPropertiesInner generateKey(String resourceGroupName, String serverName, String syncAgentName)

Generates a sync agent key.

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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

properties of an Azure SQL Database sync agent key.

generateKeyAsync

public abstract Mono generateKeyAsync(String resourceGroupName, String serverName, String syncAgentName)

Generates a sync agent key.

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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

properties of an Azure SQL Database sync agent key on successful completion of Mono.

generateKeyWithResponse

public abstract Response generateKeyWithResponse(String resourceGroupName, String serverName, String syncAgentName, Context context)

Generates a sync agent key.

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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
context - The context to associate with this operation.

Returns:

properties of an Azure SQL Database sync agent key along with Response<T>.

generateKeyWithResponseAsync

public abstract Mono> generateKeyWithResponseAsync(String resourceGroupName, String serverName, String syncAgentName)

Generates a sync agent key.

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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

properties of an Azure SQL Database sync agent key along with Response<T> on successful completion of Mono.

get

public abstract SyncAgentInner get(String resourceGroupName, String serverName, String syncAgentName)

Gets a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

a sync agent.

getAsync

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

Gets a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

a sync agent on successful completion of Mono.

getWithResponse

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

Gets a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
context - The context to associate with this operation.

Returns:

a sync agent along with Response<T>.

getWithResponseAsync

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

Gets a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

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

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Lists sync 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 on which the sync agent is hosted.

Returns:

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

listByServer

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

Lists sync 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 on which the sync agent is hosted.
context - The context to associate with this operation.

Returns:

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

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Lists sync 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 on which the sync agent is hosted.

Returns:

a list of sync agents as paginated response with PagedFlux<T>.

listLinkedDatabases

public abstract PagedIterable listLinkedDatabases(String resourceGroupName, String serverName, String syncAgentName)

Lists databases linked to a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

a list of sync agent linked databases as paginated response with PagedIterable<T>.

listLinkedDatabases

public abstract PagedIterable listLinkedDatabases(String resourceGroupName, String serverName, String syncAgentName, Context context)

Lists databases linked to a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.
context - The context to associate with this operation.

Returns:

a list of sync agent linked databases as paginated response with PagedIterable<T>.

listLinkedDatabasesAsync

public abstract PagedFlux listLinkedDatabasesAsync(String resourceGroupName, String serverName, String syncAgentName)

Lists databases linked to a sync 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 on which the sync agent is hosted.
syncAgentName - The name of the sync agent.

Returns:

a list of sync agent linked databases as paginated response with PagedFlux<T>.

Applies to