ReplicationLink Interface

Implements

public interface ReplicationLink
extends Refreshable<ReplicationLink>, HasInnerModel<ReplicationLinkInner>, HasResourceGroup, HasName, HasId

An immutable client-side representation of an Azure SQL Replication link.

Method Summary

Modifier and Type Method and Description
abstract String databaseName()
abstract void delete()

Deletes the replication link.

abstract void failover()

Fails over the Azure SQL Database Replication Link.

abstract Mono<Void> failoverAsync()

Fails over the Azure SQL Database Replication Link.

abstract void forceFailoverAllowDataLoss()

Forces fail over the Azure SQL Database Replication Link which may result in data loss.

abstract Mono<Void> forceFailoverAllowDataLossAsync()

Forces fail over the Azure SQL Database Replication Link which may result in data loss.

abstract boolean isTerminationAllowed()
abstract String partnerDatabase()
abstract String partnerLocation()
abstract ReplicationRole partnerRole()
abstract String partnerServer()
abstract int percentComplete()
abstract String replicationMode()
abstract ReplicationState replicationState()
abstract ReplicationRole role()
abstract String sqlServerName()
abstract OffsetDateTime startTime()

Method Details

public abstract String databaseName()

Returns:

name of the SQL Database to which this replication belongs

public abstract void delete()

Deletes the replication link.

public abstract void failover()

Fails over the Azure SQL Database Replication Link.

public abstract Mono failoverAsync()

Fails over the Azure SQL Database Replication Link.

Returns:

a representation of the deferred computation of this call

public abstract void forceFailoverAllowDataLoss()

Forces fail over the Azure SQL Database Replication Link which may result in data loss.

public abstract Mono forceFailoverAllowDataLossAsync()

Forces fail over the Azure SQL Database Replication Link which may result in data loss.

Returns:

a representation of the deferred computation of this call

public abstract boolean isTerminationAllowed()

Returns:

the legacy value indicating whether termination is allowed (currently always returns true)

public abstract String partnerDatabase()

Returns:

the name of the partner Azure SQL Database

public abstract String partnerLocation()

Returns:

the Azure Region of the partner Azure SQL Database

public abstract ReplicationRole partnerRole()

Returns:

the role of the partner SQL Database in the replication link

public abstract String partnerServer()

Returns:

the name of the Azure SQL Server hosting the partner Azure SQL Database.

public abstract int percentComplete()

Returns:

the percentage of the seeding completed for the replication link

public abstract String replicationMode()

Returns:

the replication mode of this replication link

public abstract ReplicationState replicationState()

Returns:

the replication state for the replication link

public abstract ReplicationRole role()

Returns:

the role of the SQL Database in the replication link

public abstract String sqlServerName()

Returns:

name of the SQL Server to which this replication belongs

public abstract OffsetDateTime startTime()

Returns:

start time for the replication link (ISO8601 format)

Applies to