Skip to content

Commit

Permalink
Add SQL DW Gen3
Browse files Browse the repository at this point in the history
  • Loading branch information
idear1203 committed Jul 16, 2020
1 parent 34cb592 commit b1776f0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
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
11 changes: 6 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 Down Expand Up @@ -114,6 +112,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

0 comments on commit b1776f0

Please sign in to comment.