From 3a28c74f74146a850ad586482a32c785b2c7ac11 Mon Sep 17 00:00:00 2001 From: Juliet Zhong Date: Wed, 27 Jul 2022 11:34:24 -0400 Subject: [PATCH] add x-ms-identifiers for keyvault --- .../stable/2022-07-01/keys.json | 1 + .../stable/2022-07-01/keyvault.json | 18 ++++++++++++++++++ .../stable/2022-07-01/managedHsm.json | 3 +++ .../stable/2022-07-01/providers.json | 16 +++++++++++++--- 4 files changed, 35 insertions(+), 3 deletions(-) diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/keys.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/keys.json index 05de81e0ab25..030ef6e8cc97 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/keys.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/keys.json @@ -555,6 +555,7 @@ "items": { "$ref": "#/definitions/LifetimeAction" }, + "x-ms-identifiers": [], "description": "The lifetimeActions for key rotation action." } }, diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/keyvault.json index 700494da76d0..d20480921f3e 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/keyvault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/keyvault.json @@ -1225,6 +1225,11 @@ "items": { "$ref": "#/definitions/AccessPolicyEntry" }, + "x-ms-identifiers": [ + "tenantId", + "objectId", + "permissions" + ], "description": "An array of 0 to 1024 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to `recover`, access policies are not required. Otherwise, access policies are required." }, "vaultUri": { @@ -1337,6 +1342,11 @@ "items": { "$ref": "#/definitions/AccessPolicyEntry" }, + "x-ms-identifiers": [ + "tenantId", + "objectId", + "permissions" + ], "description": "An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID." }, "enabledForDeployment": { @@ -1399,6 +1409,11 @@ "items": { "$ref": "#/definitions/AccessPolicyEntry" }, + "x-ms-identifiers": [ + "tenantId", + "objectId", + "permissions" + ], "description": "An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID." } }, @@ -1774,6 +1789,9 @@ "items": { "$ref": "#/definitions/VirtualNetworkRule" }, + "x-ms-identifiers": [ + "id" + ], "description": "The list of virtual network rules." } }, diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/managedHsm.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/managedHsm.json index 15939c75c66f..a0e36eff6ed2 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/managedHsm.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/managedHsm.json @@ -1265,6 +1265,9 @@ "items": { "$ref": "#/definitions/MHSMIPRule" }, + "x-ms-identifiers": [ + "value" + ], "description": "The list of IP address rules." }, "virtualNetworkRules": { diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/providers.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/providers.json index 5f6f0985a393..8e5956e3da8a 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/providers.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2022-07-01/providers.json @@ -68,6 +68,7 @@ "items": { "$ref": "#/definitions/Operation" }, + "x-ms-identifiers": [], "description": "List of Storage operations supported by the Storage resource provider." }, "nextLink": { @@ -140,14 +141,20 @@ "type": "array", "items": { "$ref": "#/definitions/LogSpecification" - } + }, + "x-ms-identifiers": [ + "name" + ] }, "metricSpecifications": { "description": "Metric specifications of operation.", "type": "array", "items": { "$ref": "#/definitions/MetricSpecification" - } + }, + "x-ms-identifiers": [ + "name" + ] } }, "type": "object" @@ -216,7 +223,10 @@ "description": "The dimensions of metric", "items": { "$ref": "#/definitions/DimensionProperties" - } + }, + "x-ms-identifiers": [ + "name" + ] }, "fillGapWithZero": { "type": "boolean",