From 09214246745039c390eda4c844ab7fc2473161a5 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 21 Nov 2022 16:24:33 +0000 Subject: [PATCH] CodeGen from PR 20374 in Azure/azure-rest-api-specs Merge 1486f5ab4c7a9f726fd42aeb6512af2f8f0ba304 into cd2861ab4537950c37f8c5fba0e36717f5c149f1 --- .../2022-10-31/Microsoft.DigitalTwins.json | 804 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 816 insertions(+) create mode 100644 schemas/2022-10-31/Microsoft.DigitalTwins.json 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}(?