From 1c5114071d69cc6b1358e0d5ef907f99654d57cb Mon Sep 17 00:00:00 2001 From: Joaquin Lozano Date: Sun, 25 Oct 2020 13:02:30 -0700 Subject: [PATCH 1/3] AddUserAssignedIdentityConfig --- .../preview/2020-07-10-preview/iothub.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json index eafa77369c6f..68bb2b224f95 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json @@ -4178,6 +4178,20 @@ "keyIdentifier": { "type": "string", "description": "The identifier of the key." + }, + "identity": { + "description": "The identity.", + "$ref": "#/definitions/KEKIdentity" + } + } + }, + "KEKIdentity": { + "description": "The properties of the KeyVault identity.", + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "The user assigned identity." } } } From a7cfe1e2ec00288db450aa9f5c37d071eeb77d18 Mon Sep 17 00:00:00 2001 From: Joaquin Lozano Date: Sun, 25 Oct 2020 14:13:53 -0700 Subject: [PATCH 2/3] MissingEncryption --- .../preview/2020-07-10-preview/iothub.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json index 68bb2b224f95..ea0fa62d2d2c 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json @@ -3185,6 +3185,9 @@ "sku": { "description": "IotHub SKU info", "$ref": "#/definitions/IotHubSkuInfo" + }, + "identity": { + "$ref": "#/definitions/ArmIdentity" } }, "allOf": [ @@ -4154,6 +4157,44 @@ } } }, + "ArmIdentity": { + "type": "object", + "properties": { + "principalId": { + "description": "Principal Id", + "type": "string", + "readOnly": true + }, + "tenantId": { + "description": "Tenant Id", + "type": "string", + "readOnly": true + }, + "identityType": { + "description": "Identity type. Only allowed values are SystemAssigned and UserAssigned. Comma separated if both for ex: SystemAssigned,UserAssigned", + "type": "string" + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ArmUserIdentity" + } + } + } + }, + "ArmUserIdentity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "readOnly": true + }, + "clientId": { + "type": "string", + "readOnly": true + } + } + }, "EncryptionPropertiesDescription": { "description": "The encryption properties for the IoT hub.", "type": "object", From 421d4bb3ada35db5f377f8d03aa941ed790534dd Mon Sep 17 00:00:00 2001 From: Joaquin Lozano Date: Wed, 4 Nov 2020 10:59:03 -0800 Subject: [PATCH 3/3] missingDescription --- .../Microsoft.Devices/preview/2020-07-10-preview/iothub.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json index ea0fa62d2d2c..59d9bcb1c64e 100644 --- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json +++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2020-07-10-preview/iothub.json @@ -3187,6 +3187,7 @@ "$ref": "#/definitions/IotHubSkuInfo" }, "identity": { + "description": "The managed identities for the IotHub.", "$ref": "#/definitions/ArmIdentity" } },