Skip to content
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 @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"version": "2020-04-01-preview",
"title": "SynapseSqlManagementClient",
"title": "SynapseSqlV3ManagementClient",
"description": "The Azure Synapse SQL management API provides a RESTful set of web APIs that interact with Azure Synapse SQL services to manage your resources. The API enables users to create, retrieve, update, and delete SqlPools, SqlDatabases, and other entities."
},
"host": "management.azure.com",
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": "SynapseSqlManagementClient",
"title": "SynapseSqlV3ManagementClient",
"description": "The Azure Synapse SQL management API provides a RESTful set of web APIs that interact with Azure Synapse SQL services to manage your resources. The API enables users to create, retrieve, update, and delete SqlPools, SqlDatabases, and other entities."
},
"host": "management.azure.com",
Expand All @@ -19,10 +19,10 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}": {
"get": {
"tags": [
"SqlPools"
"SqlPoolsV3"
],
"description": "Gets a SqlPool.",
"operationId": "SqlPools_Get",
"operationId": "SqlPoolsV3_Get",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
Expand All @@ -44,7 +44,7 @@
"200": {
"description": "Successfully retrieved the specified SqlPool.",
"schema": {
"$ref": "#/definitions/SqlPool"
"$ref": "#/definitions/SqlPoolV3"
}
},
"default": {
Expand All @@ -62,10 +62,10 @@
},
"put": {
"tags": [
"SqlPools"
"SqlPoolsV3"
],
"description": "Creates a new SqlPool or updates an existing SqlPool.",
"operationId": "SqlPools_CreateOrUpdate",
"operationId": "SqlPoolsV3_CreateOrUpdate",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
Expand All @@ -82,7 +82,7 @@
"description": "The requested SqlPool resource state.",
"required": true,
"schema": {
"$ref": "#/definitions/SqlPool"
"$ref": "#/definitions/SqlPoolV3"
}
},
{
Expand All @@ -96,7 +96,7 @@
"200": {
"description": "Successfully updated the SqlPool.",
"schema": {
"$ref": "#/definitions/SqlPool"
"$ref": "#/definitions/SqlPoolV3"
}
},
"202": {
Expand All @@ -105,7 +105,7 @@
"201": {
"description": "Successfully created the SqlPool.",
"schema": {
"$ref": "#/definitions/SqlPool"
"$ref": "#/definitions/SqlPoolV3"
}
},
"default": {
Expand All @@ -124,10 +124,10 @@
},
"delete": {
"tags": [
"SqlPools"
"SqlPoolsV3"
],
"description": "Deletes the SqlPool.",
"operationId": "SqlPools_Delete",
"operationId": "SqlPoolsV3_Delete",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
Expand Down Expand Up @@ -171,10 +171,10 @@
},
"patch": {
"tags": [
"SqlPools"
"SqlPoolsV3"
],
"description": "Updates an existing sqlpool.",
"operationId": "SqlPools_Update",
"operationId": "SqlPoolsV3_Update",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
Expand Down Expand Up @@ -205,7 +205,7 @@
"200": {
"description": "Successfully updated the SqlPool.",
"schema": {
"$ref": "#/definitions/SqlPool"
"$ref": "#/definitions/SqlPoolV3"
}
},
"202": {
Expand All @@ -229,10 +229,10 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools": {
"get": {
"tags": [
"SqlPools"
"SqlPoolsV3"
],
"description": "Gets a list of sql pools.",
"operationId": "SqlPools_ListByWorkspace",
"operationId": "SqlPoolsV3_ListByWorkspace",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
Expand Down Expand Up @@ -318,7 +318,7 @@
}
}
},
"SqlPool": {
"SqlPoolV3": {
"description": "A sql pool resource.",
"required": [
"location"
Expand Down Expand Up @@ -381,7 +381,7 @@
"description": "Array of results.",
"type": "array",
"items": {
"$ref": "#/definitions/SqlPool"
"$ref": "#/definitions/SqlPoolV3"
},
"readOnly": true
},
Expand Down
19 changes: 14 additions & 5 deletions specification/synapse/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ To see additional help and options, run:
These are the global settings for the Azure Synapse Analytics API.

``` yaml
title: SynapseManagementClient
description: Azure Synapse Analytics Management Client
openapi-type: arm
azure-arm: true
Expand All @@ -49,13 +48,12 @@ input-file:
- Microsoft.Synapse/preview/2019-06-01-preview/privatelinkhub.json
```

### Tag: package-2020-04-01-preview
### Tag: package-sqlGen3-2020-04-01-preview

These settings apply only when `--tag=package-2020-04-01-preview` is specified on the command line.
These settings apply only when `--tag=package-sqlGen3-2020-04-01-preview` is specified on the command line.

``` yaml $(tag) == 'package-2020-04-01-preview'
``` 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

Expand All @@ -75,6 +73,14 @@ 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 Expand Up @@ -114,6 +120,9 @@ csharp:
namespace: Microsoft.Azure.Management.Synapse
output-folder: $(csharp-sdks-folder)/synapse/Microsoft.Azure.Management.Synapse/src/Generated
clear-output-folder: true
batch:
- tag: package-2019-06-01-preview
- tag: package-sqlGen3-2020-04-01-preview
```

## Go
Expand Down