Skip to content

Commit 467afe8

Browse files
idear1203Dongwei Wang
andauthored
[Synapse] - Update sql pool v3 specs (#14839)
* [Synapse] - Update sql pool v3 specs * Address comments Co-authored-by: Dongwei Wang <[email protected]>
1 parent a9c87d3 commit 467afe8

File tree

4 files changed

+35
-35
lines changed

4 files changed

+35
-35
lines changed

specification/synapse/common/v1/types.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,6 @@
5757
}
5858
]
5959
},
60-
"Sku": {
61-
"description": "An ARM Resource SKU.",
62-
"required": [
63-
"name"
64-
],
65-
"type": "object",
66-
"properties": {
67-
"name": {
68-
"description": "The name of the SKU, typically, a letter + Number code, e.g. P3.",
69-
"type": "string"
70-
},
71-
"tier": {
72-
"description": "The tier or edition of the particular SKU, e.g. Basic, Premium.",
73-
"type": "string"
74-
}
75-
}
76-
},
7760
"SystemData": {
7861
"description": "ARM System Data.",
7962
"type": "object",

specification/synapse/resource-manager/Microsoft.Synapse/preview/2020-04-01-preview/operations.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"default": {
4848
"schema": {
49-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
49+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
5050
},
5151
"description": ""
5252
}
@@ -101,7 +101,7 @@
101101
},
102102
"default": {
103103
"schema": {
104-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
104+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
105105
},
106106
"description": ""
107107
}
@@ -156,7 +156,7 @@
156156
},
157157
"default": {
158158
"schema": {
159-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
159+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
160160
},
161161
"description": ""
162162
}
@@ -229,7 +229,7 @@
229229
"x-ms-client-flatten": true
230230
},
231231
"error": {
232-
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse",
232+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse",
233233
"description": "Errors from the operation"
234234
},
235235
"startTime": {

specification/synapse/resource-manager/Microsoft.Synapse/preview/2020-04-01-preview/sqlDatabase.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"default": {
5151
"schema": {
52-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
52+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
5353
},
5454
"description": ""
5555
}
@@ -110,7 +110,7 @@
110110
},
111111
"default": {
112112
"schema": {
113-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
113+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
114114
},
115115
"description": ""
116116
}
@@ -157,7 +157,7 @@
157157
},
158158
"default": {
159159
"schema": {
160-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
160+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
161161
},
162162
"description": ""
163163
}
@@ -213,7 +213,7 @@
213213
},
214214
"default": {
215215
"schema": {
216-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
216+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
217217
},
218218
"description": ""
219219
}
@@ -256,7 +256,7 @@
256256
},
257257
"default": {
258258
"schema": {
259-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
259+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
260260
},
261261
"description": ""
262262
}

specification/synapse/resource-manager/Microsoft.Synapse/preview/2020-04-01-preview/sqlPool.json

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"default": {
5151
"schema": {
52-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
52+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
5353
},
5454
"description": ""
5555
}
@@ -110,7 +110,7 @@
110110
},
111111
"default": {
112112
"schema": {
113-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
113+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
114114
},
115115
"description": ""
116116
}
@@ -157,7 +157,7 @@
157157
},
158158
"default": {
159159
"schema": {
160-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
160+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
161161
},
162162
"description": ""
163163
}
@@ -213,7 +213,7 @@
213213
},
214214
"default": {
215215
"schema": {
216-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
216+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
217217
},
218218
"description": ""
219219
}
@@ -259,7 +259,7 @@
259259
},
260260
"default": {
261261
"schema": {
262-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
262+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
263263
},
264264
"description": ""
265265
}
@@ -305,7 +305,7 @@
305305
},
306306
"default": {
307307
"schema": {
308-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
308+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
309309
},
310310
"description": ""
311311
}
@@ -348,7 +348,7 @@
348348
},
349349
"default": {
350350
"schema": {
351-
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
351+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
352352
},
353353
"description": ""
354354
}
@@ -436,7 +436,7 @@
436436
],
437437
"properties": {
438438
"sku": {
439-
"$ref": "../../../../common/v1/types.json#/definitions/Sku",
439+
"$ref": "#/definitions/SkuV3",
440440
"description": "The sql pool SKU. The list of SKUs may vary by region and support offer."
441441
},
442442
"kind": {
@@ -456,12 +456,29 @@
456456
}
457457
}
458458
},
459+
"SkuV3": {
460+
"description": "An ARM Resource SKU.",
461+
"required": [
462+
"name"
463+
],
464+
"type": "object",
465+
"properties": {
466+
"name": {
467+
"description": "The name of the SKU, typically, a letter + Number code, e.g. P3.",
468+
"type": "string"
469+
},
470+
"tier": {
471+
"description": "The tier or edition of the particular SKU, e.g. Basic, Premium.",
472+
"type": "string"
473+
}
474+
}
475+
},
459476
"SqlPoolUpdate": {
460477
"description": "A sql pool resource.",
461478
"type": "object",
462479
"properties": {
463480
"sku": {
464-
"$ref": "../../../../common/v1/types.json#/definitions/Sku",
481+
"$ref": "#/definitions/SkuV3",
465482
"description": "The name and tier of the SKU."
466483
},
467484
"properties": {

0 commit comments

Comments
 (0)