Skip to content

Commit

Permalink
CodeGen from PR 14588 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 3c67592066e75e1e972d7ce54d9aa67782d947c5 into c51580c6f102bace66c5bed4b979437c21b81882
  • Loading branch information
SDKAuto committed Jun 30, 2021
1 parent c9b469e commit 23e2ba9
Show file tree
Hide file tree
Showing 4 changed files with 446 additions and 36 deletions.
3 changes: 3 additions & 0 deletions schemas/2018-05-01/subscriptionDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2017-05-01-preview/Microsoft.Insights.json#/subscription_resourceDefinitions/diagnosticSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.Insights.json#/subscription_resourceDefinitions/diagnosticSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.ManagedNetwork.json#/unknown_resourceDefinitions/scopeAssignments"
},
Expand Down
3 changes: 3 additions & 0 deletions schemas/2019-08-01/managementGroupDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.Insights.json#/managementGroup_resourceDefinitions/diagnosticSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.Insights.json#/managementGroup_resourceDefinitions/diagnosticSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-07-01-preview/Microsoft.PolicyInsights.json#/unknown_resourceDefinitions/remediations"
},
Expand Down
38 changes: 2 additions & 36 deletions schemas/2021-02-01-preview/Microsoft.Insights.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,31 +80,6 @@
}
},
"definitions": {
"Action": {
"type": "object",
"properties": {
"actionGroupId": {
"type": "string",
"description": "Action Group resource Id to invoke when the alert fires."
},
"webHookProperties": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of a webhook object."
}
},
"description": "Actions to invoke when the alert fires."
},
"Condition": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -297,17 +272,8 @@
"type": "object",
"properties": {
"actions": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/Action"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"type": "object",
"properties": {},
"description": "Actions to invoke when the alert fires."
},
"autoMitigate": {
Expand Down
Loading

0 comments on commit 23e2ba9

Please sign in to comment.