From 42df7cfde61ff57f0234c99462a8d51cd0514e02 Mon Sep 17 00:00:00 2001 From: Ajit Navasare Date: Thu, 7 May 2020 00:31:23 -0700 Subject: [PATCH] EventHub: added optional keyVersion property in KeyVaultProperties (#9335) * added optional keyVersion property in KeyVaultProperties * Keyvault properties to Array Co-authored-by: v-ajnava --- .../2018-01-01-preview/namespaces-preview.json | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json index 05bbaf4fe1a8..0f2174cfb648 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json @@ -493,7 +493,11 @@ "x-ms-client-flatten": true, "properties": { "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", + "type": "array", + "items": { + "$ref": "#/definitions/KeyVaultProperties" + }, + "x-ms-client-name": "KeyVaultProperties", "description": "Properties of KeyVault" }, "keySource": { @@ -515,11 +519,18 @@ "properties": { "keyName": { "type": "string", - "description": "Name of the Key from KeyVault" + "description": "Name of the Key from KeyVault", + "x-ms-client-name": "KeyName" }, "keyVaultUri": { "type": "string", - "description": "Uri of KeyVault" + "description": "Uri of KeyVault", + "x-ms-client-name": "KeyVaultUri" + }, + "keyVersion": { + "type": "string", + "description": "Key Version", + "x-ms-client-name": "KeyVersion" } }, "description": "Properties to configure keyVault Properties"