ReplicationLinksOperations interface

Interface representing a ReplicationLinks operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginFailover
beginFailoverAllowDataLoss
beginFailoverAllowDataLossAndWait
beginFailoverAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

Updates the replication link type.

delete

Deletes the replication link.

failover

Fails over from the current primary server to this server.

failoverAllowDataLoss

Fails over from the current primary server to this server allowing data loss.

get

Gets a replication link.

listByDatabase

Gets a list of replication links on database.

listByServer

Gets a list of replication links.

update

Updates the replication link type.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLink, options?: ReplicationLinksCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLink, options?: ReplicationLinksCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLink, options?: ReplicationLinksCreateOrUpdateOptionalParams) => Promise<ReplicationLink>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLink, options?: ReplicationLinksCreateOrUpdateOptionalParams) => Promise<ReplicationLink>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksDeleteOptionalParams) => Promise<void>

beginFailover

Warning

This API is now deprecated.

use failover instead

beginFailover: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>

beginFailoverAllowDataLoss

Warning

This API is now deprecated.

use failoverAllowDataLoss instead

beginFailoverAllowDataLoss: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverAllowDataLossOptionalParams) => Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverAllowDataLossOptionalParams) => Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>

beginFailoverAllowDataLossAndWait

Warning

This API is now deprecated.

use failoverAllowDataLoss instead

beginFailoverAllowDataLossAndWait: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverAllowDataLossOptionalParams) => Promise<ReplicationLink>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverAllowDataLossOptionalParams) => Promise<ReplicationLink>

beginFailoverAndWait

Warning

This API is now deprecated.

use failover instead

beginFailoverAndWait: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverOptionalParams) => Promise<ReplicationLink>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverOptionalParams) => Promise<ReplicationLink>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLinkUpdate, options?: ReplicationLinksUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLinkUpdate, options?: ReplicationLinksUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLinkUpdate, options?: ReplicationLinksUpdateOptionalParams) => Promise<ReplicationLink>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLinkUpdate, options?: ReplicationLinksUpdateOptionalParams) => Promise<ReplicationLink>

createOrUpdate

Updates the replication link type.

createOrUpdate: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLink, options?: ReplicationLinksCreateOrUpdateOptionalParams) => PollerLike<OperationState<ReplicationLink>, ReplicationLink>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLink, options?: ReplicationLinksCreateOrUpdateOptionalParams) => PollerLike<OperationState<ReplicationLink>, ReplicationLink>

delete

Deletes the replication link.

delete: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksDeleteOptionalParams) => PollerLike<OperationState<void>, void>

failover

Fails over from the current primary server to this server.

failover: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverOptionalParams) => PollerLike<OperationState<ReplicationLink>, ReplicationLink>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverOptionalParams) => PollerLike<OperationState<ReplicationLink>, ReplicationLink>

failoverAllowDataLoss

Fails over from the current primary server to this server allowing data loss.

failoverAllowDataLoss: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverAllowDataLossOptionalParams) => PollerLike<OperationState<ReplicationLink>, ReplicationLink>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverAllowDataLossOptionalParams) => PollerLike<OperationState<ReplicationLink>, ReplicationLink>

get

Gets a replication link.

get: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksGetOptionalParams) => Promise<ReplicationLink>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksGetOptionalParams) => Promise<ReplicationLink>

listByDatabase

Gets a list of replication links on database.

listByDatabase: (resourceGroupName: string, serverName: string, databaseName: string, options?: ReplicationLinksListByDatabaseOptionalParams) => PagedAsyncIterableIterator<ReplicationLink, ReplicationLink[], PageSettings>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, options?: ReplicationLinksListByDatabaseOptionalParams) => PagedAsyncIterableIterator<ReplicationLink, ReplicationLink[], PageSettings>

listByServer

Gets a list of replication links.

listByServer: (resourceGroupName: string, serverName: string, options?: ReplicationLinksListByServerOptionalParams) => PagedAsyncIterableIterator<ReplicationLink, ReplicationLink[], PageSettings>

Property Value

(resourceGroupName: string, serverName: string, options?: ReplicationLinksListByServerOptionalParams) => PagedAsyncIterableIterator<ReplicationLink, ReplicationLink[], PageSettings>

update

Updates the replication link type.

update: (resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLinkUpdate, options?: ReplicationLinksUpdateOptionalParams) => PollerLike<OperationState<ReplicationLink>, ReplicationLink>

Property Value

(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLinkUpdate, options?: ReplicationLinksUpdateOptionalParams) => PollerLike<OperationState<ReplicationLink>, ReplicationLink>