Skip to content

Commit 91ea5f6

Browse files
author
SDKAuto
committed
CodeGen from PR 22328 in Azure/azure-rest-api-specs
Merge e44fed6519f7a845722cb0fe4563536239ad3808 into dea4d453ca250eae677d69751d909df00d6b6b05
1 parent f3d28c8 commit 91ea5f6

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

schemas/2021-06-03-preview/Microsoft.Monitor.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,21 @@
1818
"description": "The geo-location where the resource lives"
1919
},
2020
"name": {
21-
"type": "string",
21+
"oneOf": [
22+
{
23+
"type": "string",
24+
"pattern": "^(?!-)[a-zA-Z0-9-]+[^-]$"
25+
},
26+
{
27+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
28+
}
29+
],
2230
"description": "The name of the Azure Monitor workspace. The name is case insensitive"
2331
},
2432
"properties": {
2533
"oneOf": [
2634
{
27-
"$ref": "#/definitions/MonitoringAccountResourceProperties"
35+
"$ref": "#/definitions/AzureMonitorWorkspaceResourceProperties"
2836
},
2937
{
3038
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -65,7 +73,7 @@
6573
}
6674
},
6775
"definitions": {
68-
"MonitoringAccountResourceProperties": {
76+
"AzureMonitorWorkspaceResourceProperties": {
6977
"type": "object",
7078
"properties": {},
7179
"description": "Resource properties"

0 commit comments

Comments
 (0)