ReplicationLinks interface
Interface representing a ReplicationLinks.
Methods
Method Details
beginDelete(string, string, string, string, ReplicationLinksDeleteOptionalParams)
Deletes the replication link.
function beginDelete(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database.
- linkId
-
string
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, ReplicationLinksDeleteOptionalParams)
Deletes the replication link.
function beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database.
- linkId
-
string
The options parameters.
Returns
Promise<void>
beginFailover(string, string, string, string, ReplicationLinksFailoverOptionalParams)
Fails over from the current primary server to this server.
function beginFailover(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverOptionalParams): Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database.
- linkId
-
string
The name of the replication link.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>
beginFailoverAllowDataLoss(string, string, string, string, ReplicationLinksFailoverAllowDataLossOptionalParams)
Fails over from the current primary server to this server allowing data loss.
function beginFailoverAllowDataLoss(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverAllowDataLossOptionalParams): Promise<SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database.
- linkId
-
string
The name of the replication link.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ReplicationLink>, ReplicationLink>>
beginFailoverAllowDataLossAndWait(string, string, string, string, ReplicationLinksFailoverAllowDataLossOptionalParams)
Fails over from the current primary server to this server allowing data loss.
function beginFailoverAllowDataLossAndWait(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverAllowDataLossOptionalParams): Promise<ReplicationLink>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database.
- linkId
-
string
The name of the replication link.
The options parameters.
Returns
Promise<ReplicationLink>
beginFailoverAndWait(string, string, string, string, ReplicationLinksFailoverOptionalParams)
Fails over from the current primary server to this server.
function beginFailoverAndWait(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverOptionalParams): Promise<ReplicationLink>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database.
- linkId
-
string
The name of the replication link.
The options parameters.
Returns
Promise<ReplicationLink>
get(string, string, string, string, ReplicationLinksGetOptionalParams)
Gets a replication link.
function get(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksGetOptionalParams): Promise<ReplicationLink>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database.
- linkId
-
string
The name of the replication link.
The options parameters.
Returns
Promise<ReplicationLink>
listByDatabase(string, string, string, ReplicationLinksListByDatabaseOptionalParams)
Gets a list of replication links on database.
function listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: ReplicationLinksListByDatabaseOptionalParams): PagedAsyncIterableIterator<ReplicationLink, ReplicationLink[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database.
The options parameters.
Returns
listByServer(string, string, ReplicationLinksListByServerOptionalParams)
Gets a list of replication links.
function listByServer(resourceGroupName: string, serverName: string, options?: ReplicationLinksListByServerOptionalParams): PagedAsyncIterableIterator<ReplicationLink, ReplicationLink[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
The options parameters.