From 334e18bf5dbde6bec75908dd5413bd5a5079422c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 8 Jun 2022 01:29:35 +0000 Subject: [PATCH] CodeGen from PR 18728 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.DigitalTwins to add version stable/2022-05-31 (#18728) * Adds base for updating Microsoft.DigitalTwins from version preview/2021-06-30-preview to version 2022-05-31 * Updates readme * Updates API version in new specs and examples * Add additional provisioning states * Update examples to include LRO headers * Add SDK generation configurations --- .../2022-05-31/Microsoft.DigitalTwins.json | 732 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 744 insertions(+) create mode 100644 schemas/2022-05-31/Microsoft.DigitalTwins.json diff --git a/schemas/2022-05-31/Microsoft.DigitalTwins.json b/schemas/2022-05-31/Microsoft.DigitalTwins.json new file mode 100644 index 0000000000..596a5ed3c3 --- /dev/null +++ b/schemas/2022-05-31/Microsoft.DigitalTwins.json @@ -0,0 +1,732 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-05-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-05-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}(?