From 4439f9714f6c680c6d436fde645063d18069e0ee Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 5 Nov 2020 02:50:58 +0000 Subject: [PATCH] Generated from 421d4bb3ada35db5f377f8d03aa941ed790534dd --- .../2020-07-10-preview/Microsoft.Devices.json | 58 +++++++++++++++++++ schemas/common/autogeneratedResources.json | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/schemas/2020-07-10-preview/Microsoft.Devices.json b/schemas/2020-07-10-preview/Microsoft.Devices.json index 277836e83a..8cdbf5403b 100644 --- a/schemas/2020-07-10-preview/Microsoft.Devices.json +++ b/schemas/2020-07-10-preview/Microsoft.Devices.json @@ -17,6 +17,16 @@ "type": "string", "description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention." }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ArmIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, "location": { "type": "string", "description": "The resource location." @@ -219,6 +229,33 @@ } }, "definitions": { + "ArmIdentity": { + "type": "object", + "properties": { + "identityType": { + "type": "string", + "description": "Identity type. Only allowed values are SystemAssigned and UserAssigned. Comma separated if both for ex: SystemAssigned,UserAssigned" + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ArmUserIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "ArmUserIdentity": { + "type": "object", + "properties": {} + }, "CertificateProperties": { "type": "object", "properties": { @@ -817,9 +854,30 @@ ], "description": "The IP filter rules for the IoT hub." }, + "KEKIdentity": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "The user assigned identity." + } + }, + "description": "The properties of the KeyVault identity." + }, "KeyVaultKeyProperties": { "type": "object", "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/KEKIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the KeyVault identity." + }, "keyIdentifier": { "type": "string", "description": "The identifier of the key." diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ba1eed3d16..dcc2e09d40 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -5530,4 +5530,4 @@ ] } ] -} +} \ No newline at end of file