From d91923c80350a98ff709787fc535fca3bdde782c Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Wed, 15 Dec 2021 10:40:58 +0800 Subject: [PATCH] Add `x-ms-enum` extension to keyvault (#17055) * fix * make these two sealed enums --- .../preview/2021-06-01-preview/keyvault.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-06-01-preview/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-06-01-preview/keyvault.json index 07f35d503f44..fe5746f58fd9 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-06-01-preview/keyvault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2021-06-01-preview/keyvault.json @@ -637,6 +637,10 @@ "enum": [ "resourceType eq 'Microsoft.KeyVault/vaults'" ], + "x-ms-enum": { + "name": "VaultListFilterTypes", + "modelAsString": false + }, "description": "The filter to apply on the operation." }, { @@ -655,6 +659,10 @@ "enum": [ "2015-11-01" ], + "x-ms-enum": { + "name": "ResourceManagerApiVersions", + "modelAsString": false + }, "description": "Azure Resource Manager Api Version." }, {