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/lab-services/devtest-lab-auto-shutdown.md
+22-3Lines changed: 22 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.workload: na
13
13
ms.tgt_pltfrm: na
14
14
ms.devlang: na
15
15
ms.topic: article
16
-
ms.date: 01/17/2020
16
+
ms.date: 04/10/2020
17
17
ms.author: spelluru
18
18
19
19
---
@@ -25,7 +25,7 @@ This article explains how to configure autoshutdown settings for lab VMs in DevT
25
25
## Configure autoshutdown for lab VMs (DevTest Labs)
26
26
Azure DevTest Labs enables you to control cost and minimize waste in your labs by managing policies (settings) for each lab. This article shows you how to configure autoshutdown policy for a lab account and configure autoshutdown settings for a lab in the lab account. To view how to set every lab policy, see [Define lab policies in Azure DevTest Labs](devtest-lab-set-lab-policy.md).
27
27
28
-
### Set auto shut down policy for a lab
28
+
### Set auto shutdown policy for a lab
29
29
As a lab owner, you can configure a shutdown schedule for all the VMs in your lab. By doing so, you can save costs from running machines that aren't being used (idle). You can enforce a shutdown policy on all your lab VMs centrally but also save your lab users the effort from setting up a schedule for their individual machines. This feature enables you to set the policy on your lab schedule starting from offering no control to full control, to your lab users. As a lab owner, you can configure this policy by taking the following steps:
30
30
31
31
1. On the home page for your lab, select **Configuration and policies**.
@@ -188,14 +188,33 @@ To get started, create a logic app in your Azure subscription by using the follo
188
188
189
189
## Configure autoshutdown for compute VMs
190
190
191
-
1. On the **Virtual machine** page, select **Auto-shutdown** on the left menu.
191
+
1. On the **Virtual machine** page, select **Auto-shutdown** on the left menu in the **Operations** section.
192
192
2. On the **Auto-shutdown** page, select **On** to enable this policy, and **Off** to disable it.
193
193
3. If you enable this policy, specify the **time** (and **time zone**) at which the VM should be shut down.
194
194
4. Specify **Yes** or **No** for the option to send a notification 30 minutes prior to the specified autoshutdown time. If you choose **Yes**, enter a webhook URL endpoint or email address specifying where you want the notification to be posted or sent. The user receives notification and is given the option to delay the shutdown. For more information, see the [Notifications](#notifications) section.
195
195
9. Select **Save**.
196
196
197
197

198
198
199
+
### Activity log
200
+
When you update the autoshutdown setting, you will see the **Add or modify schedules** operation in the activity log. If you don't see it, remove **Resource: mycomputevm** from the filters. If you still don't see it, wait for sometime and refresh the activity log.
Switch to the **Change history** tab in the **Add or modify schedules** page, you see the change history for the setting. In the following example, the shutdown time was changed from 7 PM to 6 PM on April 10, 2020 at 15:18:47 EST. And, the setting was disabled at 15:25:09 EST.
0 commit comments