Sql Pool Replication Links - List

Get SQL pool replication links
Lists a Sql pool's replication links.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/replicationLinks?api-version=2021-06-01

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

sqlPoolName
path True

string

SQL pool name

subscriptionId
path True

string

The ID of the target subscription.

workspaceName
path True

string

The name of the workspace.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

ReplicationLinkListResult

OK

Other Status Codes

ErrorResponse

Examples

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6440/sqlPools/testdb/replicationLinks?api-version=2021-06-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6440/sqlPools/testdb/replicationLinks/5b301b68-03f6-4b26-b0f4-73ebb8634238",
      "name": "5b301b68-03f6-4b26-b0f4-73ebb8634238",
      "type": "Microsoft.Synapse/workspaces/sqlPools/replicationLinks",
      "location": "Japan East",
      "properties": {
        "partnerServer": "sqlcrudtest-5961",
        "partnerDatabase": "testdb",
        "partnerLocation": "Japan East",
        "role": "Secondary",
        "partnerRole": "Primary",
        "replicationMode": "ASYNC",
        "startTime": "2017-02-10T01:44:27.117Z",
        "percentComplete": 100,
        "replicationState": "CATCH_UP",
        "isTerminationAllowed": true
      }
    }
  ]
}

Definitions

Name Description
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

ReplicationLink

Represents a Sql pool replication link.

ReplicationLinkListResult

Represents the response to a List Sql pool replication link request.

ReplicationRole

The role of the Sql pool in the replication link.

ReplicationState

The replication state for the replication link.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

Represents a Sql pool replication link.

Name Type Description
id

string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

Location of the workspace that contains this firewall rule.

name

string

The name of the resource

properties.isTerminationAllowed

boolean

Legacy value indicating whether termination is allowed. Currently always returns true.

properties.partnerDatabase

string

The name of the partner Sql pool.

properties.partnerLocation

string

The Azure Region of the partner Sql pool.

properties.partnerRole

ReplicationRole

The role of the partner Sql pool in the replication link.

properties.partnerServer

string

The name of the workspace hosting the partner Sql pool.

properties.percentComplete

integer

The percentage of seeding complete for the replication link.

properties.replicationMode

string

Replication mode of this replication link.

properties.replicationState

ReplicationState

The replication state for the replication link.

properties.role

ReplicationRole

The role of the Sql pool in the replication link.

properties.startTime

string

The start time for the replication link.

type

string

Type of resource this is.

ReplicationLinkListResult

Represents the response to a List Sql pool replication link request.

Name Type Description
nextLink

string

Link to retrieve next page of results.

value

ReplicationLink[]

The list of Sql pool replication links housed in the Sql pool.

ReplicationRole

The role of the Sql pool in the replication link.

Name Type Description
Copy

string

NonReadableSecondary

string

Primary

string

Secondary

string

Source

string

ReplicationState

The replication state for the replication link.

Name Type Description
CATCH_UP

string

PENDING

string

SEEDING

string

SUSPENDED

string