Replication Links - Get
Gets a database replication link.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}?api-version={api-version}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscriptionId
|
path | True |
|
The subscription ID that identifies an Azure subscription. |
|
resourceGroupName
|
path | True |
|
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
|
path | True |
|
The name of the server. |
|
databaseName
|
path | True |
|
The name of the database to get the link for. |
|
linkId
|
path | True |
|
The replication link ID to be retrieved. |
|
api-version
|
query | True |
|
The API version to use for the request. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
Examples
Get a replication link
Sample Request
GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-8931/providers/Microsoft.Sql/servers/sqlcrudtest-2137/databases/testdb/replicationLinks/f0550bf5-07ce-4270-8e4b-71737975973a?api-version=2014-04-01
Sample Response
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-8931/providers/Microsoft.Sql/servers/sqlcrudtest-2137/databases/testdb/replicationLinks/f0550bf5-07ce-4270-8e4b-71737975973a",
"name": "f0550bf5-07ce-4270-8e4b-71737975973a",
"type": "Microsoft.Sql/servers/databases/replicationLinks",
"location": "Japan East",
"properties": {
"partnerServer": "sqlcrudtest-1932",
"partnerDatabase": "testdb",
"partnerLocation": "Japan East",
"role": "Secondary",
"partnerRole": "Primary",
"replicationMode": "ASYNC",
"startTime": "2017-02-10T01:37:49.153Z",
"percentComplete": 100,
"replicationState": "CATCH_UP",
"isTerminationAllowed": true
}
}
Definitions
| Name | Type | Description |
|---|---|---|
| isTerminationAllowed |
|
Legacy value indicating whether termination is allowed. Currently always returns true. |
| location |
|
Location of the server that contains this firewall rule. |
| partnerDatabase |
|
The name of the partner database. |
| partnerLocation |
|
The Azure Region of the partner database. |
| partnerRole |
|
The role of the partner database in the replication link. |
| partnerServer |
|
The name of the server hosting the partner database. |
| percentComplete |
|
The percentage of seeding complete for the replication link. |
| replicationMode |
|
Replication mode of this replication link. |
| replicationState |
|
The replication state for the replication link. |
| role |
|
The role of the database in the replication link. |
| startTime |
|
The start time for the replication link. |
| type |
|
Type of resource this is. |