Skip to content

Commit

Permalink
CodeGen from PR 22328 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 77830b8ddb133200a2464ae42c966f1af492de93 into e217fd77475710b4a48542f433e3b9782f26f229
  • Loading branch information
SDKAuto committed Feb 6, 2023
1 parent 01575f4 commit 581b1be
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions schemas/2021-06-03-preview/Microsoft.Monitor.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,21 @@
"description": "The geo-location where the resource lives"
},
"name": {
"type": "string",
"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/MonitoringAccountResourceProperties"
"$ref": "#/definitions/AzureMonitorWorkspaceResourceProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -65,7 +73,7 @@
}
},
"definitions": {
"MonitoringAccountResourceProperties": {
"AzureMonitorWorkspaceResourceProperties": {
"type": "object",
"properties": {},
"description": "Resource properties"
Expand Down

0 comments on commit 581b1be

Please sign in to comment.