IReplicationLink Interface

Definition

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

public interface IReplicationLink : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Sql.Fluent.Models.ReplicationLinkInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasResourceGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Sql.Fluent.IReplicationLink>
type IReplicationLink = interface
    interface IRefreshable<IReplicationLink>
    interface IHasInner<ReplicationLinkInner>
    interface IHasResourceGroup
    interface IHasName
    interface IHasId
Public Interface IReplicationLink
Implements IHasId, IHasInner(Of ReplicationLinkInner), IHasName, IHasResourceGroup, IRefreshable(Of IReplicationLink)
Implements

Properties

DatabaseName

Gets name of the SQL Database to which this replication belongs.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
Name

Gets the name of the resource

(Inherited from IHasName)
PartnerDatabase

Gets the name of the partner Azure SQL Database.

PartnerLocation

Gets the Azure Region of the partner Azure SQL Database.

PartnerRole

Gets the role of the partner SQL Database in the replication link.

PartnerServer

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

PercentComplete

Gets the percentage of the seeding completed for the replication link.

ReplicationState

Gets the replication state for the replication link.

ResourceGroupName (Inherited from IHasResourceGroup)
Role

Gets the role of the SQL Database in the replication link.

SqlServerName

Gets name of the SQL Server to which this replication belongs.

StartTime

Gets start time for the replication link (ISO8601 format).

Methods

Delete()

Deletes the replication link.

Failover()

Fails over the Azure SQL Database Replication Link.

FailoverAsync(CancellationToken)

Fails over the Azure SQL Database Replication Link.

ForceFailoverAllowDataLoss()

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

ForceFailoverAllowDataLossAsync(CancellationToken)

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

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)

Applies to