You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/autoscale/autoscale-multiprofile.md
+130-2Lines changed: 130 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,10 +63,138 @@ When creating multiple profiles using templates and the CLI,
63
63
64
64
#### [ARM templates](#tab/templates)
65
65
66
-
<!--- Content here -->
66
+
Follow the tules below when using tARM templates to create autoscale setting with multiple profiles:
67
+
68
+
* Create a default profile for each recurring profile.
69
+
* The default profile must contain a `recurrence` section that is the same as the recurring profile, with the `hours` and `minuted` elements set for the end time of the recurring profile.
70
+
* The `name` element for the default profile is an object with the follwoing format: `"name": "{\"name\":\"Auto created default scale condition\",\"for\":\"Recurring profile name\"}"` where the recurring profile name is the value of the `name` element for the recurring profile.
71
+
72
+
If you do not specify a default profile recurrence with a start time, the last recurrence rule will remain in effect.
73
+
74
+
These rules do not apply for a non-recurring scheduled profile.
75
+
The example below shows the JSON for recurring profile for weekends that begins at 06:00 on a Saturday and Sunday, and ends at 19:00 for the same days.
0 commit comments