From 86c09befb97f7a7d26bfdd112e4838b0999d85b8 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 5 Jan 2022 08:32:19 +0000 Subject: [PATCH] CodeGen from PR 16317 in Azure/azure-rest-api-specs Modify module-name released (#16317) * add resourcemanager and add repo for go track2 * add resourcemanager * fix other --- .../Microsoft.Insights.json | 754 +----------------- schemas/2021-08-01/Microsoft.Insights.json | 446 ----------- schemas/2021-09-01/Microsoft.Insights.json | 635 --------------- schemas/common/autogeneratedResources.json | 9 - 4 files changed, 1 insertion(+), 1843 deletions(-) delete mode 100644 schemas/2021-08-01/Microsoft.Insights.json delete mode 100644 schemas/2021-09-01/Microsoft.Insights.json diff --git a/schemas/2021-05-01-preview/Microsoft.Insights.json b/schemas/2021-05-01-preview/Microsoft.Insights.json index 61375294c7..9613324d79 100644 --- a/schemas/2021-05-01-preview/Microsoft.Insights.json +++ b/schemas/2021-05-01-preview/Microsoft.Insights.json @@ -3,67 +3,7 @@ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Microsoft.Insights", "description": "Microsoft Insights Resource Types", - "resourceDefinitions": { - "autoscalesettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The autoscale setting name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSetting" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A setting that contains all of the configuration for the automatic scaling of a resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Insights/autoscalesettings" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Insights/autoscalesettings" - } - }, + "resourceDefinitions": {}, "subscription_resourceDefinitions": { "diagnosticSettings": { "type": "object", @@ -188,188 +128,6 @@ } }, "definitions": { - "AutoscaleNotification": { - "type": "object", - "properties": { - "email": { - "oneOf": [ - { - "$ref": "#/definitions/EmailNotification" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email notification of an autoscale event." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Scale" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the operation associated with the notification and its value must be \"scale\"" - }, - "webhooks": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/WebhookNotification" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the collection of webhook notifications." - } - }, - "required": [ - "operation" - ], - "description": "Autoscale notification." - }, - "AutoscaleProfile": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "$ref": "#/definitions/ScaleCapacity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of instances that can be used during this profile." - }, - "fixedDate": { - "oneOf": [ - { - "$ref": "#/definitions/TimeWindow" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A specific date-time for the profile." - }, - "name": { - "type": "string", - "description": "the name of the profile." - }, - "recurrence": { - "oneOf": [ - { - "$ref": "#/definitions/Recurrence" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The repeating times at which this profile begins. This element is not used if the FixedDate element is used." - }, - "rules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified." - } - }, - "required": [ - "capacity", - "name", - "rules" - ], - "description": "Autoscale profile." - }, - "AutoscaleSetting": { - "type": "object", - "properties": { - "enabled": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'." - }, - "name": { - "type": "string", - "description": "the name of the autoscale setting." - }, - "notifications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AutoscaleNotification" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the collection of notifications." - }, - "predictiveAutoscalePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/PredictiveAutoscalePolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters for enabling predictive autoscale." - }, - "profiles": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AutoscaleProfile" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - } - }, - "required": [ - "profiles" - ], - "description": "A setting that contains all of the configuration for the automatic scaling of a resource." - }, "DiagnosticSettings": { "type": "object", "properties": { @@ -432,50 +190,6 @@ }, "description": "The diagnostic settings." }, - "EmailNotification": { - "type": "object", - "properties": { - "customEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored." - }, - "sendToSubscriptionAdministrator": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "a value indicating whether to send email to subscription administrator." - }, - "sendToSubscriptionCoAdministrators": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "a value indicating whether to send email to subscription co-administrators." - } - }, - "description": "Email notification of an autoscale event." - }, "LogSettings": { "type": "object", "properties": { @@ -627,270 +341,6 @@ ], "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric." }, - "MetricTrigger": { - "type": "object", - "properties": { - "dimensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRuleMetricDimension" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of dimension conditions. For example: [{\"DimensionName\":\"AppName\",\"Operator\":\"Equals\",\"Values\":[\"App1\"]},{\"DimensionName\":\"Deployment\",\"Operator\":\"Equals\",\"Values\":[\"default\"]}]." - }, - "dividePerInstance": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "a value indicating whether metric should divide per instance." - }, - "metricName": { - "type": "string", - "description": "the name of the metric that defines what the rule monitors." - }, - "metricNamespace": { - "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." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Equals", - "NotEquals", - "GreaterThan", - "GreaterThanOrEqual", - "LessThan", - "LessThanOrEqual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the operator that is used to compare the metric data and the threshold." - }, - "statistic": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Average", - "Min", - "Max", - "Sum", - "Count" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the metric statistic type. How the metrics from multiple instances are combined." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the threshold of the metric that triggers the scale action." - }, - "timeAggregation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Average", - "Minimum", - "Maximum", - "Total", - "Count", - "Last" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "time aggregation type. How the data that is collected should be combined over time. The default value is Average." - }, - "timeGrain": { - "type": "string", - "format": "duration", - "description": "the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute." - }, - "timeWindow": { - "type": "string", - "format": "duration", - "description": "the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes." - } - }, - "required": [ - "metricName", - "metricResourceUri", - "operator", - "statistic", - "threshold", - "timeAggregation", - "timeGrain", - "timeWindow" - ], - "description": "The trigger that results in a scaling action." - }, - "PredictiveAutoscalePolicy": { - "type": "object", - "properties": { - "scaleLookAheadTime": { - "type": "string", - "format": "duration", - "description": "the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format." - }, - "scaleMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Disabled", - "ForecastOnly", - "Enabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the predictive autoscale mode." - } - }, - "required": [ - "scaleMode" - ], - "description": "The parameters for enabling predictive autoscale." - }, - "Recurrence": { - "type": "object", - "properties": { - "frequency": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Second", - "Minute", - "Hour", - "Day", - "Week", - "Month", - "Year" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly." - }, - "schedule": { - "oneOf": [ - { - "$ref": "#/definitions/RecurrentSchedule" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The scheduling constraints for when the profile begins." - } - }, - "required": [ - "frequency", - "schedule" - ], - "description": "The repeating times at which this profile begins. This element is not used if the FixedDate element is used." - }, - "RecurrentSchedule": { - "type": "object", - "properties": { - "days": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the collection of days that the profile takes effect on. Possible values are Sunday through Saturday." - }, - "hours": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "integer" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of hours that the profile takes effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times are not supported)." - }, - "minutes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "integer" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of minutes at which the profile takes effect at." - }, - "timeZone": { - "type": "string", - "description": "the timezone for the hours of the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time" - } - }, - "required": [ - "days", - "hours", - "minutes", - "timeZone" - ], - "description": "The scheduling constraints for when the profile begins." - }, "RetentionPolicy": { "type": "object", "properties": { @@ -924,159 +374,6 @@ ], "description": "Specifies the retention policy for the log." }, - "ScaleAction": { - "type": "object", - "properties": { - "cooldown": { - "type": "string", - "format": "duration", - "description": "the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format." - }, - "direction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Increase", - "Decrease" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the scale direction. Whether the scaling action increases or decreases the number of instances." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ChangeCount", - "PercentChangeCount", - "ExactCount", - "ServiceAllowedNextValue" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the type of action that should occur when the scale rule fires." - }, - "value": { - "type": "string", - "default": "1", - "description": "the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1." - } - }, - "required": [ - "cooldown", - "direction", - "type" - ], - "description": "The parameters for the scaling action." - }, - "ScaleCapacity": { - "type": "object", - "properties": { - "default": { - "type": "string", - "description": "the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default." - }, - "maximum": { - "type": "string", - "description": "the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription." - }, - "minimum": { - "type": "string", - "description": "the minimum number of instances for the resource." - } - }, - "required": [ - "default", - "maximum", - "minimum" - ], - "description": "The number of instances that can be used during this profile." - }, - "ScaleRule": { - "type": "object", - "properties": { - "metricTrigger": { - "oneOf": [ - { - "$ref": "#/definitions/MetricTrigger" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The trigger that results in a scaling action." - }, - "scaleAction": { - "oneOf": [ - { - "$ref": "#/definitions/ScaleAction" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The parameters for the scaling action." - } - }, - "required": [ - "metricTrigger", - "scaleAction" - ], - "description": "A rule that provide the triggers and parameters for the scaling action." - }, - "ScaleRuleMetricDimension": { - "type": "object", - "properties": { - "DimensionName": { - "type": "string", - "description": "Name of the dimension." - }, - "Operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Equals", - "NotEquals" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the dimension operator. Only 'Equals' and 'NotEquals' are supported. 'Equals' being equal to any of the values. 'NotEquals' being not equal to all of the values." - }, - "Values": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "list of dimension values. For example: [\"App1\",\"App2\"]." - } - }, - "required": [ - "DimensionName", - "Operator", - "Values" - ], - "description": "Specifies an auto scale rule metric dimension." - }, "SubscriptionDiagnosticSettings": { "type": "object", "properties": { @@ -1148,55 +445,6 @@ "enabled" ], "description": "Part of Subscription diagnostic setting. Specifies the settings for a particular log." - }, - "TimeWindow": { - "type": "object", - "properties": { - "end": { - "type": "string", - "format": "date-time", - "description": "the end time for the profile in ISO 8601 format." - }, - "start": { - "type": "string", - "format": "date-time", - "description": "the start time for the profile in ISO 8601 format." - }, - "timeZone": { - "type": "string", - "description": "the timezone of the start and end times for the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time" - } - }, - "required": [ - "end", - "start" - ], - "description": "A specific date-time for the profile." - }, - "WebhookNotification": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "a property bag of settings. This value can be empty." - }, - "serviceUri": { - "type": "string", - "description": "the service address to receive the notification." - } - }, - "description": "Webhook notification of an autoscale event." } } } \ No newline at end of file diff --git a/schemas/2021-08-01/Microsoft.Insights.json b/schemas/2021-08-01/Microsoft.Insights.json deleted file mode 100644 index d2f89ee4c7..0000000000 --- a/schemas/2021-08-01/Microsoft.Insights.json +++ /dev/null @@ -1,446 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Insights.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Insights", - "description": "Microsoft Insights Resource Types", - "resourceDefinitions": { - "scheduledQueryRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-08-01" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LogAlert", - "LogToMetric" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of scheduled query rule. The default is LogAlert." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduledQueryRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "scheduled query rule Definition" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Insights/scheduledQueryRules" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Insights/scheduledQueryRules" - } - }, - "definitions": { - "Actions": { - "type": "object", - "properties": { - "actionGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action Group resource Ids to invoke when the alert fires." - }, - "customProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of an alert payload." - } - }, - "description": "Actions to invoke when the alert fires." - }, - "Condition": { - "type": "object", - "properties": { - "dimensions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Dimension" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Dimensions conditions" - }, - "failingPeriods": { - "oneOf": [ - { - "$ref": "#/definitions/ConditionFailingPeriods" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert." - }, - "metricMeasureColumn": { - "type": "string", - "description": "The column containing the metric measure number. Relevant only for rules of the kind LogAlert." - }, - "metricName": { - "type": "string", - "description": "The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Equals", - "GreaterThan", - "GreaterThanOrEqual", - "LessThan", - "LessThanOrEqual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The criteria operator. Relevant and required only for rules of the kind LogAlert." - }, - "query": { - "type": "string", - "description": "Log query alert" - }, - "resourceIdColumn": { - "type": "string", - "description": "The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert." - }, - "timeAggregation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Count", - "Average", - "Minimum", - "Maximum", - "Total" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Aggregation type. Relevant and required only for rules of the kind LogAlert." - } - }, - "description": "A condition of the scheduled query rule." - }, - "ConditionFailingPeriods": { - "type": "object", - "properties": { - "minFailingPeriodsToAlert": { - "oneOf": [ - { - "type": "integer", - "default": "1" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1" - }, - "numberOfEvaluationPeriods": { - "oneOf": [ - { - "type": "integer", - "default": "1" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1" - } - }, - "description": "The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert." - }, - "Dimension": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the dimension" - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Include", - "Exclude" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Operator for dimension values." - }, - "values": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of dimension values" - } - }, - "required": [ - "name", - "operator", - "values" - ], - "description": "Dimension splitting and filtering definition" - }, - "ScheduledQueryRuleCriteria": { - "type": "object", - "properties": { - "allOf": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Condition" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of conditions to evaluate against the specified scopes" - } - }, - "description": "The rule criteria that defines the conditions of the scheduled query rule." - }, - "ScheduledQueryRuleProperties": { - "type": "object", - "properties": { - "actions": { - "oneOf": [ - { - "$ref": "#/definitions/Actions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Actions to invoke when the alert fires." - }, - "autoMitigate": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert." - }, - "checkWorkspaceAlertsStorageConfigured": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert." - }, - "criteria": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduledQueryRuleCriteria" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The rule criteria that defines the conditions of the scheduled query rule." - }, - "description": { - "type": "string", - "description": "The description of the scheduled query rule." - }, - "displayName": { - "type": "string", - "description": "The display name of the alert rule" - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag which indicates whether this scheduled query rule is enabled. Value should be true or false" - }, - "evaluationFrequency": { - "type": "string", - "format": "duration", - "description": "How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert." - }, - "muteActionsDuration": { - "type": "string", - "format": "duration", - "description": "Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert." - }, - "overrideQueryTimeRange": { - "type": "string", - "format": "duration", - "description": "If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert." - }, - "scopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of resource id's that this scheduled query rule is scoped to." - }, - "severity": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert." - }, - "skipQueryValidation": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert." - }, - "targetResourceTypes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert" - }, - "windowSize": { - "type": "string", - "format": "duration", - "description": "The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert." - } - }, - "description": "scheduled query rule Definition" - } - } -} \ No newline at end of file diff --git a/schemas/2021-09-01/Microsoft.Insights.json b/schemas/2021-09-01/Microsoft.Insights.json deleted file mode 100644 index 0be7761dd4..0000000000 --- a/schemas/2021-09-01/Microsoft.Insights.json +++ /dev/null @@ -1,635 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-09-01/Microsoft.Insights.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Insights", - "description": "Microsoft Insights Resource Types", - "resourceDefinitions": { - "actionGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "The name of the action group." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ActionGroup" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An Azure action group." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Insights/actionGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Insights/actionGroups" - } - }, - "definitions": { - "ActionGroup": { - "type": "object", - "properties": { - "armRoleReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ArmRoleReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported." - }, - "automationRunbookReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AutomationRunbookReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of AutomationRunbook receivers that are part of this action group." - }, - "azureAppPushReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureAppPushReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of AzureAppPush receivers that are part of this action group." - }, - "azureFunctionReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureFunctionReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of azure function receivers that are part of this action group." - }, - "emailReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EmailReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of email receivers that are part of this action group." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." - }, - "eventHubReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventHubReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of event hub receivers that are part of this action group." - }, - "groupShortName": { - "type": "string", - "maxLength": 12, - "description": "The short name of the action group. This will be used in SMS messages." - }, - "itsmReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ItsmReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of ITSM receivers that are part of this action group." - }, - "logicAppReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LogicAppReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of logic app receivers that are part of this action group." - }, - "smsReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SmsReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of SMS receivers that are part of this action group." - }, - "voiceReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VoiceReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of voice receivers that are part of this action group." - }, - "webhookReceivers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/WebhookReceiver" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of webhook receivers that are part of this action group." - } - }, - "required": [ - "enabled", - "groupShortName" - ], - "description": "An Azure action group." - }, - "ArmRoleReceiver": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group." - }, - "roleId": { - "type": "string", - "description": "The arm role id." - }, - "useCommonAlertSchema": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "name", - "roleId" - ], - "description": "An arm role receiver." - }, - "AutomationRunbookReceiver": { - "type": "object", - "properties": { - "automationAccountId": { - "type": "string", - "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource." - }, - "isGlobalRunbook": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether this instance is global runbook." - }, - "name": { - "type": "string", - "description": "Indicates name of the webhook." - }, - "runbookName": { - "type": "string", - "description": "The name for this runbook." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - }, - "useCommonAlertSchema": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether to use common alert schema." - }, - "webhookResourceId": { - "type": "string", - "description": "The resource id for webhook linked to this runbook." - } - }, - "required": [ - "automationAccountId", - "isGlobalRunbook", - "runbookName", - "webhookResourceId" - ], - "description": "The Azure Automation Runbook notification receiver." - }, - "AzureAppPushReceiver": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "description": "The email address registered for the Azure mobile app." - }, - "name": { - "type": "string", - "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group." - } - }, - "required": [ - "emailAddress", - "name" - ], - "description": "The Azure mobile App push notification receiver." - }, - "AzureFunctionReceiver": { - "type": "object", - "properties": { - "functionAppResourceId": { - "type": "string", - "description": "The azure resource id of the function app." - }, - "functionName": { - "type": "string", - "description": "The function name in the function app." - }, - "httpTriggerUrl": { - "type": "string", - "description": "The http trigger url where http request sent to." - }, - "name": { - "type": "string", - "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group." - }, - "useCommonAlertSchema": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "functionAppResourceId", - "functionName", - "httpTriggerUrl", - "name" - ], - "description": "An azure function receiver." - }, - "EmailReceiver": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "description": "The email address of this receiver." - }, - "name": { - "type": "string", - "description": "The name of the email receiver. Names must be unique across all receivers within an action group." - }, - "useCommonAlertSchema": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "emailAddress", - "name" - ], - "description": "An email receiver." - }, - "EventHubReceiver": { - "type": "object", - "properties": { - "eventHubName": { - "type": "string", - "description": "The name of the specific Event Hub queue" - }, - "eventHubNameSpace": { - "type": "string", - "description": "The Event Hub namespace" - }, - "name": { - "type": "string", - "description": "The name of the Event hub receiver. Names must be unique across all receivers within an action group." - }, - "subscriptionId": { - "type": "string", - "description": "The Id for the subscription containing this event hub" - }, - "tenantId": { - "type": "string", - "description": "The tenant Id for the subscription containing this event hub" - }, - "useCommonAlertSchema": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "eventHubName", - "eventHubNameSpace", - "name", - "subscriptionId" - ], - "description": "An Event hub receiver." - }, - "ItsmReceiver": { - "type": "object", - "properties": { - "connectionId": { - "type": "string", - "description": "Unique identification of ITSM connection among multiple defined in above workspace." - }, - "name": { - "type": "string", - "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group." - }, - "region": { - "type": "string", - "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'" - }, - "ticketConfiguration": { - "type": "string", - "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well." - }, - "workspaceId": { - "type": "string", - "description": "OMS LA instance identifier." - } - }, - "required": [ - "connectionId", - "name", - "region", - "ticketConfiguration", - "workspaceId" - ], - "description": "An Itsm receiver." - }, - "LogicAppReceiver": { - "type": "object", - "properties": { - "callbackUrl": { - "type": "string", - "description": "The callback url where http request sent to." - }, - "name": { - "type": "string", - "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group." - }, - "resourceId": { - "type": "string", - "description": "The azure resource id of the logic app receiver." - }, - "useCommonAlertSchema": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "callbackUrl", - "name", - "resourceId" - ], - "description": "A logic app receiver." - }, - "SmsReceiver": { - "type": "object", - "properties": { - "countryCode": { - "type": "string", - "description": "The country code of the SMS receiver." - }, - "name": { - "type": "string", - "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the SMS receiver." - } - }, - "required": [ - "countryCode", - "name", - "phoneNumber" - ], - "description": "An SMS receiver." - }, - "VoiceReceiver": { - "type": "object", - "properties": { - "countryCode": { - "type": "string", - "description": "The country code of the voice receiver." - }, - "name": { - "type": "string", - "description": "The name of the voice receiver. Names must be unique across all receivers within an action group." - }, - "phoneNumber": { - "type": "string", - "description": "The phone number of the voice receiver." - } - }, - "required": [ - "countryCode", - "name", - "phoneNumber" - ], - "description": "A voice receiver." - }, - "WebhookReceiver": { - "type": "object", - "properties": { - "identifierUri": { - "type": "string", - "description": "Indicates the identifier uri for aad auth." - }, - "name": { - "type": "string", - "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group." - }, - "objectId": { - "type": "string", - "description": "Indicates the webhook app object Id for aad auth." - }, - "serviceUri": { - "type": "string", - "description": "The URI where webhooks should be sent." - }, - "tenantId": { - "type": "string", - "description": "Indicates the tenant id for aad auth." - }, - "useAadAuth": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether or not use AAD authentication." - }, - "useCommonAlertSchema": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether to use common alert schema." - } - }, - "required": [ - "name", - "serviceUri" - ], - "description": "A webhook receiver." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index dd8c336e57..e87cc549a5 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8632,9 +8632,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Insights.json#/resourceDefinitions/dataCollectionRules" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.Insights.json#/resourceDefinitions/autoscalesettings" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#/resourceDefinitions/privateLinkScopes" }, @@ -8644,12 +8641,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#/resourceDefinitions/privateLinkScopes_scopedResources" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Insights.json#/resourceDefinitions/scheduledQueryRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01/Microsoft.Insights.json#/resourceDefinitions/actionGroups" - }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" },