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 086804c1201a5200cd4f612231b5ba855ca69dac into 6e290d0b310e87d56cfa98cababea00b489d2c07
  • Loading branch information
SDKAuto committed Jan 27, 2023
1 parent 4eec978 commit 4ccab60
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 4ccab60

Please sign in to comment.