forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Data-plane specs added for Library Apis (Azure#11423)
* Data-plane specs added for Library Apis * Swagger specs added for Append Library Api * Resolved reviewer comments in data plane library apis * Append API is changed to have application/octet-stream content * API schema changed for create and append api Co-authored-by: Navneet Singh <navsi@microsoft.com>
- Loading branch information
Showing
9 changed files
with
759 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2066,3 +2066,5 @@ regionality | |
Resource | ||
Metastores | ||
maintenancewindows | ||
appendpos | ||
appendblock |
42 changes: 42 additions & 0 deletions
42
...a-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/Library_CreateOrAppend.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": "exampleWorkspace.dev.azuresynapse.net", | ||
"libraryName": "exampleLibraryName.jar", | ||
"api-version": "2019-06-01-preview", | ||
"comp": "appendblock", | ||
"content": "file binary chunk" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"201": { | ||
"headers": { | ||
"Date": "Fri, 23 Oct 2020 08:28:16 GMT", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-writes": "1192", | ||
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264", | ||
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Date": "Fri, 23 Oct 2020 08:28:16 GMT", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-writes": "1192", | ||
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264", | ||
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar", | ||
"recordId": 1234, | ||
"state": "Creating", | ||
"created": "2020-10-23T07:59:29.1573546+00:00", | ||
"changed": "2020-10-23T07:59:29.1573546+00:00", | ||
"type": "LibraryArtifact", | ||
"name": "exampleLibraryName.jar", | ||
"operationId": "1500474f-0000-0200-0000-5cbe090d0000", | ||
"artifactId": "2222222e-222d-222f-2222-22a2f222d2f2" | ||
} | ||
}, | ||
"412": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...apse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/Library_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,31 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "exampleWorkspace.dev.azuresynapse.net", | ||
"libraryName": "exampleLibraryName.jar", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Date": "Fri, 23 Oct 2020 08:28:16 GMT", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-writes": "1192", | ||
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264", | ||
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar", | ||
"recordId": 1234, | ||
"state": "Creating", | ||
"created": "2020-10-23T07:59:29.1573546+00:00", | ||
"changed": "2020-10-23T07:59:29.1573546+00:00", | ||
"type": "LibraryArtifact", | ||
"name": "exampleLibraryName.jar", | ||
"operationId": "1500474f-0000-0200-0000-5cbe090d0000", | ||
"artifactId": "2222222e-222d-222f-2222-22a2f222d2f2" | ||
} | ||
}, | ||
"409": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...napse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/Library_Flush.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,30 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "exampleWorkspace.dev.azuresynapse.net", | ||
"libraryName": "exampleLibraryName.jar", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Date": "Fri, 23 Oct 2020 08:28:16 GMT", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-writes": "1192", | ||
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264", | ||
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar", | ||
"recordId": 1234, | ||
"state": "Creating", | ||
"created": "2020-10-23T07:59:29.1573546+00:00", | ||
"changed": "2020-10-23T07:59:29.1573546+00:00", | ||
"type": "LibraryArtifact", | ||
"name": "exampleLibraryName.jar", | ||
"operationId": "1500474f-0000-0200-0000-5cbe090d0000", | ||
"artifactId": "2222222e-222d-222f-2222-22a2f222d2f2" | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/Library_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,35 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "exampleWorkspace.dev.azuresynapse.net", | ||
"libraryName": "exampleLibraryName.jar", | ||
"ifNoneMatch": "1500474f-0000-0200-0000-5cbe090d0000", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"304": {}, | ||
"200": { | ||
"headers": { | ||
"Date": "Fri, 23 Oct 2020 08:28:16 GMT", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-reads": "11995", | ||
"x-ms-request-id": "99e5d0d9-55e6-45a0-8bd2-cf39210f317c", | ||
"x-ms-correlation-request-id": "99e5d0d9-55e6-45a0-8bd2-cf39210f317c" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar", | ||
"name": "exampleLibraryName.jar", | ||
"type": "Microsoft.Synapse/workspaces/libraryartifacts", | ||
"properties": { | ||
"name": "exampleLibraryName.jar", | ||
"path": "exampleWorkspace/libraries/exampleLibraryName.jar", | ||
"containerName": "exampleContainer", | ||
"type": "jar", | ||
"uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00", | ||
"provisioningStatus": "Succeeded", | ||
"creatorId": "2222222e-222d-222f-2222-22a2f222d2f2" | ||
}, | ||
"etag": "1500474f-0000-0200-0000-5cbe090d0000" | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...ane/Microsoft.Synapse/preview/2019-06-01-preview/examples/Library_GetOperationResult.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,45 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "exampleWorkspace.dev.azuresynapse.net", | ||
"operationId": "exampleOperationId", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Fri, 23 Oct 2020 08:28:16 GMT", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-writes": "1192", | ||
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264", | ||
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar", | ||
"name": "exampleLibraryName.jar", | ||
"type": "Microsoft.Synapse/workspaces/libraryartifacts", | ||
"properties": { | ||
"name": "exampleLibraryName.jar", | ||
"path": "exampleWorkspace/libraries/exampleLibraryName.jar", | ||
"containerName": "exampleContainer", | ||
"type": "jar", | ||
"uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00", | ||
"provisioningStatus": "Succeeded", | ||
"creatorId": "2222222e-222d-222f-2222-22a2f222d2f2" | ||
}, | ||
"etag": "1500474f-0000-0200-0000-5cbe090d0000" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Date": "Fri, 23 Oct 2020 08:28:16 GMT", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-writes": "1192", | ||
"x-ms-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264", | ||
"x-ms-correlation-request-id": "e4c589b7-a9fe-4c28-981c-3855ec27d264" | ||
}, | ||
"body": { | ||
"status": "InProgress" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/Library_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,36 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "exampleWorkspace.dev.azuresynapse.net", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Sat, 16 Jun 2018 00:37:36 GMT", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-reads": "14994", | ||
"x-ms-request-id": "558d0fd8-dc1f-44b6-9ca9-59fcca8af9a5", | ||
"x-ms-correlation-request-id": "558d0fd8-dc1f-44b6-9ca9-59fcca8af9a5" | ||
}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraryartifacts/exampleLibraryName.jar", | ||
"name": "exampleLibraryName.jar", | ||
"type": "Microsoft.Synapse/workspaces/libraryartifacts", | ||
"properties": { | ||
"name": "exampleLibraryName.jar", | ||
"path": "exampleWorkspace/libraries/exampleLibraryName.jar", | ||
"containerName": "exampleContainer", | ||
"type": "jar", | ||
"uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00", | ||
"provisioningStatus": "Succeeded", | ||
"creatorId": "2222222e-222d-222f-2222-22a2f222d2f2" | ||
}, | ||
"etag": "1500474f-0000-0200-0000-5cbe090d0000" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.