Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated required and default fields in Action Groups spec #13677

Merged
merged 14 commits into from
Apr 21, 2021
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,30 @@
},
"useCommonAlertSchema": {
"type": "boolean",
"default": false,
"description": "Indicates whether to use common alert schema."
},
"useAadAuth": {
"type": "boolean",
"default": false,
"description": "Indicates whether or not use AAD authentication."
},
"objectId": {
"type": "string",
"description": "Indicates the webhook app object Id for aad auth."
},
"identifierUri": {
"type": "string",
"description": "Indicates the identifier uri for aad auth."
},
"tenantId": {
"type": "string",
"description": "Indicates the tenant id for aad auth."
}
},
"required": [
"name",
"serviceUri",
"useCommonAlertSchema"
"serviceUri"
]
},
"ItsmReceiver": {
Expand Down Expand Up @@ -657,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 @@ -707,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 @@ -738,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 @@ -762,13 +779,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",
ritwik8119 marked this conversation as resolved.
Show resolved Hide resolved
"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",
ritwik8119 marked this conversation as resolved.
Show resolved Hide resolved
"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",
ritwik8119 marked this conversation as resolved.
Show resolved Hide resolved
"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",
ritwik8119 marked this conversation as resolved.
Show resolved Hide resolved
"description": "Indicates whether to use common alert schema."
}
},
"required": [
"name",
"roleId",
"useCommonAlertSchema"
"roleId"
]
},
"ReceiverStatus": {
Expand Down