ReplicationLink Interface
public interface ReplicationLink extends Refreshable,HasInner,HasResourceGroup,HasName,HasId,Refreshable,HasInner,HasResourceGroup,HasName,HasId
An immutable client-side representation of an Azure SQL Replication link.
Method Summary
Modifier and Type | Method and Description |
---|---|
String | databaseName() |
void |
delete()
Deletes the replication link. |
void |
failover()
Fails over the Azure SQL Database Replication Link. |
Completable |
failoverAsync()
Fails over the Azure SQL Database Replication Link. |
ServiceFuture<Void> |
failoverAsync(ServiceCallback<Void> callback)
Fails over the Azure SQL Database Replication Link. |
void |
forceFailoverAllowDataLoss()
Forces fail over the Azure SQL Database Replication Link which may result in data loss. |
Completable |
forceFailoverAllowDataLossAsync()
Forces fail over the Azure SQL Database Replication Link which may result in data loss. |
ServiceFuture<Void> |
forceFailoverAllowDataLossAsync(ServiceCallback<Void> callback)
Forces fail over the Azure SQL Database Replication Link which may result in data loss. |
boolean | isTerminationAllowed() |
String | location() |
String | partnerDatabase() |
String | partnerLocation() |
Replication |
partnerRole() |
String | partnerServer() |
int | percentComplete() |
String | replicationMode() |
Replication |
replicationState() |
Replication |
role() |
String | sqlServerName() |
DateTime | startTime() |
Inherited Members
Method Details
databaseName
public String databaseName()
Returns:
delete
public void delete()
Deletes the replication link.
failover
public void failover()
Fails over the Azure SQL Database Replication Link.
failoverAsync
public Completable failoverAsync()
Fails over the Azure SQL Database Replication Link.
Returns:
failoverAsync
public ServiceFuture
Fails over the Azure SQL Database Replication Link.
Parameters:
Returns:
forceFailoverAllowDataLoss
public void forceFailoverAllowDataLoss()
Forces fail over the Azure SQL Database Replication Link which may result in data loss.
forceFailoverAllowDataLossAsync
public Completable forceFailoverAllowDataLossAsync()
Forces fail over the Azure SQL Database Replication Link which may result in data loss.
Returns:
forceFailoverAllowDataLossAsync
public ServiceFuture
Forces fail over the Azure SQL Database Replication Link which may result in data loss.
Parameters:
Returns:
isTerminationAllowed
public boolean isTerminationAllowed()
Returns:
location
public String location()
Returns:
partnerDatabase
public String partnerDatabase()
Returns:
partnerLocation
public String partnerLocation()
Returns:
partnerRole
public ReplicationRole partnerRole()
Returns:
partnerServer
public String partnerServer()
Returns:
percentComplete
public int percentComplete()
Returns:
replicationMode
public String replicationMode()
Returns:
replicationState
public ReplicationState replicationState()
Returns:
role
public ReplicationRole role()
Returns:
sqlServerName
public String sqlServerName()
Returns:
startTime
public DateTime startTime()
Returns:
Applies to
Azure SDK for Java