From cd431c686e6fda6bc91fa60c9dc683b17431adf0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 2 Sep 2022 01:44:33 +0000 Subject: [PATCH] CodeGen from PR 20374 in Azure/azure-rest-api-specs Merge 7bfcb73d145b5814603f960c56737ccf047ad73c into 164cda32b8baeb388264af44ad8392f68a8e200a --- .../2022-10-31/Microsoft.DigitalTwins.json | 802 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 814 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..fb22ef0c3b --- /dev/null +++ b/schemas/2022-10-31/Microsoft.DigitalTwins.json @@ -0,0 +1,802 @@ +{ + "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}(?