From 8257530bd409a469234aff20ced41f359cb47c24 Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Fri, 7 Aug 2020 14:27:54 +0800 Subject: [PATCH 1/2] Fix identity in servicebus --- .../preview/2018-01-01-preview/servicebus-preview.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json index 33c89e5d3e11..7c141e3bcd3b 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json @@ -956,6 +956,10 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/SBNamespaceProperties", "description": "Properties of the namespace." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "Properties of BYOK Identity description" } }, "allOf": [ @@ -998,10 +1002,6 @@ "type": "boolean", "description": "Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones." }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "Properties of BYOK Identity description" - }, "encryption": { "$ref": "#/definitions/Encryption", "description": "Properties of BYOK Encryption description" From 5f6fca8215927e16e6437ffa9e5cf45b9c31d8ee Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Fri, 7 Aug 2020 14:29:20 +0800 Subject: [PATCH 2/2] Principal ID and tenant ID should be readonly --- .../preview/2018-01-01-preview/servicebus-preview.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json index 7c141e3bcd3b..c089a7efe2e0 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json @@ -1291,10 +1291,12 @@ "properties": { "principalId": { "type": "string", + "readOnly": true, "description": "ObjectId from the KeyVault" }, "tenantId": { "type": "string", + "readOnly": true, "description": "TenantId from the KeyVault" }, "type": {