Skip to content

Commit 9364386

Browse files
committed
review changes
1 parent b592f04 commit 9364386

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

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

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
11
---
2-
title: Manage autoshutdown in Azure DevTest Labs and virtual machines
3-
description: Learn how to set autoshutdown policies for Azure DevTest Labs or for individual virtual machines (VMs) to shut down the VMs at a specific time daily.
2+
title: Configure auto shutdown policy for labs and virutal machines
3+
description: Learn how to set auto shutdown schedules and policies for Azure DevTest Labs or for individual virtual machines (VMs) to shut down the VMs at a specific time daily.
44
ms.topic: how-to
55
ms.date: 11/01/2021
66
---
77

8-
# Configure autoshutdown for labs and VMs in DevTest Labs
8+
# Configure auto shutdown for labs and VMs in DevTest Labs
99

1010
As an Azure DevTest Labs lab owner, you can configure a schedule to shut down all the virtual machines (VMs) in your lab at a specific time of day or night. You save the cost of running machines that aren't being used.
1111

12-
You can also set a central autoshutdown policy to control whether lab users can schedule autoshutdown for their own individual VMs. Autoshutdown policies range from allowing VM owners to fully control their VM's shutdown schedules to allowing them no control over the schedules.
12+
You can also set a central auto shutdown policy to control whether lab users can schedule auto shutdown for their own individual VMs. Auto shutdown policies range from allowing VM owners to fully control their VM's shutdown schedules to allowing them no control over the schedules.
1313

14-
This article explains how to set autoshutdown schedules for DevTest Labs labs and for individual lab VMs. The article also describes how to set lab autoshutdown policy, and how to configure autoshutdown notifications.
14+
This article explains how to set auto shutdown schedules for DevTest Labs labs and for individual lab VMs. The article also describes how to set lab auto shutdown policy, and how to configure auto shutdown notifications.
1515

16-
## Configure lab autoshutdown schedule
16+
## Configure lab auto shutdown schedule
1717

18-
Autoshutdown helps minimize lab waste by shutting down all of a lab's VMs at a specific time of day or night. To view or change a lab's autoshutdown schedule, follow these steps:
18+
auto shutdown helps minimize lab waste by shutting down all of a lab's VMs at a specific time of day or night. To view or change a lab's auto shutdown schedule, follow these steps:
1919

2020
1. On the home page for your lab, select **Configuration and policies**.
2121
1. In the **Schedules** section of the left menu, select **Auto-shutdown**.
22-
1. On the **Auto-shutdown** screen, for **Enabled**, select **On** to enable autoshutdown, or **Off** to disable it.
23-
1. For **Scheduled shutdown** and **Time zone**, if you turned on autoshutdown, specify the time and time zone to shut down all lab VMs.
24-
1. For **Send notification before auto-shutdown?**, select **Yes** or **No** for the option to send a notification 30 minutes before the specified autoshutdown time. If you choose **Yes**, enter a webhook URL endpoint under **Webhook URL** or semicolon-separated email addresses under **Email address** where you want the notification to post or be sent. For more information, see the [Autoshutdown notifications](#autoshutdown-notifications) section.
22+
1. On the **Auto-shutdown** screen, for **Enabled**, select **On** to enable auto shutdown, or **Off** to disable it.
23+
1. For **Scheduled shutdown** and **Time zone**, if you turned on auto shutdown, specify the time and time zone to shut down all lab VMs.
24+
1. For **Send notification before auto-shutdown?**, select **Yes** or **No** for the option to send a notification 30 minutes before the specified auto shutdown time. If you choose **Yes**, enter a webhook URL endpoint under **Webhook URL** or semicolon-separated email addresses under **Email address** where you want the notification to post or be sent. For more information, see the [auto shutdown notifications](#auto-shutdown-notifications) section.
2525
1. Select **Save**.
2626

27-
![Screenshot that shows setting autoshutdown details for a lab.](media/devtest-lab-auto-shutdown/auto-shutdown.png)
27+
![Screenshot that shows setting auto shutdown details for a lab.](media/devtest-lab-auto-shutdown/auto-shutdown.png)
2828

2929
By default, this schedule applies to all VMs in the lab. To remove this setting from a specific VM, if allowed by policy, open the VM's management pane and change its **Auto-shutdown** setting.
3030

3131
> [!NOTE]
32-
> If you update the autoshutdown schedule for your lab or a VM within 30 minutes of the previously scheduled shutdown time, the new shutdown time takes effect the next day.
32+
> If you update the auto shutdown schedule for your lab or a VM within 30 minutes of the previously scheduled shutdown time, the new shutdown time takes effect the next day.
3333
34-
## Configure lab autoshutdown policy
34+
## Configure lab auto shutdown policy
3535

36-
As a lab owner, you can control cost and minimize waste in your labs by managing autoshutdown policy settings for your lab. To see how to set all lab policies, see [Define lab policies in Azure DevTest Labs](devtest-lab-set-lab-policy.md).
36+
As a lab owner, you can control cost and minimize waste in your labs by managing auto shutdown policy settings for your lab. To see how to set all lab policies, see [Define lab policies in Azure DevTest Labs](devtest-lab-set-lab-policy.md).
3737

3838
> [!IMPORTANT]
39-
> Autoshutdown policy changes apply only to new VMs created in the lab, not to the already existing VMs.
39+
> auto shutdown policy changes apply only to new VMs created in the lab, not to the already existing VMs.
4040
4141
1. On the home page for your lab, select **Configuration and policies**.
4242

4343
1. In the **Schedules** section of the left menu, select **Auto shutdown policy**.
4444

4545
1. Select one of the options.
4646

47-
![Screenshot that shows autoshutdown policy options.](./media/devtest-lab-auto-shutdown/policy-options.png)
47+
![Screenshot that shows auto shutdown policy options.](./media/devtest-lab-auto-shutdown/policy-options.png)
4848

49-
- **User sets a schedule and can opt out**: Lab users can override or opt out of the lab schedule. This option grants VM owners full control to set their VMs' autoshutdown schedules.
49+
- **User sets a schedule and can opt out**: Lab users can override or opt out of the lab schedule. This option grants VM owners full control to set their VMs' auto shutdown schedules.
5050

51-
- **User sets a schedule and cannot opt out**: Lab users can override the lab schedule, but they can't opt out of the autoshutdown policy. This option ensures that every lab VM is under an autoshutdown schedule. VM owners can update the schedule time, and set up shutdown notifications.
51+
- **User sets a schedule and cannot opt out**: Lab users can override the lab schedule, but they can't opt out of the auto shutdown policy. This option ensures that every lab VM is under an auto shutdown schedule. VM owners can update the schedule time, and set up shutdown notifications.
5252

53-
- **User has no control over the schedule set by lab administrator**: Lab users can't alter or opt out of the lab autoshutdown schedule. This option gives the lab administrator complete control of the schedule for all lab VMs. VM owners can still set up autoshutdown notifications for their VMs.
53+
- **User has no control over the schedule set by lab administrator**: Lab users can't alter or opt out of the lab auto shutdown schedule. This option gives the lab administrator complete control of the schedule for all lab VMs. VM owners can still set up auto shutdown notifications for their VMs.
5454

5555
1. Select **Save**.
5656

57-
## Configure VM autoshutdown settings
57+
## Configure VM auto shutdown settings
5858

59-
Depending on the autoshutdown policy, you can also set an autoshutdown schedule for individual lab VMs.
59+
Depending on the auto shutdown policy, you can also set an auto shutdown schedule for individual lab VMs.
6060

6161
1. On the home page for the VM, in the **Operations** section on the left menu, select **Auto-shutdown**.
62-
1. On the **Auto-shutdown** screen, for **Enabled**, select **On** to enable autoshutdown, or **Off** to disable it.
63-
1. For **Scheduled shutdown** and **Time zone**, if you turned on autoshutdown, specify the time and time zone to shut down all lab VMs.
64-
1. For **Send notification before auto-shutdown?**, select **Yes** or **No** for the option to send a notification 30 minutes before the specified autoshutdown time. If you choose **Yes**, enter a webhook URL endpoint under **Webhook URL** or an email address under **Email address** where you want the notification to post or be sent. For more information, see the [Autoshutdown notifications](#autoshutdown-notifications) section.
62+
1. On the **Auto-shutdown** screen, for **Enabled**, select **On** to enable auto shutdown, or **Off** to disable it.
63+
1. For **Scheduled shutdown** and **Time zone**, if you turned on auto shutdown, specify the time and time zone to shut down all lab VMs.
64+
1. For **Send notification before auto-shutdown?**, select **Yes** or **No** for the option to send a notification 30 minutes before the specified auto shutdown time. If you choose **Yes**, enter a webhook URL endpoint under **Webhook URL** or an email address under **Email address** where you want the notification to post or be sent. For more information, see the [auto shutdown notifications](#auto-shutdown-notifications) section.
6565
1. Select **Save**.
6666

67-
![Screenshot that shows setting autoshutdown details for a V M.](media/devtest-lab-auto-shutdown/compute-auto-shutdown.png)
67+
![Screenshot that shows setting auto shutdown details for a V M.](media/devtest-lab-auto-shutdown/compute-auto-shutdown.png)
6868

69-
### View activity logs for autoshutdown updates
69+
### View activity logs for auto shutdown updates
7070

71-
After you update autoshutdown settings, you can see the activity logged in the activity log for the VM.
71+
After you update auto shutdown settings, you can see the activity logged in the activity log for the VM.
7272

7373
1. On the home page for the VM, select **Activity log** from the left menu.
7474
1. Remove the **Resource** filter, apply the appropriate **Resource group** filter, and view the entries for **Add or modify schedules**.
@@ -77,21 +77,21 @@ After you update autoshutdown settings, you can see the activity logged in the a
7777

7878
1. Select the **Add or modify schedules** operation to open a summary page that shows more details about the operation.
7979

80-
## Autoshutdown notifications
80+
## Auto shutdown notifications
8181

82-
When you enable notifications in autoshutdown configuration, lab users receive a notification 30 minutes before autoshutdown if any of their VMs will be affected. The notification gives users a chance to save their work before the shutdown. If the autoshutdown settings specify an email address, the notification sends to that email address. If the settings specify a webhook, the notification sends to the webhook URL.
82+
When you enable notifications in auto shutdown configuration, lab users receive a notification 30 minutes before auto shutdown if any of their VMs will be affected. The notification gives users a chance to save their work before the shutdown. If the auto shutdown settings specify an email address, the notification sends to that email address. If the settings specify a webhook, the notification sends to the webhook URL.
8383

8484
The notification can also provide links that allow the following actions for each VM if someone needs to keep working:
8585

86-
- Skip the autoshutdown this time.
87-
- Snooze the autoshutdown for an hour.
88-
- Snooze the autoshutdown for 2 hours.
86+
- Skip the auto shutdown this time.
87+
- Snooze the auto shutdown for an hour.
88+
- Snooze the auto shutdown for 2 hours.
8989

9090
You can use webhooks to implement your own notifications. You set up integrations that subscribe to certain events. When one of those events happens, an HTTP POST payload sends to the webhook's URL.
9191

9292
Apps like [Azure Logic Apps](../logic-apps/logic-apps-overview.md) and Slack have extensive support for webhooks. For more information about responding to webhooks, see [Azure Functions HTTP triggers and bindings overview](../azure-functions/functions-bindings-http-webhook.md) and [Add an HTTP trigger for Azure Logic Apps](../connectors/connectors-native-http.md#add-an-http-trigger).
9393

94-
The following example shows you how to use Logic Apps to configure an autoshutdown notification that sends an email to VM owners.
94+
The following example shows you how to use Logic Apps to configure an auto shutdown notification that sends an email to VM owners.
9595

9696
### Create a logic app that sends email notifications
9797

@@ -100,7 +100,7 @@ Logic Apps provides many connectors that make it easy to integrate a service wit
100100
1. Create a logic app.
101101
1. Configure the built-in template.
102102
1. Integrate with your email client.
103-
1. Get the Webhook URL to use in autoshutdown notification settings.
103+
1. Get the Webhook URL to use in auto shutdown notification settings.
104104

105105
To get started, create a logic app in Azure with the following steps:
106106

@@ -220,7 +220,7 @@ Now, integrate with your email client.
220220

221221
1. Select **Save** on the toolbar.
222222

223-
Now you can copy the webhook URL. Select the **When a HTTP request is received** step, and then select the copy button to copy the HTTP POST URL to the clipboard. Paste this webhook URL into the autoshutdown notification settings.
223+
Now you can copy the webhook URL. Select the **When a HTTP request is received** step, and then select the copy button to copy the HTTP POST URL to the clipboard. Paste this webhook URL into the auto shutdown notification settings.
224224

225225
![Screenshot that shows copying the webhook URL.](media/devtest-lab-auto-shutdown/webhook-url.png)
226226

0 commit comments

Comments
 (0)