Skip to content

Commit 9ae616c

Browse files
authored
Pattts/predictive autoscale 20221001 (#19765)
* Rev Autoscale API from 2021-05-01-preview to 2022-10-01. * Fix minor swagger issue. Default should be 'false' * Fix swagger validation error * Defining a new package 2022-10 * AutoscaleSettingResource now reference allOf 'resource' which is the actual autoscaleSetting resource definition * Fix require property issue * Run prettier against autoscale_API.json
1 parent 3ef4bf9 commit 9ae616c

File tree

13 files changed

+2500
-9
lines changed

13 files changed

+2500
-9
lines changed

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/autoscale_API.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,8 @@
800800
},
801801
"enabled": {
802802
"type": "boolean",
803-
"description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'.",
804-
"default": true
803+
"description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.",
804+
"default": false
805805
},
806806
"predictiveAutoscalePolicy": {
807807
"$ref": "#/definitions/PredictiveAutoscalePolicy",

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/deleteAutoscaleSetting.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
44
"resourceGroupName": "TestingMetricsScaleSet",
55
"autoscaleSettingName": "MySetting",
6-
"api-version": "2021-05-01-prevew"
6+
"api-version": "2021-05-01-preview"
77
},
88
"responses": {
99
"200": {},

specification/monitor/resource-manager/Microsoft.Insights/stable/2014-04-01/autoscale_API.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,8 +745,8 @@
745745
},
746746
"enabled": {
747747
"type": "boolean",
748-
"description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'.",
749-
"default": true
748+
"description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.",
749+
"default": false
750750
},
751751
"name": {
752752
"type": "string",

specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,8 @@
758758
},
759759
"enabled": {
760760
"type": "boolean",
761-
"description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'.",
762-
"default": true
761+
"description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'.",
762+
"default": false
763763
},
764764
"name": {
765765
"type": "string",

0 commit comments

Comments
 (0)