From ffebb24d31c5cf5bdb3abfd670b7398b3e8c8ffa Mon Sep 17 00:00:00 2001 From: Tom Harvey Date: Fri, 20 Oct 2023 05:05:51 +0200 Subject: [PATCH] devcenter: `devCenterUri` should be a read only field (#26189) * devcenter: `devCenterUri` should be a read only field This field cannot be updated - therefore it should be marked as readonly * devcenter: `devCenterUri` within the Project should also be marked as readonly --- .../Microsoft.DevCenter/stable/2023-04-01/devcenter.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/devcenter.json b/specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/devcenter.json index e0b943d07a23..04f58ce57580 100644 --- a/specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/devcenter.json +++ b/specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/devcenter.json @@ -2757,7 +2757,8 @@ }, "devCenterUri": { "description": "The URI of the Dev Center.", - "$ref": "#/definitions/DevCenterUri" + "$ref": "#/definitions/DevCenterUri", + "readOnly": true } } }, @@ -2852,7 +2853,8 @@ }, "devCenterUri": { "description": "The URI of the Dev Center resource this project is associated with.", - "$ref": "#/definitions/DevCenterUri" + "$ref": "#/definitions/DevCenterUri", + "readOnly": true } } },