Skip to content

Commit b2709aa

Browse files
Content update
1 parent c3a80e4 commit b2709aa

File tree

2 files changed

+13
-20
lines changed

2 files changed

+13
-20
lines changed

articles/automation/manage-runtime-environment.md

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Manage Runtime Environment and Associated Runbooks in Azure Automation
33
description: This article tells how to manage runbooks in Runtime environment and associated runbooks Azure Automation
44
services: automation
55
ms.subservice: process-automation
6-
ms.date: 06/27/2025
6+
ms.date: 07/09/2025
77
ms.topic: how-to
88
ms.custom: references_regions
99
ms.service: azure-automation
@@ -95,7 +95,7 @@ In the **Runtime Environments** page, you can view the newly created Runtime en
9595

9696
You can create a new Runtime environment for PowerShell 7.4 with Az PowerShell module in the Automation.
9797

98-
```rest
98+
```REST
9999
PUT
100100
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runtimeEnvironments/<runtimeEnvironmentName>?api-version=2024-10-23
101101
@@ -114,7 +114,7 @@ https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<reso
114114
```
115115
Upload a package Az.Accounts to the Runtime environment.
116116

117-
```rest
117+
```REST
118118
PUT
119119
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runtimeEnvironments/<runtimeEnvironmentName>/packages/Az.Accounts?api-version=2024-10-23
120120
@@ -131,17 +131,9 @@ https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<reso
131131
### View Runtime environment
132132

133133
Get the Runtime environment properties from the Automation account.
134-
```rest
134+
```REST
135135
GET
136-
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runtimeEnvironments/<runtimeEnvironmentName>?api-version=2023-05-15-preview
137-
```
138-
139-
### View Runtime environment
140-
141-
Get the Runtime environment properties from the Automation account.
142-
```rest
143-
GET
144-
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runtimeEnvironments/<runtimeEnvironmentName>?api-version=2023-05-15-preview
136+
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runtimeEnvironments/<runtimeEnvironmentName>?api-version=2024-10-23
145137
```
146138

147139
### List Runtime environments
@@ -156,7 +148,7 @@ To list all the Runtime environments from the Automation account, follow this st
156148

157149
#### [REST API](#tab/list-runtime-rest)
158150

159-
```rest
151+
```REST
160152
GET
161153
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runtimeEnvironments?api-version=2024-10-23
162154
```
@@ -185,7 +177,7 @@ To delete the Runtime environment from the Automation account, follow these step
185177

186178
#### [REST API](#tab/delete-runtime-rest)
187179

188-
```rest
180+
```REST
189181
DELETE
190182
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runtimeEnvironments/<runtimeEnvironmentName>?api-version=2024-10-23
191183
```
@@ -215,7 +207,7 @@ To update a Runtime environment, follow these steps:
215207

216208
Update the Az module version of an existing Runtime environment.
217209

218-
```rest
210+
```REST
219211
PATCH
220212
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runtimeEnvironments/<runtimeEnvironmentName>?api-version=2024-10-23
221213
{
@@ -269,7 +261,7 @@ This runbook is linked to the selected Runtime environment. All the packages in
269261
**Prerequisite**
270262
- Configure a PowerShell Runtime environment and provide it as an input for runbook creation.
271263

272-
```rest
264+
```REST
273265
PUT
274266
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runbooks/<runbookName>?api-version=2024-10-23
275267
@@ -316,7 +308,7 @@ Check if the runbook executes as expected after update. If the runbook fails to
316308

317309
Update Runtime environment linked to a runbook.
318310

319-
```rest
311+
```REST
320312
PATCH
321313
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runbooks/<runbookName>?api-version=2024-10-23
322314
{
@@ -357,7 +349,7 @@ To test runbook execution before publishing Runtime environment changes, follow
357349

358350
Run a test job for a runbook with a different Runtime environment. This scenario is useful when a runbook needs to be tested with a Runtime environment before update.
359351

360-
```rest
352+
```REST
361353
PUT
362354
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/runbooks/<runbookName>/draft/testJob?api-version=2024-10-23
363355
{
@@ -378,7 +370,7 @@ You can execute runbooks linked to Runtime Environment both on Azure and Hybrid
378370
#### [REST API](#tab/create-cloud-job-rest)
379371
Jobs inherit the Runtime environment from the runbook. Run a cloud job for a published runbook.
380372

381-
```rest
373+
```REST
382374
PUT
383375
https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.Automation/automationAccounts/<accountName>/jobs/<jobName>?api-version=2024-10-23
384376
{

articles/automation/runtime-environment-overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ You can't edit these Runtime environments. However, any changes that are made in
8484
- Runtime environment can't be configured through Azure Automation extension for Visual Studio Code.
8585
- Deleted Runtime environments cannot be recovered.
8686
- This feature is currently supported through Azure portal and [REST API](/rest/api/automation/runtime-environments?view=rest-automation-2024-10-23&preserve-view=true).
87+
- Use [Packages: REST API](/rest/api/automation/package?view=rest-automation-2024-10-23) to upload custom packages.
8788
- Management of modules for Azure Automation State Configuration is not supported through Runtime environment experience. You can continue using the old experience for managing modules and packages for Azure Automation State Configuration.
8889

8990
## Switch between new and old experience

0 commit comments

Comments
 (0)