diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2022-02-01-preview/examples/listVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2022-02-01-preview/examples/listVault.json index a7ac7b5d3c0f..3397baaa9f83 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2022-02-01-preview/examples/listVault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2022-02-01-preview/examples/listVault.json @@ -3,7 +3,7 @@ "$filter": "resourceType eq 'Microsoft.KeyVault/vaults'", "$top": 1, "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2022-02-01-preview" + "api-version": "2015-11-01" }, "responses": { "200": { @@ -17,7 +17,7 @@ "tags": {} } ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?%24filter=resourceType+eq+%27Microsoft.KeyVault%2fvaults%27&%24top=4&api-version=2022-02-01-preview&%24skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IVEwTTJNVGMtIiwibmV4dFJvd0tleSI6IjEhMTMyIU5rUTRSVEU1UXpJelFUWXdORGd4UmpoRlFrSXhNVGhFUXpNd01EZEROVVJmVkVkT1RDMU5TVU5TVDFOUFJsUTZNa1ZMUlZsV1FWVk1WRG95UmxaQlZVeFVVeTFUVTFKSExVcEpUVG95UkZSRlUxUTZNa1JXUVZWTVZDMVhSVk5VVlZNLSJ9" + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?%24filter=resourceType+eq+%27Microsoft.KeyVault%2fvaults%27&%24top=4&api-version=2015-11-01&%24skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IVEwTTJNVGMtIiwibmV4dFJvd0tleSI6IjEhMTMyIU5rUTRSVEU1UXpJelFUWXdORGd4UmpoRlFrSXhNVGhFUXpNd01EZEROVVJmVkVkT1RDMU5TVU5TVDFOUFJsUTZNa1ZMUlZsV1FWVk1WRG95UmxaQlZVeFVVeTFUVTFKSExVcEpUVG95UkZSRlUxUTZNa1JXUVZWTVZDMVhSVk5VVlZNLSJ9" } } } diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2022-02-01-preview/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2022-02-01-preview/keyvault.json index 7f346a8bc3d4..63c1da0ee0b3 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2022-02-01-preview/keyvault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2022-02-01-preview/keyvault.json @@ -657,8 +657,7 @@ "x-ms-api-version": false, "type": "string", "enum": [ - "2015-11-01", - "2022-02-01-preview" + "2015-11-01" ], "x-ms-enum": { "name": "ResourceManagerApiVersions", diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md index e8d0d61a090c..ccd4775e3c34 100644 --- a/specification/keyvault/resource-manager/readme.md +++ b/specification/keyvault/resource-manager/readme.md @@ -212,7 +212,7 @@ input-file: - Microsoft.KeyVault/stable/2019-09-01/secrets.json ``` -### Supressions +### Suppression ``` yaml directive: @@ -223,6 +223,12 @@ directive: - R4015 # The 'MHSMPrivateEndpointConnection' sub-resource doesn't define List as per Network Team's specification. - R2005 # The 'ManagedHsms_PurgeDeleted' operation should not return a mix of 202 and syncronous return types (200, 201, 204) as directed by SDK team. - R4009 # Vault object is the only one that need to be tracked with SystemData +- suppress: INVALID_REQUEST_PARAMETER + from: keyvault.json + reason: The Vaults_List API endpoint only supports version 2015-11-01. +- suppress: OBJECT_MISSING_REQUIRED_PROPERTY + from: keyvault.json + reason: The Vaults_List API endpoint only supports version 2015-11-01. ``` ---