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/automation/automation-runbook-authoring.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Runbook authoring using VS code in Azure Automation
3
3
description: This article provides an overview authoring runbooks in Azure Automation using the visual studio code.
4
4
services: automation
5
5
ms.subservice: process-automation
6
-
ms.date: 01/06/2023
6
+
ms.date: 01/10/2023
7
7
ms.topic: conceptual
8
8
ms.custom: devx-track-azurepowershell
9
9
---
@@ -28,7 +28,7 @@ The test matrix includes the following operating systems:
28
28
1.**Ubuntu** 20.04 with PowerShell Core 7.2.7
29
29
30
30
>[!NOTE]
31
-
>- The extension should work anywhere in VS Code and it supports [PowerShell 7.2 or higher](https://learn.microsoft.com/powershell/scripting/install/PowerShell-Support-Lifecycle?view=powershell-7.3). Currently, we support only the Windows PowerShell 5.1.
31
+
>- The extension should work anywhere in VS Code and it supports [PowerShell 7.2 or higher](https://learn.microsoft.com/powershell/scripting/install/PowerShell-Support-Lifecycle?view=powershell-7.3). For Windows PowerShell, only version 5.1 is supported.
32
32
>- PowerShell Core 6 is end-of-life and not supported.
33
33
34
34
@@ -37,7 +37,7 @@ The test matrix includes the following operating systems:
37
37
-**Simplified onboarding** – You can sign in using an Azure account in a simple and secure way.
38
38
-**Multiple languages** - Supports all Automation runtime stack such as PowerShell 5, PowerShell 7, Python 2, and Python 3 Runbooks.
39
39
-**Supportability**- Supports test execution of job, publishing Automation job and triggering job in Azure and Hybrid workers. You can execute runbooks locally.
40
-
Supports Python positional parameters and PowerShell parameters to trigger job.
40
+
-Supports Python positional parameters and PowerShell parameters to trigger job.
41
41
-**Webhooks simplified** – You can create a webhook, start a job through a webhook in simpler way. Also, support to link a schedule to a Runbook.
42
42
-**Manage Automation Assets** – You can perform create, update, and delete operation against assets including certificates, variables, credentials, and connections.
43
43
-**View properties** – You can view the properties and select Hybrid worker group to execute hybrid jobs and view the recent last 10 jobs executed.
@@ -48,14 +48,13 @@ Supports Python positional parameters and PowerShell parameters to trigger job.
48
48
49
49
-**Local directory configuration settings** - You can define the working directory that you want to save runbooks locally.
50
50
-**Change Directory:Base Path** - You use the changed directory path when you reopen Visual Studio code IDE. To change the directory using the Command Palette, use **Ctrl+Shift+P -> select Change Directory**. To change the base path from extension configuration settings, select **Manage** icon in the activity bar on the left and go to **Settings > Extensions > Azure Automation > Directory:Base Path**.
51
-
-**Change Directory:Folder Structure** - You can change the local directory folder structure from *vscodeAutomation/accHash* to *subscription/resourceGroup/automationAccount*. Select **Manage** icon in the activity bar on the left and go to **Settings > Extensions > Azure Automation > Directory:Folder Structure**.
52
-
-**Change default configuration setting** - You can change the default configuration setting from *vscodeAutomation/accHash* to *subscription/resourceGroupe/automationAccount* format.
51
+
-**Change Directory:Folder Structure** - You can change the local directory folder structure from *vscodeAutomation/accHash* to *subscription/resourceGroup/automationAccount*. Select **Manage** icon in the activity bar on the left and go to **Settings > Extensions > Azure Automation > Directory:Folder Structure**. You can change the default configuration setting from *vscodeAutomation/accHash* to *subscription/resourceGroupe/automationAccount* format.
53
52
>[!NOTE]
54
53
>If your automation account is integrated with source control you can provide the runbook folder path of your GitHub repo as the directory path. For example: changing directory to *C:\abc* would store runbooks in *C:\abc\vscodeAutomation..* or *C:\abc//subscriptionName//resourceGroupName//automationAccountName//runbookname.ps1*.
55
54
-**Runbook management operations** - You can create runbook, fetch draft runbook, fetch published runbook, open local runbook in the editor, compare local runbook with a published or draft runbook copy, upload as draft, publish runbook, and delete runbook from your Automation account.
56
55
-**Runbook execution operations** - You can run a local version of Automation jobs such as, Start Automation jobs, Start Automation test job, view job outputs and run local version of the PowerShell Runbook in debug mode by allowing you to add breakpoints in the script.
57
56
>[!NOTE]
58
-
> Currently, we support only the use of internal cmdlets like `Get-AutomationVariable`and the non-encrypted assets.
57
+
> Currently, we support the use of internal cmdlets like `Get-AutomationVariable`only with non-encrypted assets.
59
58
60
59
-**Work with schedules, assets and webhooks** - You can view the properties of a schedule, delete schedule, link schedule to link a schedule to a runbook.
61
60
-**Add webhook** - You can add a webhook to the runbook.
@@ -66,9 +65,9 @@ Supports Python positional parameters and PowerShell parameters to trigger job.
66
65
Currently, the following features aren't supported:
67
66
68
67
- Creation of new schedules.
69
-
- Adding new certificates.
68
+
- Adding new Certificates in Assets.
70
69
- Upload Modules (PowerShell and Python) packages from the extension.
71
-
- Auto-sync of local runbooks to Azure Automation account runbooks. Perform the **Fetch** or **Publish** runbook.
70
+
- Auto-sync of local runbooks to Azure Automation account. You will have to perform the operation to**Fetch** or **Publish** runbook.
72
71
- Management of Hybrid worker groups.
73
72
- Graphical runbook and workflows.
74
73
- For Python, we don't provide any debug options. We recommend that you install any debugger extension in your Python script.
Copy file name to clipboardExpand all lines: articles/automation/how-to/runbook-authoring-extension-for-vscode.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,22 @@
1
1
---
2
2
title: Azure Automation extension for Visual Studio Code
3
3
description: Learn how to use the Azure Automation extension for Visual Studio Code to author runbooks.
4
-
ms.date: 01/06/2023
4
+
ms.date: 01/10/2023
5
5
ms.topic: how-to
6
6
---
7
7
8
8
# Use Azure Automation extension for Visual Studio Code
9
9
10
-
This article explains about the Visual Studio that you can use to create and manage runbooks. You can perform all runbook management operations such as creating runbooks, editing runbook, triggering a job, tracking recent jobs outputs, linking a schedule and asset management.
10
+
This article explains about the Visual Studio that you can use to create and manage runbooks. You can perform all runbook management operations such as creating runbooks, editing runbook, triggering a job, tracking recent jobs outputs, linking a schedule, asset management and local debugging.
11
11
12
12
13
13
## Prerequisites
14
14
15
15
The following items are required for completing the steps in this article:
16
16
17
17
- An Azure subscription. If you don't have an Azure subscription, create a
18
-
[free account](https://azure.microsoft.com/free/) before you begin [Visual Studio Code](https://code.visualstudio.com).
18
+
[free account](https://azure.microsoft.com/free/)
19
+
-[Visual Studio Code](https://code.visualstudio.com).
19
20
- PowerShell modules and Python packages used by runbook must be locally installed on the machine to run the runbook locally.
20
21
21
22
## Install and configure the Azure Automation extension
@@ -31,7 +32,7 @@ following these steps:
31
32
32
33
## Using the Azure Automation extension
33
34
34
-
The extension simplifies the process of editing runbooks. You can now test them locally without logging into the Azure portal. The various actions that you can perform are listed below:
35
+
The extension simplifies the process of creating and editing runbooks. You can now test them locally without logging into the Azure portal. The various actions that you can perform are listed below:
0 commit comments