diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json index 5641244c5c51..4029ceb5d841 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json @@ -453,6 +453,10 @@ "$ref": "#/definitions/ScaleRuleMetricDimension" }, "description": "List of dimension conditions. For example: [{\"DimensionName\":\"AppName\",\"Operator\":\"Equals\",\"Values\":[\"App1\"]},{\"DimensionName\":\"Deployment\",\"Operator\":\"Equals\",\"Values\":[\"default\"]}]." + }, + "dividePerInstance": { + "type": "boolean", + "description": "a value indicating whether metric should divide per instance." } }, "description": "The trigger that results in a scaling action." diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json index 4a429d060c9f..b2986cba1e4f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json @@ -26,7 +26,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -44,7 +45,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -77,7 +79,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -95,7 +98,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -176,7 +180,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -194,7 +199,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -227,7 +233,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -245,7 +252,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -326,7 +334,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -344,7 +353,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -377,7 +387,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -395,7 +406,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json index 940fb7184382..fd1593a3f637 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json @@ -35,7 +35,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -53,7 +54,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -86,7 +88,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -104,7 +107,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json index 70ba238c9364..c5902cd536b9 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json @@ -36,7 +36,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -54,7 +55,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -87,7 +89,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -105,7 +108,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json index dddfc3df50e1..06a7b1f00ebe 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json @@ -35,7 +35,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -53,7 +54,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -86,7 +88,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -104,7 +107,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json index 3c80bd7a509f..bee8692a13dc 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json @@ -27,7 +27,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -45,7 +46,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -78,7 +80,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -96,7 +99,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -177,7 +181,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -195,7 +200,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease", @@ -228,7 +234,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 10.0 + "threshold": 10.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Increase", @@ -246,7 +253,8 @@ "timeWindow": "PT5M", "timeAggregation": "Average", "operator": "GreaterThan", - "threshold": 15.0 + "threshold": 15.0, + "dividePerInstance": false }, "scaleAction": { "direction": "Decrease",