From c43ca61e41ed8d9f9473cadb4e7b23277986c6f4 Mon Sep 17 00:00:00 2001 From: sparatala <106575116+sparatala@users.noreply.github.com> Date: Thu, 2 Feb 2023 11:01:09 +0530 Subject: [PATCH] Swagger Correctness BigDataPool (#22303) * Swagger Correctness BigDataPool * WorkspaceAadAdmins 2021-06-01-preview update * Resolve Model Validaiton Error --- .../preview/2021-06-01-preview/bigDataPool.json | 3 ++- .../stable/2021-06-01/bigDataPool.json | 17 ++++------------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json index b4f12e4f491b..b518534e8a1d 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json @@ -433,7 +433,8 @@ "cacheSize": { "type": "integer", "format": "int32", - "description": "The cache size" + "description": "The cache size", + "readOnly": true }, "dynamicExecutorAllocation": { "$ref": "#/definitions/DynamicExecutorAllocation", diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/bigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/bigDataPool.json index 603c8789e122..4a67d7cacfdd 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/bigDataPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/bigDataPool.json @@ -433,7 +433,8 @@ "cacheSize": { "type": "integer", "format": "int32", - "description": "The cache size" + "description": "The cache size", + "readOnly": true }, "dynamicExecutorAllocation": { "$ref": "#/definitions/DynamicExecutorAllocation", @@ -576,22 +577,12 @@ "minExecutors": { "type": "integer", "format": "int32", - "description": "The minimum number of executors alloted", - "x-ms-mutability": [ - "create", - "read", - "update" - ] + "description": "The minimum number of executors alloted" }, "maxExecutors": { "type": "integer", "format": "int32", - "description": "The maximum number of executors alloted", - "x-ms-mutability": [ - "create", - "read", - "update" - ] + "description": "The maximum number of executors alloted" } } },