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
+59-2Lines changed: 59 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.reviewer: akkumari
17
17
18
18
Scaling your resources for a particular day of the week, or a specific date and time can reduce costs while still providing the capacity you need when you need it.
19
19
20
-
Use multiple profiles in autoscale to scale in different ways at different times. If for example, your business isn't active on the weekend, create a recurring profile to scale back your resources on Saturdays and Sundays.
20
+
Use multiple profiles in autoscale to scale in different ways at different times. If for example, your business isn't active on the weekend, create a recurring profile to scale in your resources on Saturdays and Sundays. If black Friday is a busy day, create a profile to automatically scale out your resources on black Friday.
21
21
22
22
This article explains the different profiles in autoscale and how to use them.
23
23
@@ -323,7 +323,7 @@ where `VMSS1-autoscale.json` is the the file containing the JSON object below.
323
323
324
324
## [CLI](#tab/cli)
325
325
326
-
The CLI can be used to create addition profiles in your autoscale settings.
326
+
The CLI can be used to create multiple profiles in your autoscale settings.
327
327
328
328
The following steps show how to create an autoscale profile using the CLI.
329
329
1. Create the profile using `az monitor autoscale profile create`. Specify the `--start` and `--end` time and the `--recurrence`
> Each recurring profile must have a corresponding default profile.
402
+
> The `-Name` parameter of the default profile is is an object in the format: `'{"name":"Default scale condition","for":"recurring profile"}'` where *recurring profile* is the profile name from the `New-AzAutoscaleProfile` command for the recurring profile.
403
+
> The default profile also has a recurrence parameters as the recurring profile but it starts at the time you want the recurring profile to end.
404
+
> A distinct default profile is created for each recurring profile.
405
+
406
+
## Updating the default profile when you have recurring profiles
407
+
408
+
If you have multiple recurring profiles and want to change your default profile, the change must be made to each default profile corresponding to a recurring profile.
409
+
410
+
For example, if you have two recurring profiles called *SundayProfile* and *ThursdayProfile*, you need two `New-AzAutoscaleProfile` commands to change to the default profile.
0 commit comments