Skip to content

Commit 23443fc

Browse files
Merge pull request #111009 from spelluru/dtlactivitylog0410
activity log
2 parents f839380 + 26402a3 commit 23443fc

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

articles/lab-services/devtest-lab-auto-shutdown.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.workload: na
1313
ms.tgt_pltfrm: na
1414
ms.devlang: na
1515
ms.topic: article
16-
ms.date: 01/17/2020
16+
ms.date: 04/10/2020
1717
ms.author: spelluru
1818

1919
---
@@ -25,7 +25,7 @@ This article explains how to configure autoshutdown settings for lab VMs in DevT
2525
## Configure autoshutdown for lab VMs (DevTest Labs)
2626
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).
2727

28-
### Set auto shut down policy for a lab
28+
### Set auto shutdown policy for a lab
2929
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:
3030

3131
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
188188

189189
## Configure autoshutdown for compute VMs
190190

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.
192192
2. On the **Auto-shutdown** page, select **On** to enable this policy, and **Off** to disable it.
193193
3. If you enable this policy, specify the **time** (and **time zone**) at which the VM should be shut down.
194194
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.
195195
9. Select **Save**.
196196

197197
![Configure autoshutdown for a compute VM](./media/devtest-lab-auto-shutdown/comnpute-auto-shutdown.png)
198198

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.
201+
202+
![Activity log entry](./media/devtest-lab-auto-shutdown/activity-log-entry.png)
203+
204+
When you select the **Add or modify schedules** operation, you see the following information on the **Summary** page:
205+
206+
- Operation name (Add or modify schedules)
207+
- The date and time at which the autoshutdown setting was updated.
208+
- The email address of the user who updated the setting.
209+
210+
![Activity log entry summary](./media/devtest-lab-auto-shutdown/activity-log-entry-summary.png)
211+
212+
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.
213+
214+
![Activity log - change history](./media/devtest-lab-auto-shutdown/activity-log-entry-change-history.png)
215+
216+
To see more details about the operation, switch to the **JSON** tab in the **Add or modify schedules** page.
217+
199218
## Next steps
200219
To learn how to set all policies, see [Define lab policies in Azure DevTest Labs](devtest-lab-set-lab-policy.md).
201220

81.3 KB
Loading
43.8 KB
Loading
60.7 KB
Loading

0 commit comments

Comments
 (0)