From 0e0a2f7823151aef5bdce2d7c512e67d019f5678 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 28 Jul 2022 11:23:32 +0000 Subject: [PATCH] CodeGen from PR 19944 in Azure/azure-rest-api-specs introduce a composite tag for monitor (#19944) * introduce a composite tag for monitor * add a preview tag * change it to be newer --- schemas/2014-04-01/Microsoft.Insights.json | 4 +- schemas/2015-04-01/Microsoft.Insights.json | 4 +- .../Microsoft.Insights.json | 4 +- schemas/2022-10-01/Microsoft.Insights.json | 761 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 5 files changed, 770 insertions(+), 6 deletions(-) create mode 100644 schemas/2022-10-01/Microsoft.Insights.json diff --git a/schemas/2014-04-01/Microsoft.Insights.json b/schemas/2014-04-01/Microsoft.Insights.json index 9ed5837ac4..1714e93e28 100644 --- a/schemas/2014-04-01/Microsoft.Insights.json +++ b/schemas/2014-04-01/Microsoft.Insights.json @@ -311,13 +311,13 @@ "oneOf": [ { "type": "boolean", - "default": true + "default": false }, { "$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'." + "description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'." }, "name": { "type": "string", diff --git a/schemas/2015-04-01/Microsoft.Insights.json b/schemas/2015-04-01/Microsoft.Insights.json index 9e4d34c4ff..6ddfd9bdda 100644 --- a/schemas/2015-04-01/Microsoft.Insights.json +++ b/schemas/2015-04-01/Microsoft.Insights.json @@ -182,13 +182,13 @@ "oneOf": [ { "type": "boolean", - "default": true + "default": false }, { "$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'." + "description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'." }, "name": { "type": "string", diff --git a/schemas/2021-05-01-preview/Microsoft.Insights.json b/schemas/2021-05-01-preview/Microsoft.Insights.json index 61375294c7..9c66270966 100644 --- a/schemas/2021-05-01-preview/Microsoft.Insights.json +++ b/schemas/2021-05-01-preview/Microsoft.Insights.json @@ -305,13 +305,13 @@ "oneOf": [ { "type": "boolean", - "default": true + "default": false }, { "$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'." + "description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'." }, "name": { "type": "string", diff --git a/schemas/2022-10-01/Microsoft.Insights.json b/schemas/2022-10-01/Microsoft.Insights.json new file mode 100644 index 0000000000..d83270b769 --- /dev/null +++ b/schemas/2022-10-01/Microsoft.Insights.json @@ -0,0 +1,761 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.Insights.json#", + "$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": [ + "2022-10-01" + ] + }, + "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" + } + }, + "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": false + }, + { + "$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 'false'." + }, + "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." + }, + "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." + }, + "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." + }, + "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." + }, + "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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 24dd0993f7..2f349383dc 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -10408,6 +10408,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Insights.json#/resourceDefinitions/actionGroups" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.Insights.json#/resourceDefinitions/autoscalesettings" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" },