-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Synapse Link for Azure SQL API (#18361)
* Add Synapse Link for Azure SQL API * Fix typo
- Loading branch information
Showing
14 changed files
with
1,253 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
.../Microsoft.Synapse/preview/2021-12-01-preview/examples/LinkConnection_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ta-plane/Microsoft.Synapse/preview/2021-12-01-preview/examples/LinkConnection_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...lane/Microsoft.Synapse/preview/2021-12-01-preview/examples/LinkConnection_EditTables.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
.../data-plane/Microsoft.Synapse/preview/2021-12-01-preview/examples/LinkConnection_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...crosoft.Synapse/preview/2021-12-01-preview/examples/LinkConnection_GetDetailedStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
.../Microsoft.Synapse/preview/2021-12-01-preview/examples/LinkConnection_ListLinkTables.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...icrosoft.Synapse/preview/2021-12-01-preview/examples/LinkConnection_QueryTableStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...ata-plane/Microsoft.Synapse/preview/2021-12-01-preview/examples/LinkConnection_Start.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...data-plane/Microsoft.Synapse/preview/2021-12-01-preview/examples/LinkConnection_Stop.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...napse/preview/2021-12-01-preview/examples/LinkConnection_UpdateLandingZoneCredential.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...icrosoft.Synapse/preview/2021-12-01-preview/examples/LinkConnections_ListByWorkspace.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.