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

[AutoPR monitor] Web ant94 2021 02 01 #4095

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
710 changes: 710 additions & 0 deletions schemas/2014-04-01/Microsoft.Insights.json

Large diffs are not rendered by default.

28 changes: 20 additions & 8 deletions schemas/2015-04-01/Microsoft.Insights.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.Insights.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "microsoft.insights",
"description": "microsoft insights Resource Types",
"title": "Microsoft.Insights",
"description": "Microsoft Insights Resource Types",
"resourceDefinitions": {
"autoscalesettings": {
"type": "object",
Expand Down Expand Up @@ -50,7 +50,7 @@
"type": {
"type": "string",
"enum": [
"microsoft.insights/autoscalesettings"
"Microsoft.Insights/autoscalesettings"
]
}
},
Expand All @@ -61,7 +61,7 @@
"properties",
"type"
],
"description": "microsoft.insights/autoscalesettings"
"description": "Microsoft.Insights/autoscalesettings"
}
},
"definitions": {
Expand Down Expand Up @@ -222,6 +222,10 @@
],
"description": "the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified."
},
"targetResourceLocation": {
"type": "string",
"description": "the location of the resource that the autoscale setting should be added to."
},
"targetResourceUri": {
"type": "string",
"description": "the resource identifier of the resource that the autoscale setting should be added to."
Expand Down Expand Up @@ -252,7 +256,8 @@
"sendToSubscriptionAdministrator": {
"oneOf": [
{
"type": "boolean"
"type": "boolean",
"default": false
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand All @@ -263,7 +268,8 @@
"sendToSubscriptionCoAdministrators": {
"oneOf": [
{
"type": "boolean"
"type": "boolean",
"default": false
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -310,6 +316,10 @@
"type": "string",
"description": "the namespace of the metric that defines what the rule monitors."
},
"metricResourceLocation": {
"type": "string",
"description": "the location of the resource the rule monitors."
},
"metricResourceUri": {
"type": "string",
"description": "the resource identifier of the resource the rule monitors."
Expand Down Expand Up @@ -341,7 +351,8 @@
"Average",
"Min",
"Max",
"Sum"
"Sum",
"Count"
]
},
{
Expand Down Expand Up @@ -534,7 +545,8 @@
"enum": [
"ChangeCount",
"PercentChangeCount",
"ExactCount"
"ExactCount",
"ServiceAllowedNextValue"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions schemas/2016-03-01/Microsoft.Insights.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"type": {
"type": "string",
"enum": [
"microsoft.insights/logprofiles"
"Microsoft.Insights/logprofiles"
]
}
},
Expand All @@ -122,7 +122,7 @@
"properties",
"type"
],
"description": "microsoft.insights/logprofiles"
"description": "Microsoft.Insights/logprofiles"
}
},
"definitions": {
Expand Down
8 changes: 4 additions & 4 deletions schemas/2017-05-01-preview/Microsoft.Insights.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "https://schema.management.azure.com/schemas/2017-05-01-preview/Microsoft.Insights.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "microsoft.insights",
"description": "microsoft insights Resource Types",
"title": "Microsoft.Insights",
"description": "Microsoft Insights Resource Types",
"resourceDefinitions": {},
"subscription_resourceDefinitions": {
"diagnosticSettings": {
Expand Down Expand Up @@ -77,7 +77,7 @@
"type": {
"type": "string",
"enum": [
"microsoft.insights/diagnosticSettings"
"Microsoft.Insights/diagnosticSettings"
]
}
},
Expand All @@ -87,7 +87,7 @@
"properties",
"type"
],
"description": "microsoft.insights/diagnosticSettings"
"description": "Microsoft.Insights/diagnosticSettings"
}
},
"definitions": {
Expand Down
8 changes: 4 additions & 4 deletions schemas/2018-04-16/Microsoft.Insights.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "https://schema.management.azure.com/schemas/2018-04-16/Microsoft.Insights.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "microsoft.insights",
"description": "microsoft insights Resource Types",
"title": "Microsoft.Insights",
"description": "Microsoft Insights Resource Types",
"resourceDefinitions": {
"scheduledQueryRules": {
"type": "object",
Expand Down Expand Up @@ -50,7 +50,7 @@
"type": {
"type": "string",
"enum": [
"microsoft.insights/scheduledQueryRules"
"Microsoft.Insights/scheduledQueryRules"
]
}
},
Expand All @@ -61,7 +61,7 @@
"properties",
"type"
],
"description": "microsoft.insights/scheduledQueryRules"
"description": "Microsoft.Insights/scheduledQueryRules"
}
},
"definitions": {
Expand Down
3 changes: 3 additions & 0 deletions schemas/2018-05-01/subscriptionDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,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
12 changes: 12 additions & 0 deletions schemas/2021-05-01-preview/Microsoft.Insights.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@
],
"description": "The list of logs settings."
},
"marketplacePartnerId": {
"type": "string",
"description": "The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs."
},
"metrics": {
"oneOf": [
{
Expand Down Expand Up @@ -250,6 +254,10 @@
],
"description": "The list of logs settings."
},
"marketplacePartnerId": {
"type": "string",
"description": "The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs."
},
"serviceBusRuleId": {
"type": "string",
"description": "The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility."
Expand Down Expand Up @@ -391,6 +399,10 @@
],
"description": "The list of logs settings."
},
"marketplacePartnerId": {
"type": "string",
"description": "The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs."
},
"serviceBusRuleId": {
"type": "string",
"description": "The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility."
Expand Down
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -6214,6 +6214,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules"
},
{
"$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/autoscalesettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.Insights.json#/resourceDefinitions/autoscalesettings"
},
Expand Down