Skip to content

Commit

Permalink
CodeGen from PR 14933 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Update readme.md (#14933)

Add R4007 suppression for metricNamespaces since changing it's return type would be a breaking change
  • Loading branch information
SDKAuto committed Jun 30, 2021
1 parent c9b469e commit 8b33910
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 8b33910

Please sign in to comment.