Skip to content

Commit a8ebc2c

Browse files
committed
fixed linter errors
1 parent 5af5998 commit a8ebc2c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

specification/monitor/resource-manager/Microsoft.Insights/preview/2023-01-01-preview/activityLogAlerts_API.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
},
5151
"Create or update an Activity Log Alert rule with 'containsAny'": {
5252
"$ref": "./examples/ActivityLogAlertRule_CreateOrUpdateRuleWithContainsAny.json"
53+
},
54+
"Create or update an Activity Log Alert rule for tenant level events": {
55+
"$ref": "./examples/ActivityLogAlertRule_CreateOrUpdateTenantLevelServiceHealthRule.json"
5356
}
5457
},
5558
"parameters": [
@@ -333,6 +336,7 @@
333336
}
334337
},
335338
"ActivityLogAlertResource": {
339+
"type": "object",
336340
"description": "An Activity Log Alert rule resource.",
337341
"allOf": [
338342
{
@@ -348,6 +352,7 @@
348352
}
349353
},
350354
"AlertRuleList": {
355+
"type": "object",
351356
"description": "A list of Activity Log Alert rules.",
352357
"properties": {
353358
"value": {
@@ -496,9 +501,11 @@
496501
]
497502
},
498503
"AlertRulePatchObject": {
504+
"type": "object",
499505
"description": "An Activity Log Alert rule object for the body of patch operations.",
500506
"properties": {
501507
"tags": {
508+
"type": "object",
502509
"description": "The resource tags",
503510
"additionalProperties": {
504511
"type": "string"
@@ -512,6 +519,7 @@
512519
}
513520
},
514521
"AlertRulePatchProperties": {
522+
"type": "object",
515523
"description": "An Activity Log Alert rule properties for patch operations.",
516524
"properties": {
517525
"enabled": {
@@ -544,6 +552,7 @@
544552
"in": "path",
545553
"required": true,
546554
"type": "string",
555+
"pattern": "^[-\\w\\._\\(\\)]+$",
547556
"description": "The name of the Activity Log Alert rule.",
548557
"x-ms-parameter-location": "method"
549558
}

0 commit comments

Comments
 (0)