Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Synapse] - Update Operations.json #10214

Merged
merged 3 commits into from
Jul 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"status": "InProgress"
}
},
"404": {},
"500": {
"default": {
"body": {
"error": {
"code": "Error code",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"version": "2020-04-01-preview",
"title": "SynapseManagementClient",
"title": "SynapseSqlV3ManagementClient",
"description": "Azure Synapse Analytics APIs"
},
"host": "management.azure.com",
Expand All @@ -23,11 +23,11 @@
"paths": {
"/providers/Microsoft.Synapse/operations": {
"get": {
"operationId": "Operations_List",
"operationId": "SqlV3Operations_List",
"summary": "All operations",
"description": "Get all available operations",
"tags": [
"Operations"
"SqlV3Operations"
],
"deprecated": false,
"consumes": [],
Expand All @@ -43,6 +43,12 @@
}
},
"description": ""
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
},
"description": ""
}
},
"x-ms-examples": {
Expand All @@ -54,11 +60,11 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/operationResults/{operationId}": {
"get": {
"operationId": "Operations_GetLocationHeaderResult",
"operationId": "SqlV3Operations_GetLocationHeaderResult",
"summary": "Get operation result",
"description": "Get the result of an operation",
"tags": [
"Operations"
"SqlV3Operations"
],
"deprecated": false,
"consumes": [],
Expand Down Expand Up @@ -109,11 +115,11 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/operationStatuses/{operationId}": {
"get": {
"operationId": "Operations_GetAzureAsyncHeaderResult",
"operationId": "SqlV3Operations_GetAzureAsyncHeaderResult",
"summary": "Get operation status",
"description": "Get the status of an operation",
"tags": [
"Operations"
"SqlV3Operations"
],
"deprecated": false,
"consumes": [],
Expand Down Expand Up @@ -148,10 +154,7 @@
},
"description": ""
},
"404": {
"description": ""
},
"500": {
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
},
Expand Down
10 changes: 1 addition & 9 deletions specification/synapse/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ These settings apply only when `--tag=package-sqlGen3-2020-04-01-preview` is spe

``` yaml $(tag) == 'package-sqlGen3-2020-04-01-preview'
input-file:
- Microsoft.Synapse/preview/2020-04-01-preview/operations.json
- Microsoft.Synapse/preview/2020-04-01-preview/sqlPool.json
- Microsoft.Synapse/preview/2020-04-01-preview/sqlDatabase.json

```

## Suppressions
Expand All @@ -73,14 +73,6 @@ directive:
reason: Does not apply to sqlPool and bigDataPool as they are nested tracked resources
- suppress: TrackedResourceListBySubscription
reason: Does not apply to sqlPool and bigDataPool as they are nested tracked resources
- suppress: OperationsAPIImplementation
reason: We do have a operations api as "/providers/Microsoft.Synapse/operations"
from: sqlDatabase.json
where: $.paths
- suppress: OperationsAPIImplementation
reason: We do have a operations api as "/providers/Microsoft.Synapse/operations"
from: sqlPool.json
where: $.paths
```

---
Expand Down