Skip to content

Commit 17cc4b2

Browse files
committed
minor edits
1 parent 557805b commit 17cc4b2

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

articles/automation/manage-runbooks.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,8 @@ If your runbook normally runs within a time constraint, have the script implemen
218218
219219
## Retry logic in runbook to avoid transient failures
220220

221-
As part of the core logic, most runbooks make calls to the remote systems. For example, the calls are to:
222-
- Azure via ARM
223-
- Azure Resource Graph
224-
- Other web services
225-
- SQL Services
226-
227-
When the system (that the runbooks are calling) is busy, temporary unavailable or implementing throttling under load, the calls are vulnerable to have runtime errors. To build resiliency in the runbooks, you must implement the retry logic when making the calls so that the runbooks can handle a transient problem without failing.
221+
Runbooks often make calls to remote systems such as Azure via ARM, Azure Resource Graph, SQL services and other web services.
222+
When the system that the runbooks are calling is busy, temporary unavailable or implementing throttling under load, the calls are vulnerable to have runtime errors. To build resiliency in the runbooks, you must implement retry logic when making the calls so that the runbooks can handle a transient problem without failing.
228223

229224
For more information, refer [Retry pattern](https://learn.microsoft.com/azure/architecture/patterns/retry) and [General REST and retry guidelines](https://learn.microsoft.com/azure/architecture/best-practices/retry-service-specific#general-rest-and-retry-guidelines).
230225

@@ -272,7 +267,7 @@ $resource = Get-AzureRmResource -ResourceType "Microsoft.Search/searchServices"
272267
273268
### Example 2 : If the runbook is making frequent remote calls
274269

275-
If the runbook is making frequent remote calls that it could experience transient runtime issues, then create a function that implements the logic for each call that is made and pass the call to be made in as a script block to execute.
270+
If the runbook is making frequent remote calls then it could experience transient runtime issues. Create a function that implements the retry logic for each call that is made and pass the call to be made in as a script block to execute.
276271

277272
```powershell
278273
Function ResilientRemoteCall {

0 commit comments

Comments
 (0)