Skip to content

Commit

Permalink
Add Synapse Link for Azure SQL API (#18361)
Browse files Browse the repository at this point in the history
* Add Synapse Link for Azure SQL API

* Fix typo
  • Loading branch information
joshuaz93 authored Mar 25, 2022
1 parent 5b0818f commit 3034ada
Show file tree
Hide file tree
Showing 14 changed files with 1,253 additions and 1 deletion.
8 changes: 7 additions & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2469,6 +2469,11 @@ schemagroups
videoanalyzer
Unsecure
Noreuse
linkconnections
edittables
detailedstatus
linktables
querytablestatus
loadtestservice
testmanager
additionalmetrics
Expand Down Expand Up @@ -2505,4 +2510,5 @@ Vuln
IAASVM
Quickbase
Smartsheet
Qualys
Qualys
servermetrics
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview",
"linkConnection": {
"properties": {
"compute": {
"coreCount": 8,
"computeType": "General"
},
"sourceDatabase": {
"linkedService": {
"referenceName": "exampleSourceLinkedService",
"type": "LinkedServiceReference"
},
"typeProperties": {
"resourceId": "/subscriptions/99c6ec47-aacb-485c-863c-018be33b9000/resourceGroups/testResourceGroup/providers/Microsoft.Sql/servers/testAzureSql",
"principalId": "fcf4d3a4-35b5-4c02-8b57-502cd6456d0b"
}
},
"targetDatabase": {
"linkedService": {
"referenceName": "exampleTargetLinkedService",
"type": "LinkedServiceReference"
}
},
"landingZone": {
"linkedService": {
"referenceName": "exampleLandingZoneLinkedService",
"type": "LinkedServiceReference"
},
"fileSystem": "exampleFileSystem",
"folderPath": "exampleFolderPath",
"sasToken": {
"type": "SecureString",
"value": "exampleSasToken"
}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/99c6ec47-aacb-485c-863c-018be33b9000/resourceGroups/testResourceGroup/providers/Microsoft.Synapse/workspaces/testWs/linkConnections/testLinkConnection",
"name": "testLinkConnection",
"type": "Microsoft.Synapse/workspaces/linkConnections",
"properties": {
"compute": {
"coreCount": 8,
"computeType": "General"
},
"sourceDatabase": {
"linkedService": {
"referenceName": "exampleSourceLinkedService",
"type": "LinkedServiceReference"
},
"typeProperties": {
"resourceId": "/subscriptions/99c6ec47-aacb-485c-863c-018be33b9000/resourceGroups/testResourceGroup/providers/Microsoft.Sql/servers/testAzureSql",
"principalId": "fcf4d3a4-35b5-4c02-8b57-502cd6456d0b"
}
},
"targetDatabase": {
"linkedService": {
"referenceName": "exampleTargetLinkedService",
"type": "LinkedServiceReference"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview",
"editTablesRequest": {
"linkTables": [
{
"id": "33f01131-553b-4b97-83a8-0db255a66901",
"source": {
"tableName": "exampleSourceTable",
"schemaName": "exampleSourceSchema"
},
"target": {
"tableName": "exampleTargetTable",
"schemaName": "exampleTargetSchema",
"distributionOptions": {
"type": "Round_RoBin"
}
},
"operationType": "Add"
}
]
}
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/99c6ec47-aacb-485c-863c-018be33b9000/resourceGroups/testResourceGroup/providers/Microsoft.Synapse/workspaces/testWs/linkConnections/testLinkConnection",
"name": "testLinkConnection",
"type": "Microsoft.Synapse/workspaces/linkConnections",
"properties": {
"compute": {
"coreCount": 8,
"computeType": "General"
},
"sourceDatabase": {
"linkedService": {
"referenceName": "exampleSourceLinkedService",
"type": "LinkedServiceReference"
},
"typeProperties": {
"resourceId": "/subscriptions/99c6ec47-aacb-485c-863c-018be33b9000/resourceGroups/testResourceGroup/providers/Microsoft.Sql/servers/testAzureSql",
"principalId": "fcf4d3a4-35b5-4c02-8b57-502cd6456d0b"
}
},
"targetDatabase": {
"linkedService": {
"referenceName": "exampleTargetLinkedService",
"type": "LinkedServiceReference"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
"body": {
"id": "d20e417b-b5d1-4d5c-b2d6-4a581575c5b1",
"name": "testLinkConnection",
"isApplyingChanges": false,
"isPartiallyFailed": false,
"startTime": "2021-10-28T08:09:32.2976822Z",
"status": "Running",
"stopTime": "2021-10-28T09:24:47.2415789Z",
"continuousRunId": "23ded02c-056b-45e7-8852-a2fdb8d250dc"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "7bbb9091983b48f59808cb322a30e1e1",
"name": "testLinkConnection",
"source": {
"tableName": "exampleSourceTable",
"schemaName": "exampleSourceSchema"
},
"target": {
"tableName": "exampleTargetTable",
"schemaName": "exampleTargetSchema"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview",
"queryTableStatusRequest": {
"maxSegmentCount": 50
}
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "8bbb9091983b48f59808cb322a30e1e1",
"startTime": "2021-10-28T08:09:32.2976822Z",
"status": "Replicating",
"stopTime": "2021-10-28T09:24:47.2415789Z",
"errorMessage": "sampleErrorMessage"
}
],
"continuationToken": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"linkConnectionName": "testLinkConnection",
"api-version": "2021-12-01-preview",
"updateLandingZoneCredentialRequest": {
"sasToken": {
"type": "SecureString",
"value": "exampleSasToken"
}
}
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"endpoint": "testWs.dev.azuresynapse.net",
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/99c6ec47-aacb-485c-863c-018be33b9000/resourceGroups/testResourceGroup/providers/Microsoft.Synapse/workspaces/testWs/linkConnections/testLinkConnection",
"name": "testLinkConnection",
"type": "Microsoft.Synapse/workspaces/linkConnections",
"properties": {
"compute": {
"coreCount": 8,
"computeType": "General"
},
"sourceDatabase": {
"linkedService": {
"referenceName": "exampleSourceLinkedService",
"type": "LinkedServiceReference"
},
"typeProperties": {
"resourceId": "/subscriptions/99c6ec47-aacb-485c-863c-018be33b9000/resourceGroups/testResourceGroup/providers/Microsoft.Sql/servers/testAzureSql",
"principalId": "fcf4d3a4-35b5-4c02-8b57-502cd6456d0b"
}
},
"targetDatabase": {
"linkedService": {
"referenceName": "exampleTargetLinkedService",
"type": "LinkedServiceReference"
}
}
}
}
],
"nextLink": null
}
}
}
}
Loading

0 comments on commit 3034ada

Please sign in to comment.