Skip to content

Commit

Permalink
Updated required and default fields in Action Groups spec (#13677)
Browse files Browse the repository at this point in the history
* 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

* Updated required and default fields in Action groups spec

* Update default value to boolean

Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>

* changes default value type to boolean

* undo webhook receiver changes

Co-authored-by: Ritwik Rajendra <rirajend@microsoft.com>
Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 21, 2021
1 parent 3f3a1a5 commit c71709a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
},
"status": {
Expand All @@ -526,8 +527,7 @@
},
"required": [
"name",
"emailAddress",
"useCommonAlertSchema"
"emailAddress"
]
},
"SmsReceiver": {
Expand Down Expand Up @@ -570,13 +570,13 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"name",
"serviceUri",
"useCommonAlertSchema"
"serviceUri"
]
},
"ItsmReceiver": {
Expand Down Expand Up @@ -657,15 +657,15 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"automationAccountId",
"runbookName",
"webhookResourceId",
"isGlobalRunbook",
"useCommonAlertSchema"
"isGlobalRunbook"
]
},
"VoiceReceiver": {
Expand Down Expand Up @@ -707,14 +707,14 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"name",
"resourceId",
"callbackUrl",
"useCommonAlertSchema"
"callbackUrl"
]
},
"AzureFunctionReceiver": {
Expand All @@ -738,15 +738,15 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"name",
"functionAppResourceId",
"functionName",
"httpTriggerUrl",
"useCommonAlertSchema"
"httpTriggerUrl"
]
},
"ArmRoleReceiver": {
Expand All @@ -762,13 +762,13 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"name",
"roleId",
"useCommonAlertSchema"
"roleId"
]
},
"ReceiverStatus": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
},
"status": {
Expand All @@ -526,8 +527,7 @@
},
"required": [
"name",
"emailAddress",
"useCommonAlertSchema"
"emailAddress"
]
},
"SmsReceiver": {
Expand Down Expand Up @@ -570,6 +570,7 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
},
"useAadAuth": {
Expand All @@ -592,8 +593,7 @@
},
"required": [
"name",
"serviceUri",
"useCommonAlertSchema"
"serviceUri"
]
},
"ItsmReceiver": {
Expand Down Expand Up @@ -674,15 +674,15 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"automationAccountId",
"runbookName",
"webhookResourceId",
"isGlobalRunbook",
"useCommonAlertSchema"
"isGlobalRunbook"
]
},
"VoiceReceiver": {
Expand Down Expand Up @@ -724,14 +724,14 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"name",
"resourceId",
"callbackUrl",
"useCommonAlertSchema"
"callbackUrl"
]
},
"AzureFunctionReceiver": {
Expand All @@ -755,15 +755,15 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"name",
"functionAppResourceId",
"functionName",
"httpTriggerUrl",
"useCommonAlertSchema"
"httpTriggerUrl"
]
},
"ArmRoleReceiver": {
Expand All @@ -779,13 +779,13 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"name",
"roleId",
"useCommonAlertSchema"
"roleId"
]
},
"ReceiverStatus": {
Expand Down

0 comments on commit c71709a

Please sign in to comment.