From e2be31335899abff4d6d90ee2f0b0f9d4eb559a2 Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Thu, 30 Mar 2023 09:58:32 +0800 Subject: [PATCH 1/2] fix --- .../Microsoft.KeyVault/stable/2016-10-01/keyvault.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2016-10-01/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2016-10-01/keyvault.json index 0e298de0cde2..563e580b0e60 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2016-10-01/keyvault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2016-10-01/keyvault.json @@ -573,6 +573,10 @@ "enum": [ "resourceType eq 'Microsoft.KeyVault/vaults'" ], + "x-ms-enum": { + "name": "VaultListFilterTypes", + "modelAsString": false + }, "description": "The filter to apply on the operation." }, { @@ -591,6 +595,10 @@ "enum": [ "2015-11-01" ], + "x-ms-enum": { + "name": "ResourceManagerApiVersions", + "modelAsString": false + }, "description": "Azure Resource Manager Api Version." }, { From 70528887686d8144a08fdc0b556da2636f21f05a Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Fri, 31 Mar 2023 09:56:32 +0800 Subject: [PATCH 2/2] update --- .../stable/2016-10-01/keyvault.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2016-10-01/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2016-10-01/keyvault.json index 563e580b0e60..687c83cf94c9 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2016-10-01/keyvault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2016-10-01/keyvault.json @@ -575,7 +575,14 @@ ], "x-ms-enum": { "name": "VaultListFilterTypes", - "modelAsString": false + "modelAsString": false, + "values": [ + { + "value": "resourceType eq 'Microsoft.KeyVault/vaults'", + "description": "Keyvault resource type", + "name": "ResourceTypeKeyVault" + } + ] }, "description": "The filter to apply on the operation." }, @@ -597,7 +604,14 @@ ], "x-ms-enum": { "name": "ResourceManagerApiVersions", - "modelAsString": false + "modelAsString": false, + "values": [ + { + "value": "2015-11-01", + "description": "Api version", + "name": "V2015_11_01" + } + ] }, "description": "Azure Resource Manager Api Version." },