Skip to content

Commit

Permalink
[Synapse] - Update sql pool v3 specs (Azure#14839)
Browse files Browse the repository at this point in the history
* [Synapse] - Update sql pool v3 specs

* Address comments

Co-authored-by: Dongwei Wang <[email protected]>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent f4def2e commit 35edb70
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 35 deletions.
17 changes: 0 additions & 17 deletions specification/synapse/common/v1/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,6 @@
}
]
},
"Sku": {
"description": "An ARM Resource SKU.",
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"description": "The name of the SKU, typically, a letter + Number code, e.g. P3.",
"type": "string"
},
"tier": {
"description": "The tier or edition of the particular SKU, e.g. Basic, Premium.",
"type": "string"
}
}
},
"SystemData": {
"description": "ARM System Data.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -101,7 +101,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -156,7 +156,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -229,7 +229,7 @@
"x-ms-client-flatten": true
},
"error": {
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse",
"description": "Errors from the operation"
},
"startTime": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -110,7 +110,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -157,7 +157,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -213,7 +213,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -256,7 +256,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -110,7 +110,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -157,7 +157,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -213,7 +213,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -259,7 +259,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -305,7 +305,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -348,7 +348,7 @@
},
"default": {
"schema": {
"$ref": "../../../../common/v1/types.json#/definitions/ErrorContract"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
Expand Down Expand Up @@ -436,7 +436,7 @@
],
"properties": {
"sku": {
"$ref": "../../../../common/v1/types.json#/definitions/Sku",
"$ref": "#/definitions/SkuV3",
"description": "The sql pool SKU. The list of SKUs may vary by region and support offer."
},
"kind": {
Expand All @@ -456,12 +456,29 @@
}
}
},
"SkuV3": {
"description": "An ARM Resource SKU.",
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"description": "The name of the SKU, typically, a letter + Number code, e.g. P3.",
"type": "string"
},
"tier": {
"description": "The tier or edition of the particular SKU, e.g. Basic, Premium.",
"type": "string"
}
}
},
"SqlPoolUpdate": {
"description": "A sql pool resource.",
"type": "object",
"properties": {
"sku": {
"$ref": "../../../../common/v1/types.json#/definitions/Sku",
"$ref": "#/definitions/SkuV3",
"description": "The name and tier of the SKU."
},
"properties": {
Expand Down

0 comments on commit 35edb70

Please sign in to comment.