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
Replication |
partnerRole() |
abstract String | partnerServer() |
abstract int | percentComplete() |
abstract String | replicationMode() |
abstract
Replication |
replicationState() |
abstract
Replication |
role() |
abstract String | sqlServerName() |
abstract
Offset |
startTime() |
Method Details
databaseName
public abstract String databaseName()
Returns:
delete
public abstract void delete()
Deletes the replication link.
failover
public abstract void failover()
Fails over the Azure SQL Database Replication Link.
failoverAsync
public abstract Mono
Fails over the Azure SQL Database Replication Link.
Returns:
forceFailoverAllowDataLoss
public abstract void forceFailoverAllowDataLoss()
Forces fail over the Azure SQL Database Replication Link which may result in data loss.
forceFailoverAllowDataLossAsync
public abstract Mono
Forces fail over the Azure SQL Database Replication Link which may result in data loss.
Returns:
isTerminationAllowed
public abstract boolean isTerminationAllowed()
Returns:
partnerDatabase
public abstract String partnerDatabase()
Returns:
partnerLocation
public abstract String partnerLocation()
Returns:
partnerRole
public abstract ReplicationRole partnerRole()
Returns:
partnerServer
public abstract String partnerServer()
Returns:
percentComplete
public abstract int percentComplete()
Returns:
replicationMode
public abstract String replicationMode()
Returns:
replicationState
public abstract ReplicationState replicationState()
Returns:
role
public abstract ReplicationRole role()
Returns:
sqlServerName
public abstract String sqlServerName()
Returns:
startTime
public abstract OffsetDateTime startTime()
Returns:
Applies to
Azure SDK for Java