Skip to content

Commit 454178d

Browse files
author
SDKAuto
committed
CodeGen from PR 22328 in Azure/azure-rest-api-specs
Merge 30bf4630b5d7b1a9021ccda62108ad1e6a3d33c9 into 6e290d0b310e87d56cfa98cababea00b489d2c07
1 parent 4eec978 commit 454178d

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)