From 729ba89e8cb0127e984cb88e95a9d455591cd2eb Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Fri, 14 Aug 2020 11:57:01 +0800 Subject: [PATCH] Revert discriminator changes introduced by #8606 --- .../stable/2019-11-01/storagecache.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json index 65ee658ffea2..c4d62942bf76 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json @@ -1434,6 +1434,7 @@ "StorageTarget": { "description": "A storage system being cached by a Cache.", "type": "object", + "discriminator": "targetType", "properties": { "name": { "description": "Name of the Storage Target.", @@ -1454,10 +1455,6 @@ "x-ms-client-flatten": true, "description": "Properties of the Storage Target.", "type": "object", - "discriminator": "targetType", - "required": [ - "targetType" - ], "properties": { "junctions": { "description": "List of Cache namespace junctions to target for namespace associations.",