diff --git a/schemas/2022-10-31/Microsoft.DigitalTwins.json b/schemas/2022-10-31/Microsoft.DigitalTwins.json new file mode 100644 index 0000000000..64b84db3d3 --- /dev/null +++ b/schemas/2022-10-31/Microsoft.DigitalTwins.json @@ -0,0 +1,804 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-10-31/Microsoft.DigitalTwins.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DigitalTwins", + "description": "Microsoft DigitalTwins Resource Types", + "resourceDefinitions": { + "digitalTwinsInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-10-31" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/DigitalTwinsIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The managed identity for the DigitalTwinsInstance." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?!-)[A-Za-z0-9-]{3,63}(?