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 063f9bc9be..5c6758f98e 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -5551,4 +5551,4 @@ ] } ] -} +} \ No newline at end of file