Skip to content

Commit fc7b952

Browse files
ritwik8119Ritwik Rajendra
andauthored
Add missing fields to Action Group resource spec (#12736)
* Updated error response for Action Groups API * spacing * added missing fields to Action Group Resource spec * Added missing fields for action group resource in older version * Updated "resource" name * Removed changes to errorResponse * Removed errorObject * format Co-authored-by: Ritwik Rajendra <rirajend@microsoft.com>
1 parent 3db787e commit fc7b952

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
}
336336
},
337337
"definitions": {
338-
"Resource": {
338+
"AzureResource": {
339339
"properties": {
340340
"id": {
341341
"type": "string",
@@ -352,6 +352,16 @@
352352
"readOnly": true,
353353
"description": "Azure resource type"
354354
},
355+
"kind": {
356+
"type": "string",
357+
"readOnly": true,
358+
"description": "Azure resource kind"
359+
},
360+
"identity": {
361+
"type": "string",
362+
"readOnly": true,
363+
"description": "Azure resource identity"
364+
},
355365
"location": {
356366
"type": "string",
357367
"description": "Resource location",
@@ -377,7 +387,7 @@
377387
"description": "An action group resource.",
378388
"allOf": [
379389
{
380-
"$ref": "#/definitions/Resource"
390+
"$ref": "#/definitions/AzureResource"
381391
}
382392
],
383393
"properties": {

specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
}
336336
},
337337
"definitions": {
338-
"Resource": {
338+
"AzureResource": {
339339
"properties": {
340340
"id": {
341341
"type": "string",
@@ -352,6 +352,16 @@
352352
"readOnly": true,
353353
"description": "Azure resource type"
354354
},
355+
"kind": {
356+
"type": "string",
357+
"readOnly": true,
358+
"description": "Azure resource kind"
359+
},
360+
"identity": {
361+
"type": "string",
362+
"readOnly": true,
363+
"description": "Azure resource identity"
364+
},
355365
"location": {
356366
"type": "string",
357367
"description": "Resource location",
@@ -377,7 +387,7 @@
377387
"description": "An action group resource.",
378388
"allOf": [
379389
{
380-
"$ref": "#/definitions/Resource"
390+
"$ref": "#/definitions/AzureResource"
381391
}
382392
],
383393
"properties": {

0 commit comments

Comments
 (0)