From 4cf4955c7b1fc4ac6f53bedf46ed1fc167f4e848 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 14 Apr 2023 04:03:22 +0000 Subject: [PATCH] CodeGen from PR 23107 in Azure/azure-rest-api-specs Merge 09319ca4735368425620c4c85f084e3c01944428 into 7aa6a1a29982250514ff8f52d87c483c647db8d2 --- schemas/2023-04-03/Microsoft.Monitor.json | 82 ++++++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 85 insertions(+) create mode 100644 schemas/2023-04-03/Microsoft.Monitor.json diff --git a/schemas/2023-04-03/Microsoft.Monitor.json b/schemas/2023-04-03/Microsoft.Monitor.json new file mode 100644 index 0000000000..f380e3d359 --- /dev/null +++ b/schemas/2023-04-03/Microsoft.Monitor.json @@ -0,0 +1,82 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-04-03/Microsoft.Monitor.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Monitor", + "description": "Microsoft Monitor Resource Types", + "resourceDefinitions": { + "accounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-03" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?!-)[a-zA-Z0-9-]+[^-]$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Azure Monitor workspace. The name is case insensitive" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureMonitorWorkspaceResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Monitor/accounts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Monitor/accounts" + } + }, + "definitions": { + "AzureMonitorWorkspaceResourceProperties": { + "type": "object", + "properties": {}, + "description": "Resource properties" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 3fb4fb04f5..f76132f812 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -16261,6 +16261,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-03-preview/Microsoft.Monitor.json#/resourceDefinitions/accounts" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-03/Microsoft.Monitor.json#/resourceDefinitions/accounts" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-08-15/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts" },